drop the p2p_
This commit is contained in:
parent
7d997ca8e6
commit
ffbd6d8782
12
config.go
12
config.go
|
@ -6,14 +6,14 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Switch config keys
|
// Switch config keys
|
||||||
configKeyDialTimeoutSeconds = "p2p_dial_timeout_seconds"
|
configKeyDialTimeoutSeconds = "dial_timeout_seconds"
|
||||||
configKeyHandshakeTimeoutSeconds = "p2p_handshake_timeout_seconds"
|
configKeyHandshakeTimeoutSeconds = "handshake_timeout_seconds"
|
||||||
configKeyMaxNumPeers = "p2p_max_num_peers"
|
configKeyMaxNumPeers = "max_num_peers"
|
||||||
configKeyAuthEnc = "p2p_authenticated_encryption"
|
configKeyAuthEnc = "authenticated_encryption"
|
||||||
|
|
||||||
// MConnection config keys
|
// MConnection config keys
|
||||||
configKeySendRate = "p2p_send_rate"
|
configKeySendRate = "send_rate"
|
||||||
configKeyRecvRate = "p2p_recv_rate"
|
configKeyRecvRate = "recv_rate"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setConfigDefaults(config cfg.Config) {
|
func setConfigDefaults(config cfg.Config) {
|
||||||
|
|
Loading…
Reference in New Issue