blockfill

package
v0.0.0-...-d9fdf4f Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockFillRecord

type BlockFillRecord struct {
	BlockHash    common.Hash `json:"block-hash"`
	MatchTxCount int         `json:"match-tx-count"`
	ProofRoot    common.Hash `json:"proof-root"`
	BlockRoot    common.Hash `json:"block-root"`
}

type BlockFiller

type BlockFiller struct {
	// contains filtered or unexported fields
}

func NewBlockFiller

func NewBlockFiller(datapath string) *BlockFiller

func (*BlockFiller) SetBlockProof

func (b *BlockFiller) SetBlockProof(param BlockProofParam, txs []*types.Transaction)

func (*BlockFiller) VerifyBlock

func (b *BlockFiller) VerifyBlock(block *types.Block)

type BlockProof

type BlockProof struct {
	// contains filtered or unexported fields
}

type BlockProofParam

type BlockProofParam struct {
	ParentHash common.Hash
	BlockTime  uint64
}

Jump to

Keyboard shortcuts

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