-
Notifications
You must be signed in to change notification settings - Fork 751
Nakamoto: Add timestamp to block headers #4541
Copy link
Copy link
Closed
Description
In Stacks 2.x, Stacks blocks do not have a timestamp. This is okay because they correspond directly with bitcoin blocks, so they can be thought of as occurring at the associated bitcoin block's timestamp. In Nakamoto, this is no longer the case, so we should add a timestamp field to the Stacks block. This timestamp's relative accuracy can even be checked by signers.
My proposal is to understand timestamps as:
- A positive value greater than the block's associated burn block (i.e., the timestamp must be greater than the timestamp of the burn block whose consensus_hash = block.consensus_hash).
- Increasing between a tenure's blocks: a given miner should never build a block B off of block A with a smaller timestamp.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Status: ✅ Done