bitpay / bitcore-p2p

Interface to the bitcoin P2P network for bitcore
MIT License
80 stars 276 forks source link

Tor Addr OnionCat IPv6 Parsing #61

Open braydonf opened 9 years ago

braydonf commented 9 years ago

Tor addresses (*.onion) can be mapped into IPv6 addresses (see https://github.com/bitcoin/bitcoin/pull/1174 and https://github.com/bitcoin/bitcoin/blob/master/src/netbase.h#L60) in addr messages to advertise available peers in the network, these messages wouldn't currently be parsed correctly using: https://github.com/bitpay/bitcore-p2p/blob/master/lib/messages/utils.js#L71

Plorark commented 6 years ago

Any updates on this?