stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 668 forks source link

Stacks signer: Track bitcoin block timing to allow for a miner to extend #4843

Open kantai opened 5 months ago

kantai commented 5 months ago

If a bitcoin block takes a sufficiently long time to mine, nakamoto miners should be allowed to create a TenureExtend transaction. Signers can then check if this allowed via their own tracking.

kantai commented 5 months ago

Note: this isn't strictly a 3.0-must. This is a non-consensus-changing feature that would improve performance only in situations where bitcoin blocks last longer than 10 minutes.