mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
lnrpc: update godoc for 'private' flag
This commit is contained in:
parent
f06f6bc869
commit
464f57d3a5
3 changed files with 3 additions and 8 deletions
|
@ -1547,9 +1547,7 @@ type OpenChannelRequest struct {
|
||||||
TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty"`
|
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.
|
// / 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"`
|
SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty"`
|
||||||
// *
|
// / Whether this channel should be private, not announced to the greater network.
|
||||||
// Whether this channel is private and if so, should not be announced to the
|
|
||||||
// greater network
|
|
||||||
Private bool `protobuf:"varint,8,opt,name=private" json:"private,omitempty"`
|
Private bool `protobuf:"varint,8,opt,name=private" json:"private,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -877,10 +877,7 @@ message OpenChannelRequest {
|
||||||
/// A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
|
/// A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
|
||||||
int64 sat_per_byte = 7;
|
int64 sat_per_byte = 7;
|
||||||
|
|
||||||
/**
|
/// Whether this channel should be private, not announced to the greater network.
|
||||||
Whether this channel is private and if so, should not be announced to the
|
|
||||||
greater network
|
|
||||||
*/
|
|
||||||
bool private = 8 [json_name = "private"];
|
bool private = 8 [json_name = "private"];
|
||||||
}
|
}
|
||||||
message OpenStatusUpdate {
|
message OpenStatusUpdate {
|
||||||
|
|
|
@ -1613,7 +1613,7 @@
|
||||||
"private": {
|
"private": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"format": "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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue