Documentation
¶
Index ¶
- type SQLiteDB
- func (sqlite *SQLiteDB) GetBalance() (uint64, error)
- func (sqlite *SQLiteDB) GetKeysets() ([]storage.DBKeyset, error)
- func (sqlite *SQLiteDB) GetMeltQuote(quoteId string) (*storage.MeltQuote, error)
- func (sqlite *SQLiteDB) GetMintQuote(quoteId string) (*storage.MintQuote, error)
- func (sqlite *SQLiteDB) GetProofsUsed(Ys []string) ([]cashu.Proof, error)
- func (sqlite *SQLiteDB) GetSeed() ([]byte, error)
- func (sqlite *SQLiteDB) SaveKeyset(keyset storage.DBKeyset) error
- func (sqlite *SQLiteDB) SaveMeltQuote(meltQuote storage.MeltQuote) error
- func (sqlite *SQLiteDB) SaveMintQuote(mintQuote storage.MintQuote) error
- func (sqlite *SQLiteDB) SaveProofs(proofs cashu.Proofs) error
- func (sqlite *SQLiteDB) SaveSeed(seed []byte) error
- func (sqlite *SQLiteDB) UpdateKeysetActive(id string, active bool) error
- func (sqlite *SQLiteDB) UpdateMeltQuote(quoteId, preimage string, state nut05.State) error
- func (sqlite *SQLiteDB) UpdateMintQuoteState(quoteId string, state nut04.State) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteDB ¶
type SQLiteDB struct {
// contains filtered or unexported fields
}
func InitSQLite ¶
func (*SQLiteDB) GetBalance ¶
func (*SQLiteDB) GetMeltQuote ¶
func (*SQLiteDB) GetMintQuote ¶
func (*SQLiteDB) GetProofsUsed ¶
func (*SQLiteDB) SaveMeltQuote ¶
func (*SQLiteDB) SaveMintQuote ¶
func (*SQLiteDB) UpdateKeysetActive ¶
func (*SQLiteDB) UpdateMeltQuote ¶
Click to show internal directories.
Click to hide internal directories.