Under current consensus rulesconsensus rules - The block validation rules that full nodes follow to stay in consensus with other nodes., a blockblock - One or more transactions prefaced by a block header and protected by proof of work. Blocks are the data stored on the block chain. is not valid unless its serialized size is less than or equal to 2 MB. All fields described below are counted towards the serialized size.
|80||block header||block_header||The block headerblock header - An 80-byte header belonging to a single block which is hashed repeatedly to create proof of work. in the format described in the block header section.|
|Varies||txn_count||compactSize uintcompactSize uint - A type of variable-length integer commonly used in the Dash P2P protocol and Dash serialized data structures.||The total number of transactions in this block, including the coinbase transaction.|
|Varies||txns||raw transactionraw transaction - Complete transactions in their binary format; often represented using hexadecimal. Sometimes called raw format because of the various Dash Core commands with "raw" in their names.||Every transaction in this block, one after another, in raw transaction format. Transactions must appear in the data stream in the same order their TXIDs appeared in the first row of the merkle tree. See the merkle tree section for details.|
The first transaction in a block must be a coinbase transactioncoinbase transaction - The first transaction in a block. Always created by a miner, it includes a single coinbase. which should collect and spend any transaction feetransaction fee - The amount remaining when the value of all outputs in a transaction are subtracted from all inputs in a transaction; the fee is paid to the miner who includes that transaction in a block. paid by transactions included in this block.
Until the coin limit (~18 million Dash) is hit, all blocks are entitled to receive a block subsidy of newly created Dash value. The newly created value should be spent in the coinbase transaction.
The block subsidy declines by ~7.1% per year until all Dash is mined. Subsidy calculations are performed by the Dash Core GetBlockSubsidy() function.
Together, the transaction fees and block subsidy are called the block rewardblock reward - The amount that miners may claim as a reward for creating a block. Equal to the sum of the block subsidy (newly available duffs) plus the transactions fees paid by transactions included in the block.. A coinbase transaction is invalid if it tries to spend more value than is available from the block reward.
The block reward is divided into three parts: minerminer - Mining is the act of creating valid Dash blocks, which requires demonstrating proof of work, and miners are devices that mine or people who own those devices., masternodemasternode - A computer that provides second-tier Dash functionality (InstantSend, PrivateSend, decentralized governance). Masternodes are incentivized by receiving part of the block reward, but must hold 1000 Dash as collateral to prevent sybil attacks., and superblocksuperblock - Special blocks that pay out funded budget proposals approved by masternode votes via the decentralized governance system. Superblocks are issued monthly and have a coinbase that can be much larger than normal. The superblock value is provided by the 10% of block rewards set aside for superblock payouts..
Dash Core v0.16 included logic to gradually adjust the block reward allocation once the BIP-9 activation threshold was met. The reward reallocation was signaled via BIP-9 bit 5 and was activated at block 1374912 upon signalling by a sufficient number of blocks.
This reallocation will eventually result in miners receiving 40% of the non-governance block subsidy and masternodes receiving 60% of it rather than the 50/50 split that was used for several years.
Reward reallocation changes
Reward reallocation changes began at the first superblock following activation (block 1379128) and then occur every three superblock cycles (approximately once per quarter) until the reallocation is complete.
|Quarter||Block||Miner %||Masternode %||Change (%)|
Updated 4 months ago