common

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// currentDatabaseVersion indicates what the current database
	// version is.
	CurrentDatabaseVersion = 14
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseInfo

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

DatabaseInfo is the structure for a database.

func NewDatabaseInfo

func NewDatabaseInfo(version uint32, compVer uint32, bidxVer uint32, created time.Time) *DatabaseInfo

func (*DatabaseInfo) BidxVer

func (di *DatabaseInfo) BidxVer() uint32

func (*DatabaseInfo) CompVer

func (di *DatabaseInfo) CompVer() uint32

func (*DatabaseInfo) Created

func (di *DatabaseInfo) Created() time.Time

func (*DatabaseInfo) String

func (di *DatabaseInfo) String() string

func (*DatabaseInfo) Version

func (di *DatabaseInfo) Version() uint32

type RetrievedTx

type RetrievedTx struct {
	Bytes   []byte
	BlkHash *hash.Hash // Only set when transaction is in a block.
	Tx      *types.Tx
}

type UtxoOpt

type UtxoOpt struct {
	Key  []byte
	Data []byte
	Add  bool
}

Jump to

Keyboard shortcuts

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