mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 07:33:01 +02:00
sqldb: add a temporary index to store KV invoice hash to ID mapping
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user