anza-xyz / agave

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
https://www.anza.xyz/
Apache License 2.0
386 stars 187 forks source link

Feature Gate: Enable partitioned epoch rewards #426

Open CriesofCarrots opened 7 months ago

CriesofCarrots commented 7 months ago

SIMD

https://github.com/solana-foundation/solana-improvement-documents/blob/main/proposals/0118-partitioned-epoch-reward-distribution.md

Description

The old feature gate wrapped an implementation that was superseded by a newer SIMD.

Partitioned epoch rewards is a design to distribute epoch stake rewards across multiple blocks to address the current performance problems associated with epoch reward distribution in a first block of a new epoch.

Feature ID

(9bn2vTJUsUcnpiZWbu2woSKtTGW3ErZC9ERv88SDqQjK) PERzQrt5gBD1XEe2c9XdFWqwgHY3mr7cYWbm5V772V8

Activation Method

Single Core Contributor

Deployment Considerations

Needs testing on a test cluster with sufficient stake accounts to trigger multiple partitions. Tests should also include rebooting from a snapshot during calculation and distribution. Distribution should be monitored for correctness and performance.

Minimum Beta Version

(v2.0.0) v2.0.9

Minimum Stable Version

(v2.0.0) v2.0.9

Testnet Activation Epoch

(679)

Devnet Activation Epoch

No response

Mainnet-Beta Activation Epoch

No response

CriesofCarrots commented 7 months ago

Remember to update this doc when sysvar behavior is updated

(edit) Done in https://github.com/anza-xyz/agave/pull/2102, but not published anywhere yet