Documentation
¶
Index ¶
- type BlockVersionV0
- func (b *BlockVersionV0) AddDposBlock(dposBlock *types.DposBlock) (bool, bool, error)
- func (b *BlockVersionV0) AssignCoinbaseTxRewards(block *types.Block, totalReward common.Fixed64) error
- func (b *BlockVersionV0) CheckConfirmedBlockOnFork(block *types.Block) error
- func (b *BlockVersionV0) GetNextOnDutyArbitrator(dutyChangedCount, offset uint32) []byte
- func (b *BlockVersionV0) GetProducersDesc() ([][]byte, error)
- func (b *BlockVersionV0) GetVersion() uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockVersionV0 ¶
type BlockVersionV0 struct {
version.BlockVersionMain
}
func (*BlockVersionV0) AddDposBlock ¶
func (*BlockVersionV0) AssignCoinbaseTxRewards ¶
func (*BlockVersionV0) CheckConfirmedBlockOnFork ¶
func (b *BlockVersionV0) CheckConfirmedBlockOnFork(block *types.Block) error
func (*BlockVersionV0) GetNextOnDutyArbitrator ¶
func (b *BlockVersionV0) GetNextOnDutyArbitrator(dutyChangedCount, offset uint32) []byte
func (*BlockVersionV0) GetProducersDesc ¶
func (b *BlockVersionV0) GetProducersDesc() ([][]byte, error)
func (*BlockVersionV0) GetVersion ¶
func (b *BlockVersionV0) GetVersion() uint32
Click to show internal directories.
Click to hide internal directories.