bitcoin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version   = "v0.0.1"
	DBVersion = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

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

func (*Processor) CurrentBlock

func (p *Processor) CurrentBlock(ctx context.Context) (types.BlockHeader, error)

func (*Processor) GetIndexedBlock

func (p *Processor) GetIndexedBlock(ctx context.Context, height int64) (types.BlockHeader, error)

func (Processor) Name

func (p Processor) Name() string

func (*Processor) Process

func (p *Processor) Process(ctx context.Context, inputs []*types.Block) error

func (*Processor) RevertData

func (p *Processor) RevertData(ctx context.Context, from int64) error

func (*Processor) VerifyStates

func (p *Processor) VerifyStates(ctx context.Context) error

Directories

Path Synopsis
repository

Jump to

Keyboard shortcuts

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