Documentation ¶
Index ¶
- func Decrypt() error
- func Encrypt() error
- type CoinsDB
- type ConfigDB
- type FollowerDB
- type FollowingDB
- type KeysDB
- func (k *KeysDB) GetAll() ([]*b32.Key, error)
- func (k *KeysDB) GetKeyForScript(scriptPubKey []byte) (*b32.Key, error)
- func (k *KeysDB) GetLastKey(purpose bitcoin.KeyPurpose) (*b32.Key, bool, error)
- func (k *KeysDB) MarkKeyAsUsed(key *b32.Key) error
- func (k *KeysDB) Put(key *b32.Key, scriptPubKey []byte, purpose bitcoin.KeyPurpose) error
- type OfflineMessagesDB
- type PointersDB
- type SQLiteDatastore
- func (d *SQLiteDatastore) Close()
- func (d *SQLiteDatastore) Coins() repo.Coins
- func (d *SQLiteDatastore) Config() repo.Config
- func (d *SQLiteDatastore) Copy(dbPath string, password string) error
- func (d *SQLiteDatastore) Followers() repo.Followers
- func (d *SQLiteDatastore) Following() repo.Following
- func (d *SQLiteDatastore) Keys() repo.Keys
- func (d *SQLiteDatastore) OfflineMessages() repo.OfflineMessages
- func (d *SQLiteDatastore) Pointers() repo.Pointers
- func (d *SQLiteDatastore) Transactions() repo.Transactions
- type TransactionsDB
- func (t *TransactionsDB) GetAll() []bitcoin.TransactionInfo
- func (t *TransactionsDB) GetHeight(txid []byte) (int, error)
- func (t *TransactionsDB) GetUnconfirmed() []bitcoin.TransactionInfo
- func (t *TransactionsDB) Has(txid []byte) bool
- func (t *TransactionsDB) Put(txinfo bitcoin.TransactionInfo) error
- func (t *TransactionsDB) UpdateHeight(txid []byte, height int) error
- func (t *TransactionsDB) UpdateState(txid []byte, state bitcoin.TransactionState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigDB ¶
type ConfigDB struct {
// contains filtered or unexported fields
}
func (*ConfigDB) GetIdentityKey ¶
func (*ConfigDB) GetMnemonic ¶
func (*ConfigDB) IsEncrypted ¶
type FollowerDB ¶
type FollowerDB struct {
// contains filtered or unexported fields
}
func (*FollowerDB) Count ¶
func (f *FollowerDB) Count() int
func (*FollowerDB) Delete ¶
func (f *FollowerDB) Delete(follower string) error
func (*FollowerDB) Put ¶
func (f *FollowerDB) Put(follower string) error
type FollowingDB ¶
type FollowingDB struct {
// contains filtered or unexported fields
}
func (*FollowingDB) Count ¶
func (f *FollowingDB) Count() int
func (*FollowingDB) Delete ¶
func (f *FollowingDB) Delete(follower string) error
func (*FollowingDB) Put ¶
func (f *FollowingDB) Put(follower string) error
type KeysDB ¶
type KeysDB struct {
// contains filtered or unexported fields
}
func (*KeysDB) GetKeyForScript ¶
func (*KeysDB) GetLastKey ¶
type OfflineMessagesDB ¶
type OfflineMessagesDB struct {
// contains filtered or unexported fields
}
func (*OfflineMessagesDB) Has ¶
func (o *OfflineMessagesDB) Has(url string) bool
func (*OfflineMessagesDB) Put ¶
func (o *OfflineMessagesDB) Put(url string) error
type PointersDB ¶
type PointersDB struct {
// contains filtered or unexported fields
}
type SQLiteDatastore ¶
type SQLiteDatastore struct {
// contains filtered or unexported fields
}
func (*SQLiteDatastore) Close ¶
func (d *SQLiteDatastore) Close()
func (*SQLiteDatastore) Coins ¶
func (d *SQLiteDatastore) Coins() repo.Coins
func (*SQLiteDatastore) Config ¶
func (d *SQLiteDatastore) Config() repo.Config
func (*SQLiteDatastore) Followers ¶
func (d *SQLiteDatastore) Followers() repo.Followers
func (*SQLiteDatastore) Following ¶
func (d *SQLiteDatastore) Following() repo.Following
func (*SQLiteDatastore) Keys ¶
func (d *SQLiteDatastore) Keys() repo.Keys
func (*SQLiteDatastore) OfflineMessages ¶
func (d *SQLiteDatastore) OfflineMessages() repo.OfflineMessages
func (*SQLiteDatastore) Pointers ¶
func (d *SQLiteDatastore) Pointers() repo.Pointers
func (*SQLiteDatastore) Transactions ¶
func (d *SQLiteDatastore) Transactions() repo.Transactions
type TransactionsDB ¶
type TransactionsDB struct {
// contains filtered or unexported fields
}
func (*TransactionsDB) GetAll ¶
func (t *TransactionsDB) GetAll() []bitcoin.TransactionInfo
func (*TransactionsDB) GetUnconfirmed ¶
func (t *TransactionsDB) GetUnconfirmed() []bitcoin.TransactionInfo
func (*TransactionsDB) Has ¶
func (t *TransactionsDB) Has(txid []byte) bool
func (*TransactionsDB) Put ¶
func (t *TransactionsDB) Put(txinfo bitcoin.TransactionInfo) error
func (*TransactionsDB) UpdateHeight ¶
func (t *TransactionsDB) UpdateHeight(txid []byte, height int) error
func (*TransactionsDB) UpdateState ¶
func (t *TransactionsDB) UpdateState(txid []byte, state bitcoin.TransactionState) error
Click to show internal directories.
Click to hide internal directories.