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