sqldb: add a temporary index to store KV invoice hash to ID mapping

This commit is contained in:
Andras Banki-Horvath
2024-09-11 14:14:25 +02:00
parent 3820497d7f
commit b7d743929d
7 changed files with 109 additions and 0 deletions

View File

@@ -87,6 +87,12 @@ type InvoiceHtlcCustomRecord struct {
HtlcID int64
}
type InvoicePaymentHash struct {
ID int32
AddIndex int64
Hash []byte
}
type InvoiceSequence struct {
Name string
CurrentValue int64