PrevUpHomeNext

ConsensusParms

ConsensusParms::avCT_CONSENSUS_PCT
ConsensusParms::avINIT_CONSENSUS_PCT
ConsensusParms::avLATE_CONSENSUS_PCT
ConsensusParms::avLATE_CONSENSUS_TIME
ConsensusParms::avMID_CONSENSUS_PCT
ConsensusParms::avMID_CONSENSUS_TIME
ConsensusParms::avMIN_CONSENSUS_TIME
ConsensusParms::avSTUCK_CONSENSUS_PCT
ConsensusParms::avSTUCK_CONSENSUS_TIME
ConsensusParms::ledgerGRANULARITY
ConsensusParms::ledgerIDLE_INTERVAL
ConsensusParms::ledgerMIN_CLOSE
ConsensusParms::ledgerMIN_CONSENSUS
ConsensusParms::minCONSENSUS_PCT
ConsensusParms::proposeFRESHNESS
ConsensusParms::proposeINTERVAL
ConsensusParms::useRoundedCloseTime
ConsensusParms::validationVALID_EARLY
ConsensusParms::validationVALID_LOCAL
ConsensusParms::validationVALID_WALL

Consensus algorithm parameters.

Synopsis
struct ConsensusParms
Data Members

Name

Description

avCT_CONSENSUS_PCT

Percentage of nodes required to reach agreement on ledger close time.

avINIT_CONSENSUS_PCT

Percentage of nodes on our UNL that must vote yes.

avLATE_CONSENSUS_PCT

Percentage of nodes that most vote yes after advancing.

avLATE_CONSENSUS_TIME

Percentage of previous round duration before we advance.

avMID_CONSENSUS_PCT

Percentage of nodes that most vote yes after advancing.

avMID_CONSENSUS_TIME

Percentage of previous round duration before we advance.

avMIN_CONSENSUS_TIME

The minimum amount of time to consider the previous round to have taken.

avSTUCK_CONSENSUS_PCT

Percentage of nodes that must vote yes after we are stuck.

avSTUCK_CONSENSUS_TIME

Percentage of previous round duration before we are stuck.

ledgerGRANULARITY

How often we check state or change positions.

ledgerIDLE_INTERVAL

The duration a ledger may remain idle before closing.

ledgerMIN_CLOSE

Minimum number of seconds to wait to ensure others have computed the LCL.

ledgerMIN_CONSENSUS

The number of seconds we wait minimum to ensure participation.

minCONSENSUS_PCT

The percentage threshold above which we can declare consensus.

proposeFRESHNESS

How long we consider a proposal fresh.

proposeINTERVAL

How often we force generating a new proposal to keep ours fresh.

useRoundedCloseTime

Whether to use roundCloseTime or effCloseTime for reaching close time consensus.

validationVALID_EARLY

Duration pre-close in which validations are acceptable.

validationVALID_LOCAL

Duration a validation remains current after first observed.

validationVALID_WALL

The duration a validation remains current after its ledger's close time.

Description

Parameters which control the consensus algorithm. This are not meant to be changed arbitrarily.

Header

#include <ripple/consensus/ConsensusParms.h>


PrevUpHomeNext