blockhistory

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 (b *BlockVersionV0) AddDposBlock(dposBlock *types.DposBlock) (bool, bool, error)

func (*BlockVersionV0) AssignCoinbaseTxRewards

func (b *BlockVersionV0) AssignCoinbaseTxRewards(block *types.Block, totalReward common.Fixed64) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL