mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
rename private_peers to private_peer_ids to distinguish from peers
This commit is contained in:
+2
-2
@@ -289,8 +289,8 @@ type P2PConfig struct {
|
||||
// Authenticated encryption
|
||||
AuthEnc bool `mapstructure:"auth_enc"`
|
||||
|
||||
// Comma separated list of nodes to keep private (will not be gossiped to other peers) connections to
|
||||
PrivatePeers string `mapstructure:"private_peers"`
|
||||
// Comma separated list of peer IDs to keep private (will not be gossiped to other peers)
|
||||
PrivatePeerIDs string `mapstructure:"private_peer_ids"`
|
||||
}
|
||||
|
||||
// DefaultP2PConfig returns a default configuration for the peer-to-peer layer
|
||||
|
||||
+2
-2
@@ -162,8 +162,8 @@ seed_mode = {{ .P2P.SeedMode }}
|
||||
# Authenticated encryption
|
||||
auth_enc = {{ .P2P.AuthEnc }}
|
||||
|
||||
# Comma separated list of nodes to keep private (will not be gossiped to other peers) connections to
|
||||
private_peers = {{ .P2P.PrivatePeers }}
|
||||
# Comma separated list of peer IDs to keep private (will not be gossiped to other peers)
|
||||
private_peer_ids = {{ .P2P.PrivatePeerIDs }}
|
||||
|
||||
##### mempool configuration options #####
|
||||
[mempool]
|
||||
|
||||
Reference in New Issue
Block a user