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:
3 files changed
+2404
-2357
No files matched your search
+2382
-2357
File diff suppressed because it is too large.
Load diff
@@ -1545,6 +1545,13 @@ message Channel {
|
|||||||
|
|
||||||
// This is the peer SCID alias.
|
// This is the peer SCID alias.
|
||||||
uint64 peer_scid_alias = 35 [jstype = JS_STRING];
|
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 {
|
message ListChannelsRequest {
|
||||||
@@ -2274,6 +2281,13 @@ message OpenChannelRequest {
|
|||||||
be zero and is ignored.
|
be zero and is ignored.
|
||||||
*/
|
*/
|
||||||
bool fund_max = 26;
|
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 {
|
message OpenStatusUpdate {
|
||||||
oneof update {
|
oneof update {
|
||||||
|
|||||||
@@ -3573,6 +3573,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "uint64",
|
"format": "uint64",
|
||||||
"description": "This is the peer SCID alias."
|
"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": {
|
"fund_max": {
|
||||||
"type": "boolean",
|
"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."
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user