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
Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 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
Ethan Buchman
0450e35d67
some comments
7 years ago
Ethan Buchman
3ee1d7909e
p2p: explicit netaddress errors
7 years ago
Ethan Buchman
936d1a0e68
some notes about the p2p layer
7 years ago
Anton Kaliaev
904a3115a6
require addresses to have an ID by default
Refs #1228
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Jae Kwon
901b456151
P2P now works with Amino
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
68237911ba
NetAddress.Same checks ID or DialString
7 years ago
Ethan Buchman
53a5498fc5
more fixes from review
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
Ethan Buchman
7d35500e6b
p2p: add ID to NetAddress and use for AddrBook
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
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Ethan Buchman
23a6a6f8fc
move into p2p package
8 years ago
Ethan Buchman
eaeb547938
use tmlibs
8 years ago
Anton Kaliaev
6dc113aa80
[netaddress] panic only when normal run
8 years ago
Ethan Buchman
0e7baf027b
some dial seeds fixes
8 years ago
rigelrozanski
26275ba66c
dial seeds error handling
8 years ago
Ethan Buchman
711d2541f5
MakeConnectedSwitches function
9 years ago
Jae Kwon
abc3a2cc3c
initial commit
9 years ago