Anton Kaliaev
c1f264822a
p2p: remove NewNetAddressStringWithOptionalID ( #3711 )
Fixes #3521
The function NewNetAddressStringWithOptionalID is from a time when peer
IDs were optional. They're not anymore. So this should be renamed to
NewNetAddressString and should ensure the ID is provided.
* update changelog
* use NewNetAddress in transport tests
* use NewNetAddress in TestTransportMultiplexAcceptMultiple
6 years ago
Dev Ojha
c17547ac2f
Switch nodeID to use tmhash.Size, add test names for net addr tests ( #2559 )
* Switch nodeID to be tmhash.Size, add test names for net addr tests
Both of these came up when locally trying to change tmhash size.
* fix error introduced by merge
6 years ago
Pierrick Hymbert
1d8348d707
[p2p] Malformed external address causes SIGSEGV (if URL has empty host) ( #2564 )
fix #2071
Signed-off-by: phymbert <pierrick.hymbert@gmail.com>
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Anton Kaliaev
904a3115a6
require addresses to have an ID by default
Refs #1228
7 years ago
Ethan Buchman
44e967184a
p2p: tmconn->conn and types->p2p
7 years ago
Ethan Buchman
5b5cbaa66a
p2p: use sub dirs
7 years ago
Ethan Buchman
e4d52401cf
some fixes from review
7 years ago
Ethan Buchman
6e823c6e87
p2p: support addr format ID@IP:PORT
7 years ago
Anton Kaliaev
c513649df4
strip protocol if defined
Fixes #934
7 years ago
Anton Kaliaev
c609b18698
tolerate unresolvable seeds (Refs #880 )
7 years ago
Petabyte Storage
6b366b2443
fix test using uncommon names
7 years ago
Ethan Frey
57527f9f67
One silly tests passes on osx, fails on linux... comment out so i can develop
8 years ago
Ethan Buchman
23a6a6f8fc
move into p2p package
8 years ago
Anton Kaliaev
fbedb426ce
tests for NetAddress
8 years ago