Add expireAt member in ListVtxo RPC (#160)

This commit is contained in:
Louis Singer
2024-05-01 16:42:13 +02:00
committed by GitHub
parent 02ff7c7ed9
commit f1b83bd522
13 changed files with 165 additions and 90 deletions

View File

@@ -25,4 +25,5 @@ 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)
UpdateExpireAt(ctx context.Context, vtxos []VtxoKey, expireAt int64) error
}