mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04:22 +01:00
msggen: Enable SendCustomMsg
This commit is contained in:
@@ -93,7 +93,7 @@ def load_jsonrpc_service(schema_dir: str):
|
|||||||
"Ping",
|
"Ping",
|
||||||
# "plugin",
|
# "plugin",
|
||||||
# "reserveinputs",
|
# "reserveinputs",
|
||||||
# "sendcustommsg",
|
"SendCustomMsg",
|
||||||
# "sendinvoice",
|
# "sendinvoice",
|
||||||
# "sendonionmessage",
|
# "sendonionmessage",
|
||||||
"SetChannel",
|
"SetChannel",
|
||||||
|
|||||||
18
doc/schemas/sendcustommsg.request.json
Normal file
18
doc/schemas/sendcustommsg.request.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"node_id",
|
||||||
|
"msg"
|
||||||
|
],
|
||||||
|
"added": "v0.10.1",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"node_id": {
|
||||||
|
"type": "pubkey"
|
||||||
|
},
|
||||||
|
"msg": {
|
||||||
|
"type": "hex"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user