lnrpc: receive custom message
This commit is contained in:
16 files changed
+4406
-3836
No files matched your search
@@ -884,6 +884,38 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/custommessage/subscribe": {
|
||||
"get": {
|
||||
"summary": "lncli: `subscribecustom`\nSubscribeCustomMessages subscribes to a stream of incoming custom peer\nmessages.",
|
||||
"operationId": "Lightning_SubscribeCustomMessages",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.(streaming responses)",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result": {
|
||||
"$ref": "#/definitions/lnrpcCustomMessage"
|
||||
},
|
||||
"error": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
},
|
||||
"title": "Stream result of lnrpcCustomMessage"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Lightning"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/debuglevel": {
|
||||
"post": {
|
||||
"summary": "lncli: `debuglevel`\nDebugLevel allows a caller to programmatically set the logging verbosity of\nlnd. The logging can be targeted according to a coarse daemon-wide logging\nlevel, or in a granular fashion to specify the logging for a target\nsub-system.",
|
||||
@@ -3830,6 +3862,26 @@
|
||||
"lnrpcConnectPeerResponse": {
|
||||
"type": "object"
|
||||
},
|
||||
"lnrpcCustomMessage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"peer": {
|
||||
"type": "string",
|
||||
"format": "byte",
|
||||
"title": "Peer from which the message originates"
|
||||
},
|
||||
"type": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "Message type. This value will be in the custom range (\u003e= 32768)."
|
||||
},
|
||||
"data": {
|
||||
"type": "string",
|
||||
"format": "byte",
|
||||
"title": "Raw message data"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lnrpcDebugLevelRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in new issue
Block a user