lnrpc: add memo field to OpenChannelRequest and ListChannelsResponse

This commit adds the memo field to the protobuf message and generates
the new go files.
This commit is contained in:
shaurya947 committed 2023-05-18 12:50:19 -04:00
1 parent 2fd40d16f1
commit 9feb3dd920
3 files changed
+2404 -2357

No files matched your search

+2382 -2357
View File
File diff suppressed because it is too large. Load diff
+14
View File
@@ -1545,6 +1545,13 @@ message Channel {
// This is the peer SCID alias.
uint64 peer_scid_alias = 35 [jstype = JS_STRING];
/*
An optional note-to-self to go along with the channel containing some
useful information. This is only ever stored locally and in no way impacts
the channel's operation.
*/
string memo = 36;
}
message ListChannelsRequest {
@@ -2274,6 +2281,13 @@ message OpenChannelRequest {
be zero and is ignored.
*/
bool fund_max = 26;
/*
An optional note-to-self to go along with the channel containing some
useful information. This is only ever stored locally and in no way impacts
the channel's operation.
*/
string memo = 27;
}
message OpenStatusUpdate {
oneof update {
+8
View File
@@ -3573,6 +3573,10 @@
"type": "string",
"format": "uint64",
"description": "This is the peer SCID alias."
},
"memo": {
"type": "string",
"description": "An optional note-to-self to go along with the channel containing some\nuseful information. This is only ever stored locally and in no way impacts\nthe channel's operation."
}
}
},
@@ -5820,6 +5824,10 @@
"fund_max": {
"type": "boolean",
"description": "If set, then lnd will attempt to commit all the coins under control of the\ninternal wallet to open the channel, and the LocalFundingAmount field must\nbe zero and is ignored."
},
"memo": {
"type": "string",
"description": "An optional note-to-self to go along with the channel containing some\nuseful information. This is only ever stored locally and in no way impacts\nthe channel's operation."
}
}
},