txstore

package
v0.0.0-...-40b18d3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 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 Store

type Store interface {
	SaveBlockResult(
		ctx context.Context,
		req server.BlockRequest[transaction.Tx],
		resp server.BlockResponse,
	) error

	LoadTxByHash(ctx context.Context, hash []byte) (
		height uint64,
		txBytes []byte,
		result server.TxResult,
		err error,
	)
}

Store stores and retrieves transactions at an SDK level of abstraction.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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