lnrpc: update godoc for 'private' flag

This commit is contained in:
Johan T. Halseth authored and Olaoluwa Osuntokun committed 2017-12-17 18:35:34 -08:00
1 parent f06f6bc869
commit 464f57d3a5
3 files changed
+3 -8

No files matched your search

+1 -3
View File
@@ -1547,9 +1547,7 @@ type OpenChannelRequest struct {
TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty"`
// / A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty"`
// *
// Whether this channel is private and if so, should not be announced to the
// greater network
// / Whether this channel should be private, not announced to the greater network.
Private bool `protobuf:"varint,8,opt,name=private" json:"private,omitempty"`
}
+1 -4
View File
@@ -877,10 +877,7 @@ message OpenChannelRequest {
/// A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
int64 sat_per_byte = 7;
/**
Whether this channel is private and if so, should not be announced to the
greater network
*/
/// Whether this channel should be private, not announced to the greater network.
bool private = 8 [json_name = "private"];
}
message OpenStatusUpdate {
+1 -1
View File
@@ -1613,7 +1613,7 @@
"private": {
"type": "boolean",
"format": "boolean",
"title": "*\nWhether this channel is private and if so, should not be announced to the\ngreater network"
"description": "/ Whether this channel should be private, not announced to the greater network."
}
}
},