<p>The <strong>votes</strong> are published on the block coinbase. This can be done in multiple ways, some more efficient than others. The BIP-300 specification proposes a way that is somewhat complex but tries to be efficient.</p>
<p>The <strong>actual current count</strong> at any point -- i.e. the sum of all upvotes and downvotes -- is computed from these coinbase votes and kept by all nodes as a part of the chainstate. Again, the actual physical place of where these things are kept is an <em>implementation detail</em> (they could be either kept in a separate table or somewhere associated with the UTXO that is holding the Drivechain funds).</p>

CC BY-SA 4.0
2023-09-16T12:39:00.023Z
2023-09-16T12:39:00.023Z
fiatjaf
<p>In the context of the Drivechain proposal, for UTXOs in miner-controlled escrows to be spent, they have to be voted on by each block over a large number of blocks, right?</p>

<p>Now, how are these votes made and where are they computed? I think the votes are somehow written in the block coinbase, but how exactly? It's not like there's much space there. And then each full node has to keep a table of what transaction has how many votes and verify against that whenever a transaction is included in the block?</p>

<coinbase-transaction><sidechains><drivechains>
Where are Drivechain votes computed?
fiatjaf
# Where are Drivechain votes computed?

(Asked by: username_0 on 2019-09-05)

In the context of the Drivechain proposal, for UTXOs in miner-controlled escrows to be spent, they have to be voted on by each block over a large number of blocks, right?

Now, how are these votes made and where are they computed? I think the votes are somehow written in the block coinbase, but how exactly? It's not like there's much space there. And then each full node has to keep a table of what transaction has how many votes and verify against that whenever a transaction is included in the block?

**Tags:** coinbase-transaction, sidechains, drivechains


---

## 1 answers

### Answer by username_0 on 2023-09-16. Score: 0 | Accepted answer

The **votes** are published on the block coinbase. This can be done in multiple ways, some more efficient than others. The BIP-300 specification proposes a way that is somewhat complex but tries to be efficient.

The **actual current count** at any point -- i.e. the sum of all upvotes and downvotes -- is computed from these coinbase votes and kept by all nodes as a part of the chainstate. Again, the actual physical place of where these things are kept is an *implementation detail* (they could be either kept in a separate table or somewhere associated with the UTXO that is holding the Drivechain funds).


---

