stacks-network / stacks-core

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

feat: include lockup events in nakamoto blocks without coinbase #5460

Closed hstove closed 3 days ago

hstove commented 1 week ago

When a block has unlock events, but the block doesn't have a coinbase TX, a "phantom" transaction will be included in the transaction receipts emitted to the event dispatcher. This doesn't (shouldn't) effect the node's chainstate, so no hard fork is required.

The "phantom" transaction mimicks the transaction used in the genesis block to allocate STX to accounts.

hstove commented 3 days ago

We've decided to close this, because the vesting is nearly completed, and there's practically no ability to get this shipped before the vesting finishes anyways.