lightninglabs / neutrino

Privacy-Preserving Bitcoin Light Client
MIT License
900 stars 183 forks source link

go.mod+neutrino.go: use NetAddressV2 where appropriate #249

Closed Crypt-iQ closed 2 years ago

Crypt-iQ commented 2 years ago

This will allow a caller that uses the neutrino library to receive AddrV2 messages and connect out to tor v3 addresses.

Crypt-iQ commented 2 years ago

Slim diff, though I thought we would've needed some changes to the newAddressFunc?

It calls addrStringToNetAddr which is all that needed to be changed (convert *NetAddressV2 into net.Addr)

Roasbeef commented 2 years ago

Needs a rebase now that the CI issues have been sorted out!