Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDataDir ¶ added in v1.3.0
func DefaultDataDir() string
DefaultDataDir is the default data directory to use for the databases and other persistence requirements.
Types ¶
type ConditionRegisterData ¶ added in v1.2.0
type ConditionRegisterData struct { PledgeAmount *big.Int PledgeToken types.TokenTypeId PledgeHeight uint64 }
type Config ¶
type ConsensusGroupInfo ¶ added in v1.2.0
type ConsensusGroupInfo struct { NodeCount uint8 Interval int64 PerCount int64 RandCount uint8 RandRank uint8 CountingTokenId types.TokenTypeId RegisterConditionId uint8 RegisterConditionParam ConditionRegisterData VoteConditionId uint8 VoteConditionParam VoteConditionData Owner types.Address PledgeAmount *big.Int WithdrawHeight uint64 }
type ForkPoints ¶ added in v1.2.0
type Genesis ¶ added in v1.2.0
type Genesis struct { GenesisAccountAddress types.Address BlockProducers []types.Address SnapshotConsensusGroup *ConsensusGroupInfo CommonConsensusGroup *ConsensusGroupInfo ForkPoints *ForkPoints }
type KafkaProducer ¶
type VoteConditionData ¶ added in v1.2.0
type VoteConditionData struct { Amount *big.Int TokenId types.TokenTypeId }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.