Documentation
¶
Index ¶
- Constants
- type Database
- func (d *Database) GetAddressBalance(addresses []wallet.Addr) (*lib.Balance, error)
- func (d *Database) GetAddressLastUpdate(addresses []wallet.Addr) ([]graph.AddressUpdate, error)
- func (d *Database) GetInsert(table string, values map[string]interface{}) *Query
- func (d *Database) GetTableName(table string) string
- func (d *Database) GetUtxos(addresses []wallet.Addr) ([]graph.Output, error)
- func (d *Database) SaveTxs(txs []graph.Tx) error
- func (d *Database) SetAddressLastUpdate(lastUpdates []graph.AddressUpdate) error
- type Query
- type Table
Constants ¶
View Source
const ( TableAddressUpdates = "address_updates" TableTxs = "txs" TableInputs = "inputs" TableOutputs = "outputs" TableBlocks = "blocks" TableBlockTxs = "block_txs" TableSlpBatons = "slp_batons" TableSlpGeneses = "slp_geneses" TableSlpOutputs = "slp_outputs" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
func (*Database) GetAddressBalance ¶
func (*Database) GetAddressLastUpdate ¶
func (*Database) GetTableName ¶
func (*Database) SetAddressLastUpdate ¶
func (d *Database) SetAddressLastUpdate(lastUpdates []graph.AddressUpdate) error
Click to show internal directories.
Click to hide internal directories.