Bitcoin Stack Change is a query and reply web site for Bitcoin crypto-currency fanatics. It solely takes a minute to enroll.
Anyone can ask a query
Anyone can reply
The very best solutions are voted up and rise to the highest
Requested
Seen
47 occasions
Within the context of the Drivechain proposal, for UTXOs in miner-controlled escrows to be spent, they need to be voted on by every block over numerous blocks, proper?
Now, how are these votes made and the place are they computed? I feel the votes are in some way written within the block coinbase, however how precisely? It isn’t like there’s a lot house there. After which every full node has to maintain a desk of what transaction has what number of votes and confirm towards that each time a transaction is included within the block?
The votes are revealed on the block coinbase. This may be performed in a number of methods, some extra environment friendly than others. The BIP-300 specification proposes a manner that’s considerably advanced however tries to be environment friendly.
The precise present rely at any level — i.e. the sum of all upvotes and downvotes — is computed from these coinbase votes and stored by all nodes as part of the chainstate. Once more, the precise bodily place of the place this stuff are stored is an implementation element (they could possibly be both stored in a separate desk or someplace related to the UTXO that’s holding the Drivechain funds).