Documentation
¶
Index ¶
Constants ¶
View Source
const (
BlockProcessLimit = client.MediumLimit
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
Status StatusHeight
Delay int
UseRaw bool
Shard int
// contains filtered or unexported fields
}
func NewBlockRaw ¶
func NewBlockRaw(shard int, statusHeight StatusHeight, txSave dbi.TxSave) *Block
func NewBlockShard ¶
func NewBlockShard(shard int, status StatusHeight, txSave dbi.TxSave) *Block
func (*Block) ProcessBlock ¶
func (t *Block) ProcessBlock(heightBlock *HeightBlock) error
type HeightBlock ¶
type StatusHeight ¶
type StatusHeight interface {
GetHeight() (status.BlockHeight, error)
SetHeight(status.BlockHeight) error
}
Click to show internal directories.
Click to hide internal directories.