Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MintDB ¶
type MintDB interface {
GetBalance() (uint64, error)
SaveSeed([]byte) error
GetSeed() ([]byte, error)
SaveKeyset(DBKeyset) error
GetKeysets() ([]DBKeyset, error)
UpdateKeysetActive(keysetId string, active bool) error
SaveProofs(cashu.Proofs) error
GetProofsUsed(Ys []string) ([]cashu.Proof, error)
SaveMintQuote(MintQuote) error
GetMintQuote(string) (*MintQuote, error)
UpdateMintQuoteState(quoteId string, state nut04.State) error
SaveMeltQuote(MeltQuote) error
GetMeltQuote(string) (*MeltQuote, error)
UpdateMeltQuote(quoteId string, preimage string, state nut05.State) error
}
Click to show internal directories.
Click to hide internal directories.