Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "V2.10.10_free" // node version // consensus related constants MinimumCommSize = 4 // bft 3f+1. If you want to have one fault tolerance, you need at least 3*1+1=4 nodes, and there is no fault tolerance below 3 nodes MaximumCommSize = 100 // Maximum number of members of consensus committee DefaultTBFTWaitingTime = 500 // The default waiting time of consensus processing. (ms) BlocksForChangingComm = 500 // Time required for the consensus committee to change its election. (blocks) BlocksForPreElecting = 50 // Time required for register for the preelection. (blocks) DeltaStep = 4 // The interval blocks (n) of the delta information of the current shard sent to other shards (broadcast once every n blocks) DeltasNeedProof = true // Whether to provide proof and verification for DeltasPack MaxDeltaStep = 10 // The most number of OneDeltas in one DeltasPack, to avoid too much data one time GasPrice = "400000000000" GasLimit uint64 = 2500000 TransferGas uint64 = 25000 RRContractGas uint64 = 10000 WriteCCContractGas uint64 = 200000 CashCCContractGas uint64 = 0 CancelCCContractGas uint64 = 0 ChainManageContractGas uint64 = 0 // change management, chain setting ExchangerContractGas uint64 = 100000 MinterContractGas uint64 = 0 ManageCommitteeGas uint64 = 0 P2PNeedMAC = true // whether network message need MAC verification P2PMacLen = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.