Expand description
§Hard-Forks
Monero use hard-forks to update it’s protocol, this module 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.
- An error working with a
HardFork
.
Constants§
Functions§
- Checks a blocks version and vote, assuming that
hf
is the current hard-fork. - Returns the votes needed for a hard-fork.