subtly
1744a32547
less tolerant connection errors
10 years ago
subtly
b1ec65596f
fix bug found in code review.
10 years ago
subtly
8f68a846da
nodeid doesn't cast to a bool (bug)
10 years ago
subtly
9710ce3b7e
Fix #1475
10 years ago
subtly
446471d569
Explicit instantiation to prevent reference and force copy of shared-ptr. Potential fix for #1366 .
10 years ago
Gav Wood
076f787af9
Minor refactor.
10 years ago
subtly
b9918f94fa
bugfix. handle recv after disconnect.
10 years ago
subtly
1cd510a541
coding standards
10 years ago
subtly
8568370a49
use explicit name of const
10 years ago
subtly
86092b27ed
remove unused method
10 years ago
Gav Wood
91d85a4023
Fix a load of horrible style that got through.
Fix blockchain tests so they don't clobber the AZ blockchain DB!
Make TransientDirectory use a temp path unless otherwise instructed.
10 years ago
subtly
55986db377
synchronous resolver
10 years ago
subtly
521bf5b384
style
10 years ago
Gav Wood
25333cace3
Clean up variable names.
10 years ago
subtly
b3393ffcba
style
10 years ago
subtly
88fa483055
fix neth. fix issue w/udp listening to 30303.
10 years ago
subtly
b05546fef6
dealloc basic timers first
10 years ago
subtly
549ab88609
garbage collect timers
10 years ago
subtly
29f40bff0f
makePeer and support setting listen IP.
10 years ago
subtly
93593a8751
updae legacy codepath
10 years ago
subtly
bb261e553a
update CLI and AZ UI for replacing local-networking with explicit --listen-ip
10 years ago
subtly
3c1ae84557
inc failedattempt for handshake
10 years ago
subtly
11d2446247
api cleanup. connect peer when required.
10 years ago
subtly
c887d5c0d2
Don't create address from empty string. Use member property instead of parameter.
10 years ago
subtly
4da7a0f4c6
initial requirepeer
10 years ago
subtly
14e83ffb28
clarify method doc
10 years ago
subtly
5959a58071
abstract overriding tcp endpoint
10 years ago
subtly
a5d2567e81
only override tcp address if udp address is public. allow remotes which advertise 0.0.0.0.
10 years ago
subtly
89b484e3ef
better handshake error logging, esp when remote disconnects
10 years ago
subtly
015c1681fb
adopt node IP address from udp header when ping.ipAddress isn't public
10 years ago
subtly
8fb315be49
refactor network prefs
10 years ago
subtly
45df4ab10f
isIPType helpers
10 years ago
subtly
1cb510dbd0
Fallback to 0.0.0.0 if bind fails. Bump handshake timeout until we switch back to secp256k1.
10 years ago
Gav Wood
22b45721d8
Better NodeTable error detection.
10 years ago
subtly
887cdf4bfb
gracefully handle old pingnode packet
10 years ago
subtly
74335368ff
add version to packet payload
10 years ago
subtly
5c5c01a6e9
fix public-key discovery ping
10 years ago
subtly
f64bf8f17a
Bug fix. Add destination node to expected discovery ping instead of ourselves.
10 years ago
subtly
6093170990
consistent and explicit use of constant for devp2p protocol version
10 years ago
subtly
7445f9020e
Merge host and nodetable network protocol version.
10 years ago
subtly
14c2e4cab8
fix net/ unit tests for nodetable updates
10 years ago
Gav Wood
65de6aaa4d
Diagnostics and API cleanup.
10 years ago
subtly
ee7608fe60
NodeTable constructor requires and listens to explicit IP address instead of defaulting to 0.0.0.0 (all addresses).
10 years ago
subtly
8cc7fb94ba
codingstandards
10 years ago
subtly
3e2572e6a2
constant for discovery protocol version
10 years ago
subtly
b8f49b0929
Ignore 0.0.0.0 addresses.
10 years ago
subtly
11c1b13e27
clarify peersAdded log. Increment failedAttempts so fallback timer goes up.
Temporarily exclude private addresses from network-restore. This exclusion will be removed when unit tests are written for local/private/public/failed-pnp scenarios.
10 years ago
subtly
360e2a32bc
update version number for save/restore of nodeTable
10 years ago
subtly
14568fc839
logging for handshake timeout
10 years ago
subtly
bc0100e48e
Add response timeout to handshake. Update cancel() to prevent race condition.
10 years ago