EIP-908 Client rewards for a sustainable network (Reward clients for a sustainable network)

No call decision · Networking & nodes · EIP status Withdrawn · created 2018-03-01

A proposal to pay ETH rewards to the client development teams that build node software, every time a block is validated. Funding would come from a portion of miner fees and newly issued ETH.

Why it is needed

Currently, running a full node or developing client software earns no reward within the protocol. Clients such as Geth and Parity rely on venture capital or outside funding to cover development costs, and work such as propagating, storing, and validating transactions risks being undersupplied, as in a tragedy of the commons. Miners are rewarded through gas fees, but no one is responsible for the cost of propagating, storing, and validating transactions. This EIP argues that if funding is concentrated among a small number of investors, Ethereum drifts away from the decentralization it aims for, and proposes paying clients directly within the protocol to make development sustainable.

What changes

Today

After EIP-908

Who is affected

In depth

The PrevBlockVerifications field and the PREV_BLOCK_VERIF opcode

This EIP adds a new, size-unlimited byte array field called PrevBlockVerifications to the block. When a client verifies that the previous block is valid, it adds a user agent to this field using an opcode called PREV_BLOCK_VERIF in a transaction. The user agent is a vector holding two immutable values: the block hash of the verified block, and the index (position) of the client address within the access list. Miners check the validity of a transaction before including it in a block, but since this vector's fields are immutable, miners cannot alter its values.

The basis for the 0.15 ETH reward amount

The original text assumes about 16,428 nodes as of May 2018, and plugs in figures such as 10 clients, growth to 30,000 nodes within five years, an annual operating cost of $1-2 million per client organization, and an ETH price of $500-2000, to back-calculate the per-block reward. The calculation yields a range of 0.17 to 1.33 ETH per block, and based on this, proposes 0.15 ETH per block as the reward. The funding consists of newly issued ETH and a portion of the transaction fees previously received by miners, and the text notes that mining rewards would need to be reduced correspondingly to keep issuance unchanged.

The 400-block limit

Rewards are given only for validating recent blocks. The system checks whether the block number pointed to by the block hash contained in the user agent is no more than 400 blocks older than the current block. This mechanism prevents unnecessarily growing state by rewarding validation of blocks that are far too old.

Miner manipulation attacks and a proposed anti-slashing measure

A miner could fill a block with transactions containing only the PREV_BLOCK_VERIF opcode addressed to their own client address, monopolizing the reward. To prevent this, the proposal suggests storing, per miner (or per proposer in Casper CBC), a list of block hashes already used in state, and slashing a miner who has posted a deposit if they resubmit the same block hash. Lists older than 400 blocks are periodically cleared (for example, roughly every 3 weeks, in units of 120,000 blocks) to limit state bloat. An attack where someone bribes a miner to add their own address to the access list is also deterred by the same slashing condition.

Considerations on managing the access list

A mechanism must prevent anyone from freely inserting addresses into the access list, and the original text reviews several alternatives: on-chain governance (a signal-based approach similar to EIP-1015), a layer-2 PoA (proof-of-authority) network, or decentralized verification (where a client asserts its own address and checks whether it has passed the Ethereum test suite). However, it also presents counterarguments regarding on-chain governance and plutocracy, and the lack of distributed trust in PoA, and acknowledges that until a trustworthy, decentralized management method exists, an access list itself may not be suitable.

The reward ratio between clients and full nodes

The original text argues that clients spend far more time than full node operators, and initially proposes a 99:1 ratio. However, it also notes that since a client can accumulate rewards from every full node running its software, the ratio could be adjusted to 4:1 or even 1:1 to better encourage running full nodes. It states explicitly that the exact ratio requires further data analysis.

Backwards compatibility

Introducing a new fee and reward structure within the protocol is a backward-incompatible change, so it states that it can only be introduced through a hard fork.

Current status: Withdrawn

This EIP's status is Withdrawn; it has not progressed since it was written in 2018. At the very top of the original text it also notes that the full node reward portion has been dropped, leaving only the client reward proposal. The call records provided contain no decision to include this proposal in a fork.

Original EIP · ← EIPs