@@ -307,6 +307,16 @@ var bumpFeeCommand = cli.Command{
307
307
the budget for fee bumping; for existing inputs, their current budgets
308
308
will be retained.` ,
309
309
},
310
+ cli.BoolFlag {
311
+ Name : "include_raw_tx" ,
312
+ Usage : "include the raw transaction hex for the " +
313
+ "sweep transaction on success. " +
314
+ "It waits for the batcher to create a " +
315
+ "transaction, which might take a while. " +
316
+ "The duration is at least as long as " +
317
+ "the configured sweeper.batchwindowduration, " +
318
+ "with the default set to 30 seconds" ,
319
+ },
310
320
},
311
321
Action : actionDecorator (bumpFee ),
312
322
}
@@ -344,11 +354,12 @@ func bumpFee(ctx *cli.Context) error {
344
354
}
345
355
346
356
resp , err := client .BumpFee (ctxc , & walletrpc.BumpFeeRequest {
347
- Outpoint : protoOutPoint ,
348
- TargetConf : uint32 (ctx .Uint64 ("conf_target" )),
349
- Immediate : immediate ,
350
- Budget : ctx .Uint64 ("budget" ),
351
- SatPerVbyte : ctx .Uint64 ("sat_per_vbyte" ),
357
+ Outpoint : protoOutPoint ,
358
+ TargetConf : uint32 (ctx .Uint64 ("conf_target" )),
359
+ Immediate : immediate ,
360
+ Budget : ctx .Uint64 ("budget" ),
361
+ SatPerVbyte : ctx .Uint64 ("sat_per_vbyte" ),
362
+ IncludeRawTx : ctx .Bool ("include_raw_tx" ),
352
363
})
353
364
if err != nil {
354
365
return err
0 commit comments