Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(lnd): add spend_unconfirmed support for estimate fees
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Jan 28, 2021
1 parent 8de5483 commit cf788d1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions proto/0.12.0-beta/lnrpc/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,13 @@ message EstimateFeeRequest {
// The target number of blocks that this transaction should be confirmed
// by.
int32 target_conf = 2;

// The minimum number of confirmations each one of your outputs used for
// the transaction must satisfy.
int32 min_confs = 3;

// Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 4;
}

message EstimateFeeResponse {
Expand Down Expand Up @@ -3146,9 +3153,6 @@ message Payment {
}

message HTLCAttempt {
// The unique ID that is used for this attempt.
uint64 attempt_id = 7;

enum HTLCStatus {
IN_FLIGHT = 0;
SUCCEEDED = 1;
Expand Down
7 changes: 7 additions & 0 deletions proto/0.12.0-beta/walletrpc/walletkit.proto
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,13 @@ message FundPsbtRequest {
*/
uint32 sat_per_vbyte = 4;
}

// The minimum number of confirmations each one of your outputs used for
// the transaction must satisfy.
int32 min_confs = 5;

// Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 6;
}
message FundPsbtResponse {
/*
Expand Down

0 comments on commit cf788d1

Please sign in to comment.