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 2023-05-03 15:49:50 -04:00
parent 2fd40d16f1
commit 9feb3dd920
No known key found for this signature in database
3 changed files with 2404 additions and 2357 deletions

File diff suppressed because it is too large Load Diff

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 {

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."
}
}
},