secio then noise (#213)
* secio then noise much fewer peers on witti with noise first * comment
This commit is contained in:
parent
1afec627c2
commit
92579435b6
|
@ -28,8 +28,9 @@ proc newStandardSwitch*(privKey = none(PrivateKey),
|
||||||
triggerSelf = false,
|
triggerSelf = false,
|
||||||
gossip = false,
|
gossip = false,
|
||||||
secureManagers: openarray[SecureProtocol] = [
|
secureManagers: openarray[SecureProtocol] = [
|
||||||
|
# TODO investigate why we're getting fewer peers on public testnets with noise
|
||||||
|
SecureProtocol.Secio,
|
||||||
SecureProtocol.Noise, # array cos order matters
|
SecureProtocol.Noise, # array cos order matters
|
||||||
SecureProtocol.Secio
|
|
||||||
],
|
],
|
||||||
verifySignature = libp2p_pubsub_verify,
|
verifySignature = libp2p_pubsub_verify,
|
||||||
sign = libp2p_pubsub_sign,
|
sign = libp2p_pubsub_sign,
|
||||||
|
|
Loading…
Reference in New Issue