mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
lncli: chan_point option for updatechanstatus
This commit is contained in:
parent
738241d5fa
commit
86f1bc7db0
2 changed files with 14 additions and 4 deletions
|
@ -37,13 +37,18 @@ var updateChanStatusCommand = cli.Command{
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "output_index",
|
Name: "output_index",
|
||||||
Usage: "the output index for the funding output of the funding " +
|
Usage: "the output index for the funding output of " +
|
||||||
"transaction",
|
"the funding transaction",
|
||||||
|
},
|
||||||
|
cli.StringFlag{
|
||||||
|
Name: "chan_point",
|
||||||
|
Usage: "the channel whose status should be updated. " +
|
||||||
|
"Takes the form of: txid:output_index",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "action",
|
Name: "action",
|
||||||
Usage: `the action to take: must be one of "enable", "disable", ` +
|
Usage: `the action to take: must be one of "enable", ` +
|
||||||
`or "auto"`,
|
`"disable", or "auto"`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Action: actionDecorator(updateChanStatus),
|
Action: actionDecorator(updateChanStatus),
|
||||||
|
|
|
@ -16,6 +16,10 @@
|
||||||
addholdinvoice`](https://github.com/lightningnetwork/lnd/pull/6577). Users now
|
addholdinvoice`](https://github.com/lightningnetwork/lnd/pull/6577). Users now
|
||||||
need to explicitly specify the `--private` flag.
|
need to explicitly specify the `--private` flag.
|
||||||
|
|
||||||
|
* [Add `chan_point` flag to
|
||||||
|
`updatechanstatus`](https://github.com/lightningnetwork/lnd/pull/6705)
|
||||||
|
to offer a convenient way to specify the channel to be updated.
|
||||||
|
|
||||||
## Database
|
## Database
|
||||||
|
|
||||||
* [Delete failed payment attempts](https://github.com/lightningnetwork/lnd/pull/6438)
|
* [Delete failed payment attempts](https://github.com/lightningnetwork/lnd/pull/6438)
|
||||||
|
@ -77,6 +81,7 @@
|
||||||
* Elle Mouton
|
* Elle Mouton
|
||||||
* ErikEk
|
* ErikEk
|
||||||
* Eugene Siegel
|
* Eugene Siegel
|
||||||
|
* Slyghtning
|
||||||
* Oliver Gugger
|
* Oliver Gugger
|
||||||
* Priyansh Rastogi
|
* Priyansh Rastogi
|
||||||
* Tommy Volk
|
* Tommy Volk
|
||||||
|
|
Loading…
Add table
Reference in a new issue