From 0916f3e9b353f9839de702c9b609f3a7f7dc3656 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Mon, 17 Feb 2025 13:05:40 -0300 Subject: [PATCH] walletrpc: fix description of bumpfee.immediate It waits for the next block and sends CPFP even if there are no other inputs to form a batch. --- lnrpc/walletrpc/walletkit.pb.go | 2 +- lnrpc/walletrpc/walletkit.proto | 2 +- lnrpc/walletrpc/walletkit.swagger.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lnrpc/walletrpc/walletkit.pb.go b/lnrpc/walletrpc/walletkit.pb.go index 407533c56..23b423caa 100644 --- a/lnrpc/walletrpc/walletkit.pb.go +++ b/lnrpc/walletrpc/walletkit.pb.go @@ -3116,7 +3116,7 @@ type BumpFeeRequest struct { // the estimated fee rate using the `target_conf` as the starting fee rate. SatPerVbyte uint64 `protobuf:"varint,5,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` // Optional. Whether this input will be swept immediately. When set to true, - // the sweeper will sweep this input without waiting for the next batch. + // the sweeper will sweep this input without waiting for the next block. Immediate bool `protobuf:"varint,6,opt,name=immediate,proto3" json:"immediate,omitempty"` // Optional. The max amount in sats that can be used as the fees. Setting this // value greater than the input's value may result in CPFP - one or more wallet diff --git a/lnrpc/walletrpc/walletkit.proto b/lnrpc/walletrpc/walletkit.proto index 6723903c8..32d1fde07 100644 --- a/lnrpc/walletrpc/walletkit.proto +++ b/lnrpc/walletrpc/walletkit.proto @@ -1216,7 +1216,7 @@ message BumpFeeRequest { /* Optional. Whether this input will be swept immediately. When set to true, - the sweeper will sweep this input without waiting for the next batch. + the sweeper will sweep this input without waiting for the next block. */ bool immediate = 6; diff --git a/lnrpc/walletrpc/walletkit.swagger.json b/lnrpc/walletrpc/walletkit.swagger.json index 1c4175208..baa284f7e 100644 --- a/lnrpc/walletrpc/walletkit.swagger.json +++ b/lnrpc/walletrpc/walletkit.swagger.json @@ -1440,7 +1440,7 @@ }, "immediate": { "type": "boolean", - "description": "Optional. Whether this input will be swept immediately. When set to true,\nthe sweeper will sweep this input without waiting for the next batch." + "description": "Optional. Whether this input will be swept immediately. When set to true,\nthe sweeper will sweep this input without waiting for the next block." }, "budget": { "type": "string",