db

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTx

func GetTx(txn *badger.Txn, key []byte) (*objs.Tx, error)

GetTx will set a Tx in the database.

func GetUTXO

func GetUTXO(txn *badger.Txn, key []byte) (*objs.TXOut, error)

GetUTXO will set a UTXO in the database.

func SetTx

func SetTx(txn *badger.Txn, key []byte, v *objs.Tx) error

SetTx will set a Tx in the database.

func SetUTXO

func SetUTXO(txn *badger.Txn, key []byte, v *objs.TXOut) error

SetUTXO will set a UTXO in the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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