sweep: allow force sweeps

This commit is contained in:
Joost Jager committed 2020-01-15 16:56:44 +01:00
1 parent 14237f5fd4
commit b0aae13d70
9 files changed
+172 -90

No files matched your search

+12
View File
@@ -197,6 +197,12 @@ message PendingSweep {
// The requested fee rate, expressed in sat/byte, for this output.
uint32 requested_sat_per_byte = 9 [json_name = "requested_sat_per_byte"];
/**
Whether this input must be force-swept. This means that it is swept even
if it has a negative yield.
*/
bool force = 7 [json_name = "force"];
}
message PendingSweepsRequest {
@@ -221,6 +227,12 @@ message BumpFeeRequest {
with.
*/
uint32 sat_per_byte = 3 [json_name = "sat_per_byte"];
/**
Whether this input must be force-swept. This means that it is swept even
if it has a negative yield.
*/
bool force = 4 [json_name = "force"];
}
message BumpFeeResponse {