Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 ForkPoints struct {
Smart *ForkPoint
}
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
}
Click to show internal directories.
Click to hide internal directories.