Commit eecbdda
committed
rpc: add raw_tx field to BumpFee response
This commit adds an optional include_raw_tx field to BumpFeeRequest
and a raw_tx field to BumpFeeResponse. When include_raw_tx is set to
true, the RPC will wait for the sweep transaction to be created and
return its hex-encoded raw transaction.
This allows users to manually broadcast transactions in cases where
they don't propagate automatically, addressing issue #8470.
Changes:
- Add include_raw_tx bool field to BumpFeeRequest proto
- Add raw_tx string field to BumpFeeResponse proto
- Modify BumpFee implementation to optionally wait for sweep result
- Update sweepNewInput to return result channel
- Add --include_raw_tx flag to lncli wallet bumpfee command
Closes #84701 parent 6a82c61 commit eecbdda
File tree
5 files changed
+503
-412
lines changed- cmd/commands
- lnrpc/walletrpc
5 files changed
+503
-412
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
319 | 327 | | |
320 | 328 | | |
321 | 329 | | |
| |||
359 | 367 | | |
360 | 368 | | |
361 | 369 | | |
| 370 | + | |
362 | 371 | | |
363 | 372 | | |
364 | 373 | | |
| |||
0 commit comments