Documentation ¶
Index ¶
- type SQLiteDB
- func (sqlite *SQLiteDB) AddPendingProofs(proofs cashu.Proofs, quoteId string) error
- func (sqlite *SQLiteDB) Close()
- func (sqlite *SQLiteDB) GetBalance() (uint64, error)
- func (sqlite *SQLiteDB) GetBlindSignature(B_ string) (cashu.BlindedSignature, error)
- func (sqlite *SQLiteDB) GetBlindSignatures(B_s []string) (cashu.BlindedSignatures, error)
- func (sqlite *SQLiteDB) GetKeysets() ([]storage.DBKeyset, error)
- func (sqlite *SQLiteDB) GetMeltQuote(quoteId string) (storage.MeltQuote, error)
- func (sqlite *SQLiteDB) GetMeltQuoteByPaymentRequest(invoice string) (*storage.MeltQuote, error)
- func (sqlite *SQLiteDB) GetMintQuote(quoteId string) (storage.MintQuote, error)
- func (sqlite *SQLiteDB) GetMintQuoteByPaymentHash(paymentHash string) (storage.MintQuote, error)
- func (sqlite *SQLiteDB) GetPendingProofs(Ys []string) ([]storage.DBProof, error)
- func (sqlite *SQLiteDB) GetPendingProofsByQuote(quoteId string) ([]storage.DBProof, error)
- func (sqlite *SQLiteDB) GetProofsUsed(Ys []string) ([]storage.DBProof, error)
- func (sqlite *SQLiteDB) GetSeed() ([]byte, error)
- func (sqlite *SQLiteDB) RemovePendingProofs(Ys []string) error
- func (sqlite *SQLiteDB) SaveBlindSignature(B_ string, blindSignature cashu.BlindedSignature) 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) AddPendingProofs ¶ added in v0.3.0
func (*SQLiteDB) GetBalance ¶
func (*SQLiteDB) GetBlindSignature ¶ added in v0.3.0
func (sqlite *SQLiteDB) GetBlindSignature(B_ string) (cashu.BlindedSignature, error)
func (*SQLiteDB) GetBlindSignatures ¶ added in v0.3.0
func (sqlite *SQLiteDB) GetBlindSignatures(B_s []string) (cashu.BlindedSignatures, error)
func (*SQLiteDB) GetMeltQuote ¶
func (*SQLiteDB) GetMeltQuoteByPaymentRequest ¶ added in v0.3.0
func (*SQLiteDB) GetMintQuote ¶
func (*SQLiteDB) GetMintQuoteByPaymentHash ¶ added in v0.3.0
func (*SQLiteDB) GetPendingProofs ¶ added in v0.3.0
func (*SQLiteDB) GetPendingProofsByQuote ¶ added in v0.3.0
func (*SQLiteDB) GetProofsUsed ¶
func (*SQLiteDB) RemovePendingProofs ¶ added in v0.3.0
func (*SQLiteDB) SaveBlindSignature ¶ added in v0.3.0
func (sqlite *SQLiteDB) SaveBlindSignature(B_ string, blindSignature cashu.BlindedSignature) error
func (*SQLiteDB) SaveMeltQuote ¶
func (*SQLiteDB) SaveMintQuote ¶
func (*SQLiteDB) UpdateKeysetActive ¶
func (*SQLiteDB) UpdateMeltQuote ¶
Click to show internal directories.
Click to hide internal directories.