You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the updates to Nakomoto's block selection (#3892):
Nakamoto Stacks blocks will have a different wire format than Stacks blocks and microblocks today. In particular, the header will contain:
A version number
The length of the chain as of this tip
The total BTC spent producing this tip
The StacksBlockId of the parent Stacks block
The Bitcoin block hash of the Bitcoin block that triggered the start of the tenure in which they were mined
A recoverable ECDSA signature from the tenure’s miner
The root of a SHA512/256 Merkle tree constructed over all of its contained transactions
The SHA512/256 root hash of the MARF once all of the contained transactions are processed
As before, the Stacks blockchain will continue to calculate a consensus hash for each sortition. The StacksBlockId of a Stacks block would simply be the SHA512/256 of the block’s associated sortition’s consensus hash and the hash of the block header.
Absent from this header is the VRF proof. Instead, this information will be put into the Nakamoto Coinbase transaction.
NakamotoStacksBlockHeader should contain:
The NakamotoStacksBlock will be struct containing the block header and
a Vec of the transactions (similar to the existing
StacksBlock
struct).The text was updated successfully, but these errors were encountered: