Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConsensusTypeSolo identifies the solo consensus implementation. ConsensusTypeSolo = "solo" // ConsensusTypeKafka identifies the Kafka-based consensus implementation. ConsensusTypeKafka = "kafka" // ConsensusTypeSbft identifies the SBFT consensus implementation. ConsensusTypeSbft = "sbft" // TestChainID is the default value of ChainID. It is used by all testing // networks. It it necessary to set and export this variable so that test // clients can connect without being rejected for targetting a chain which // does not exist. TestChainID = "testchainid" // AcceptAllPolicyKey is the key of the AcceptAllPolicy. AcceptAllPolicyKey = "AcceptAllPolicy" )
Variables ¶
View Source
var DefaultChainCreationPolicyNames = []string{AcceptAllPolicyKey}
DefaultChainCreationPolicyNames is the default value of ChainCreatorsKey.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.