lnrpc: update custom message API to explain ability to override

This commit is contained in:
Carla Kirk-Cohen committed 2023-01-05 12:05:06 -05:00
1 parent c2ce8635e7
commit 1cb08e42ef
4 files changed
+20 -1

No files matched your search

+2 -1
View File
@@ -918,6 +918,7 @@
"/v1/custommessage/subscribe": {
"get": {
"summary": "lncli: `subscribecustom`\nSubscribeCustomMessages subscribes to a stream of incoming custom peer\nmessages.",
"description": "To include messages with type outside of the custom range (\u003e= 32768) lnd\nneeds to be compiled with the `dev` build tag, and the message type to\noverride should be specified in lnd's experimental protocol configuration.",
"operationId": "Lightning_SubscribeCustomMessages",
"responses": {
"200": {
@@ -6616,7 +6617,7 @@
"type": {
"type": "integer",
"format": "int64",
"description": "Message type. This value needs to be in the custom range (\u003e= 32768)."
"description": "Message type. This value needs to be in the custom range (\u003e= 32768).\nTo send a type \u003c custom range, lnd needs to be compiled with the `dev`\nbuild tag, and the message type to override should be specified in lnd's\nexperimental protocol configuration."
},
"data": {
"type": "string",