transactionindexing

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITransactionIndexer

type ITransactionIndexer interface {
	StoreTransHashToHeight(sha256 *indexedhashes.Sha256, transHeight int64) error
	StoreTransHeightToParentBlock(transHeight int64, parentBlockHeight int64) error
	StoreBlockHeightToFirstTrans(blockHeight int64, firstTrans int64) error
	RetrieveTransHashToHeight(sha256 *indexedhashes.Sha256) (int64, error)
	RetrieveTransHeightToParentBlock(transHeight int64) (int64, error)
	RetrieveBlockHeightToFirstTrans(blockHeight int64) (int64, error)
	Close()
}

Jump to

Keyboard shortcuts

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