Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cmd/commands/walletrpc_active.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,14 @@ var bumpFeeCommand = cli.Command{
required. When the deadline is reached, ALL the budget will be spent as
fee.`,
},
cli.BoolFlag{
Name: "include_raw_tx",
Usage: `
Whether to include the raw transaction hex in the response. This is
useful for cases where the transaction does not propagate and the caller
wants to manually broadcast it. Note that setting this to true will
cause the command to block until the sweep transaction is created.`,
},
},
Action: actionDecorator(bumpFee),
}
Expand Down Expand Up @@ -359,6 +367,7 @@ func bumpFee(ctx *cli.Context) error {
Budget: ctx.Uint64("budget"),
SatPerVbyte: ctx.Uint64("sat_per_vbyte"),
DeadlineDelta: uint32(ctx.Uint64("deadline_delta")),
IncludeRawTx: ctx.Bool("include_raw_tx"),
})
if err != nil {
return err
Expand Down
Loading
Loading