ListVtxos rpc: return swept vtxos (#168)

This commit is contained in:
Louis Singer
2024-05-06 18:09:11 +02:00
committed by GitHub
parent a3eb64c94c
commit 34aff2c4c3
7 changed files with 97 additions and 78 deletions

View File

@@ -25,5 +25,6 @@ type VtxoRepository interface {
GetVtxosForRound(ctx context.Context, txid string) ([]Vtxo, error)
SweepVtxos(ctx context.Context, vtxos []VtxoKey) error
GetAllVtxos(ctx context.Context, pubkey string) ([]Vtxo, []Vtxo, error)
GetAllSweepableVtxos(ctx context.Context) ([]Vtxo, error)
UpdateExpireAt(ctx context.Context, vtxos []VtxoKey, expireAt int64) error
}