Support for feature bits: IPv4_LISTEN and IPv6_LISTEN

Share IPv4/IPv6 peer connections only if supported by the remote peer.
This commit is contained in:
Kleissner
2021-04-05 14:58:47 +02:00
parent d83123bf46
commit b2cbe2d066
6 changed files with 76 additions and 23 deletions

2
go.mod
View File

@@ -3,7 +3,7 @@ module github.com/PeernetOfficial/core
go 1.16
require (
github.com/PeernetOfficial/core/dht v0.0.0-20210316211915-8b329f7258d1
github.com/PeernetOfficial/core/dht v0.0.0-20210405124533-d83123bf46c9
github.com/PeernetOfficial/core/reuseport v0.0.0-20210316211915-8b329f7258d1
github.com/btcsuite/btcd v0.21.0-beta
golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b