Module darkfi::validator::consensus

source ·
Expand description

DarkFi consensus module


  • 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.