Protocol and consensus12.4.15+
Pool record (POOL)
The payout record in the coinbase of a pool block.
A block mined by a Lotus pool node describes its payout in eMPP segments of its coinbase. Addresses and amounts are not repeated: they are the outputs of the coinbase. It is not consensus. The sections and a decoded example are in On-chain protocols for developers.
Byte layout #
POOL (50 4f 4f 4c), version 1 (one byte), the section type as a length-prefixed string, then the body. Integers are little-endian.
| Section | Content |
|---|---|
H | Head: pool id, finder, the commitment of the share window, shares, weight, hashrate, payee count, fee and burn |
P | Payees: the first output, then the share and the hashrate of each |
B, C | Satoshis destroyed: work without a Lotus address, and rounding |
D | Satoshis destroyed for the coinbase's data bytes |
S | A ledger settlement (pool operators) |
A reader keeps unknown sections and skips them. GET /api/v1/pool-public/record/<block hash> and decodepoolrecord decode a record.
Source files #
src/pool/,doc/pool-payouts.md
