Gav Wood
97f936d30c
Only report worker stuff when it's laggy.
Cleanups ETH_ -> DEV_
10 years ago
subtly
4ac289be47
fix restore network to support both old and new network file format
10 years ago
subtly
03db500f33
Merge stash into discovery.
10 years ago
subtly
c72b218d88
Code review. Fix inverted peer slot check.
10 years ago
subtly
242d22e67d
dry
10 years ago
Gav Wood
82ca50d234
NewBlockHashes packet, basic implementation.
10 years ago
subtly
ec9a592536
Prevent mass-connections, which otherwise, would result in all connections then being mass-dropped.
10 years ago
subtly
ee1339c0cc
Add nodes directly to node table when creating network.
10 years ago
Vlad Gluhovsky
66c3f1149b
Bugfix: null pointer check is added
10 years ago
subtly
f0e9f6e080
Allow 9x ingress connections so non-nat clients can connect and use the network. To be reduced after greedy go is updated to discontinue filling up the network's connection capacity by accepting connections beyond the ones it didn't make and not connecting to every node on the entire network.
10 years ago
subtly
aec49aa5d1
simple max inc connect limit
10 years ago
subtly
00cbab85ae
fix for insensitive windows compiler which reserves 'inline'. default initial values for packet timestamps.
10 years ago
subtly
b3f4e7777b
Minor semantic updates. Support unspecified address for NodeIPEndpoint.
10 years ago
Gav Wood
87770dad0b
More logging stuff.
Fixes #1680
10 years ago
subtly
e9dfa8642e
compiles (v4 endpoint changes)
10 years ago
subtly
db21824064
network save/restore: merge fixes, simpler code, limit parse of require flag to peers (reflecting save code).
10 years ago
subtly
da63cac309
Fix for fix #1475 , #1476 .
10 years ago
subtly
2dbee779c8
naming. consistent use of uint16_t for port.
10 years ago
subtly
acffe3687d
More peer/node cleanup.
10 years ago
subtly
0981d9b477
revert adding to peer list
10 years ago
subtly
91a8522a9b
Strict Peer construction.
10 years ago
subtly
10a7419823
bit by auto again. don't use unsigned for negative value.
10 years ago
subtly
49c4bba993
cleanup/prep endpoint semantics for #1558 and #1557
10 years ago
subtly
4f1f8560af
coding standards
10 years ago
subtly
7d341bd253
Improve addNode functionality when addNode is called during network startup.
10 years ago
subtly
d203bf6d58
Thread-safe cap initiliazation.
10 years ago
subtly
cb2a9c7b24
Thread-safe initialization of capabilities.
10 years ago
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
Gav Wood
076f787af9
Minor refactor.
10 years ago
subtly
b3393ffcba
style
10 years ago
subtly
88fa483055
fix neth. fix issue w/udp listening to 30303.
10 years ago
subtly
549ab88609
garbage collect timers
10 years ago
subtly
29f40bff0f
makePeer and support setting 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
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
74335368ff
add version to packet payload
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
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
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