graph/db+sqldb: implement AddEdgeProof

And run `TestAddEdgeProof` against the SQL backends.
This commit is contained in:
Elle Mouton
2025-06-11 17:52:20 +02:00
parent 5d926b39a6
commit d46552f5ad
5 changed files with 88 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ import (
type Querier interface {
AddSourceNode(ctx context.Context, nodeID int64) error
AddV1ChannelProof(ctx context.Context, arg AddV1ChannelProofParams) (sql.Result, error)
ClearKVInvoiceHashIndex(ctx context.Context) error
CountZombieChannels(ctx context.Context, version int16) (int64, error)
CreateChannel(ctx context.Context, arg CreateChannelParams) (int64, error)