lnrpc+routerrpc+lncli: add allow_self_payments safety flag

This commit is contained in:
Joost Jager committed 2019-11-26 10:15:46 +01:00
1 parent f8e9efbf99
commit 2d19201ede
8 files changed
+759 -689

No files matched your search

+5
View File
@@ -3717,6 +3717,11 @@
"format": "byte"
},
"description": "* \nAn optional field that can be used to pass an arbitrary set of TLV records\nto a peer which understands the new records. This can be used to pass\napplication specific data during the payment attempt. When using REST, the\nvalues must be encoded as base64."
},
"allow_self_payment": {
"type": "boolean",
"format": "boolean",
"description": "/ If set, circular payments to self are permitted."
}
}
},