get

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockTx

type BlockTx struct {
	BlockHash [32]byte
	TxHash    [32]byte
	BlockTx   *chain.BlockTx
	TxBlock   *chain.TxBlock
}

func NewBlockTx

func NewBlockTx(blockHash, txHash [32]byte) *BlockTx

func (*BlockTx) Get

func (b *BlockTx) Get() error

type Tx

type Tx struct {
	TxHash    [32]byte
	BlockHash [32]byte
	Raw       []byte
}

func NewTx

func NewTx(txHash [32]byte) *Tx

func (*Tx) Get

func (t *Tx) Get(ctx context.Context) error

Jump to

Keyboard shortcuts

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