Documentation ¶
Index ¶
- Constants
- func DeserializeOutPoint(buf []byte) *btcwire.OutPoint
- func FetchHeight(db *leveldb.DB) (topHeight uint32, topTime time.Time, err error)
- func FetchHeightFile(dbDir string) (topHeight uint32, topTime time.Time, err error)
- func FetchOutPoints(db *leveldb.DB, addr *btcutil.AddressPubKeyHash, count, skip uint) (outPoints []*btcwire.OutPoint, complete bool, err error)
- func SerializeOutPoint(outPoint *btcwire.OutPoint) []byte
- func SerializeUTXO(utxo *UTXO) []byte
- type UTXO
Constants ¶
View Source
const ( DB_UTXO byte = iota DB_ADDR DB_HEIGHT DB_MAX )
Variables ¶
This section is empty.
Functions ¶
func DeserializeOutPoint ¶
func FetchHeight ¶
func FetchHeightFile ¶
func FetchOutPoints ¶
func SerializeOutPoint ¶
func SerializeUTXO ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.