Module cuprate_consensus_rules::hard_forks
source · Expand description
§Hard-Forks
Monero use hard-forks to update it’s protocol, this module contains a HardFork enum which is
an identifier for every current hard-fork.
This module also contains a HFVotes struct which keeps track of current blockchain voting, and
has a method HFVotes::current_fork to check if the next hard-fork should be activated.
Structs§
- Information about a given hard-fork.
- A struct holding the current voting state of the blockchain.
- Information about every hard-fork Monero has had.
Enums§
- An identifier for every hard-fork Monero has had.
Constants§
Functions§
- Returns the votes needed for a hard-fork.