20 #ifndef RIPPLE_CONSENSUS_CONSENSUS_PARMS_H_INCLUDED
21 #define RIPPLE_CONSENSUS_CONSENSUS_PARMS_H_INCLUDED
std::size_t avCT_CONSENSUS_PCT
Percentage of nodes required to reach agreement on ledger close time.
std::size_t avMID_CONSENSUS_TIME
Percentage of previous round duration before we advance.
std::size_t avLATE_CONSENSUS_PCT
Percentage of nodes that most vote yes after advancing.
std::size_t avSTUCK_CONSENSUS_PCT
Percentage of nodes that must vote yes after we are stuck.
std::chrono::milliseconds ledgerGRANULARITY
How often we check state or change positions.
std::chrono::seconds proposeINTERVAL
How often we force generating a new proposal to keep ours fresh.
std::chrono::seconds validationVALID_WALL
The duration a validation remains current after its ledger's close time.
std::chrono::milliseconds ledgerMAX_CONSENSUS
The maximum amount of time to spend pausing for laggards.
std::size_t minCONSENSUS_PCT
The percentage threshold above which we can declare consensus.
std::chrono::milliseconds ledgerMIN_CLOSE
Minimum number of seconds to wait to ensure others have computed the LCL.
std::chrono::seconds proposeFRESHNESS
How long we consider a proposal fresh.
std::chrono::seconds validationVALID_EARLY
Duration pre-close in which validations are acceptable.
std::size_t avINIT_CONSENSUS_PCT
Percentage of nodes on our UNL that must vote yes.
std::size_t avMID_CONSENSUS_PCT
Percentage of nodes that most vote yes after advancing.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::chrono::milliseconds ledgerMIN_CONSENSUS
The number of seconds we wait minimum to ensure participation.
std::chrono::milliseconds ledgerIDLE_INTERVAL
The duration a ledger may remain idle before closing.
Consensus algorithm parameters.
std::size_t avSTUCK_CONSENSUS_TIME
Percentage of previous round duration before we are stuck.
std::size_t avLATE_CONSENSUS_TIME
Percentage of previous round duration before we advance.
std::chrono::seconds validationVALID_LOCAL
Duration a validation remains current after first observed.
std::chrono::milliseconds avMIN_CONSENSUS_TIME
The minimum amount of time to consider the previous round to have taken.