Expand description
DarkFi consensus module
Structs§
- This struct represents the information required by the consensus algorithm
- This struct represents a forked blockchain state, using an overlay over original blockchain, containing all pending to-write records. Additionally, each fork keeps a vector of valid pending transactions hashes, in order of receival, and the proposals hashes sequence, for validations.
- This struct represents a block proposal, used for consensus.
Constants§
- Multiplier used to calculate the gas limit for unproposed transactions
- Gas limit for unproposed transactions
- Average amount of gas consumed during transaction execution, derived by the Gas Analyzer