From 464f57d3a5558ebb9f2521fcf7341e1e6b66115d Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Mon, 13 Nov 2017 17:06:50 -0800 Subject: [PATCH] lnrpc: update godoc for 'private' flag --- lnrpc/rpc.pb.go | 4 +--- lnrpc/rpc.proto | 5 +---- lnrpc/rpc.swagger.json | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index 8e91a8aa..37c778a8 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -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"` } diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index eaff16c2..6f856d3e 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -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 { diff --git a/lnrpc/rpc.swagger.json b/lnrpc/rpc.swagger.json index 868489eb..e7247591 100644 --- a/lnrpc/rpc.swagger.json +++ b/lnrpc/rpc.swagger.json @@ -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." } } },