Description

NewNetAddress returns a new NetAddress using the provided TCP address and supported services with defaults for the remaining fields.

Note that addr must be a net.TCPAddr. An ErrInvalidNetAddr is returned if it is not.

NewNetAddress is referenced in 3 repositories

github.com/btcsuite/btcd github.com/CIRCL/pbtc github.com/jonasnick/btcP2P