Documentation
¶
Index ¶
- type DB
- func (db *DB) Close() error
- func (db *DB) Delete(key []byte) error
- func (db DB) FetchBalance(decryptionKey []byte) (uint64, error)
- func (db DB) FetchInputs(decryptionKey []byte, amount int64) ([]*transactions.Input, int64, error)
- func (db DB) Get(key []byte) ([]byte, error)
- func (db DB) GetWalletHeight() (uint64, error)
- func (db *DB) Put(key, value []byte) error
- func (db *DB) PutInput(encryptionKey []byte, pubkey ristretto.Point, ...) error
- func (db *DB) RemoveInput(pubkey []byte) error
- func (db DB) UpdateWalletHeight(newHeight uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (DB) FetchInputs ¶
func (DB) GetWalletHeight ¶
func (*DB) RemoveInput ¶
func (DB) UpdateWalletHeight ¶
Click to show internal directories.
Click to hide internal directories.