ledger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliverStream

type DeliverStream interface {
	Receive() interface{}
	Stop()
	Error() error
}

type Ledger

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

func NewLedger

func NewLedger(ledger bcdb.Ledger) *Ledger

func (*Ledger) GetTransactionReceipt

func (l *Ledger) GetTransactionReceipt(txId string) (driver.Flag, error)

func (*Ledger) NewBlockHeaderDeliveryService

func (l *Ledger) NewBlockHeaderDeliveryService(conf *bcdb.BlockHeaderDeliveryConfig) (DeliverStream, error)

Jump to

Keyboard shortcuts

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