Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompactSignature ¶
type FicusHfConfig ¶
type FicusHfConfig struct { BlockNum hexutil.Uint64 `json:"block_num" rlp:"required"` PbftInclusionDelay hexutil.Uint64 `json:"pbft_inclusion_delay" rlp:"required"` PillarBlocksInterval hexutil.Uint64 `json:"pillar_blocks_interval" rlp:"required"` PillarChainSyncInterval hexutil.Uint64 `json:"pillar_chain_sync_interval" rlp:"required"` }
type HardforksConfig ¶
type HardforksConfig struct {
FicusHf FicusHfConfig `json:"ficus_hf" rlp:"required"`
}
type PillarBlock ¶
type PillarBlock struct { Hash common.Hash `json:"hash" rlp:"required"` PreviousBlockHash common.Hash `json:"previous_pillar_block_hash" rlp:"required"` BridgeRoot common.Hash `json:"bridge_root" rlp:"required"` StateRoot common.Hash `json:"state_root" rlp:"required"` PbftPeriod uint64 `json:"pbft_period" rlp:"required"` VoteCountsChanges []VoteCountChange `json:"validators_vote_counts_changes" rlp:"optional"` }
PillarBlock represents a pillar block in the taraxa blockchain.
type PillarBlockData ¶
type PillarBlockData struct { PillarBlock PillarBlock `json:"pillar_block" rlp:"required"` Signatures []CompactSignature `json:"signatures" rlp:"optional"` }
type TaraConfig ¶
type TaraConfig struct { ChainId uint64 `json:"chain_id" rlp:"required"` Hardforks HardforksConfig `json:"hardforks" rlp:"required"` }
Config - parsed only partially, new fields can be added anytime
type VoteCountChange ¶
Click to show internal directories.
Click to hide internal directories.