block_tx

package
v0.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loop

type Loop struct {
	Processor func([]*chain.BlockTx) error
}

func NewLoop

func NewLoop(processor func([]*chain.BlockTx) error) *Loop

func (*Loop) Process

func (l *Loop) Process(blockHash [32]byte) error

type LoopRaw

type LoopRaw struct {
	Processor func([]*item.BlockTxRaw) error
}

func NewLoopRaw

func NewLoopRaw(processor func([]*item.BlockTxRaw) error) *LoopRaw

func (*LoopRaw) Process

func (l *LoopRaw) Process(blockHash []byte) error

Jump to

Keyboard shortcuts

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