drop the p2p_

This commit is contained in:
Ethan Buchman 2016-05-11 23:47:51 -04:00
parent 7d997ca8e6
commit ffbd6d8782
1 changed files with 6 additions and 6 deletions

View File

@ -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) {