Enable relay

This commit is contained in:
Andrea Maria Piana 2022-11-23 11:18:06 +00:00
parent 9f766abcd5
commit ebdc6d2c15
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 1 additions and 0 deletions

View File

@ -424,6 +424,7 @@ var DefaultLibP2POptions = []libp2p.Option{
),
libp2p.EnableNATService(),
libp2p.ConnectionManager(newConnManager(200, 300, connmgr.WithGracePeriod(0))),
libp2p.EnableRelayService(),
libp2p.EnableHolePunching(),
}