Merge pull request #5335 from guggero/abandonchannel-no-dev
RPC/CLI: Allow abandonchannel to be used in regular build
This commit is contained in:
5 files changed
+753
-703
No files matched your search
+713
-698
File diff suppressed because it is too large.
Load diff
@@ -3364,6 +3364,13 @@ message AbandonChannelRequest {
|
||||
ChannelPoint channel_point = 1;
|
||||
|
||||
bool pending_funding_shim_only = 2;
|
||||
|
||||
/*
|
||||
Override the requirement for being in dev mode by setting this to true and
|
||||
confirming the user knows what they are doing and this is a potential foot
|
||||
gun to lose funds if used on active channels.
|
||||
*/
|
||||
bool i_know_what_i_am_doing = 3;
|
||||
}
|
||||
|
||||
message AbandonChannelResponse {
|
||||
|
||||
@@ -197,6 +197,14 @@
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "i_know_what_i_am_doing",
|
||||
"description": "Override the requirement for being in dev mode by setting this to true and\nconfirming the user knows what they are doing and this is a potential foot\ngun to lose funds if used on active channels.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
||||
Reference in new issue
Block a user