chain

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disk

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

func FromDisk

func FromDisk(db *badger.DB) *Disk

func (*Disk) Collections

func (d *Disk) Collections(height uint64) ([]*flow.LightCollection, error)

func (*Disk) Commit

func (d *Disk) Commit(height uint64) (flow.StateCommitment, error)

func (*Disk) Events

func (d *Disk) Events(height uint64) ([]flow.Event, error)

func (*Disk) Guarantees added in v1.1.0

func (d *Disk) Guarantees(height uint64) ([]*flow.CollectionGuarantee, error)

func (*Disk) Header

func (d *Disk) Header(height uint64) (*flow.Header, error)

func (*Disk) Results added in v1.1.0

func (d *Disk) Results(height uint64) ([]*flow.TransactionResult, error)

func (*Disk) Root

func (d *Disk) Root() (uint64, error)

func (*Disk) Seals added in v1.1.0

func (d *Disk) Seals(height uint64) ([]*flow.Seal, error)

func (*Disk) Transactions

func (d *Disk) Transactions(height uint64) ([]*flow.TransactionBody, error)

Jump to

Keyboard shortcuts

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