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
subtly
360e2a32bc
update version number for save/restore of nodeTable
10 years ago
subtly
f5e03f5550
code review
10 years ago
chriseth
79fb35fd69
Exception-throwing assert.
10 years ago
subtly
46692bcf32
track pings where pubk is unknown so pongs are properly handled
correct mutex usage
notify Host of new node only when it is inserted into table
temporarily double discovery timeout until concatenated packets are supported
remove duplicate eviction-timeout entry
update node's udp endpoint when node is noted as active (fixes bug which duplicates NodeEntry)
don't note pending nodes as active, don't add pending nodes to table
change NodeEntryRemoved to NodeEntryDroppped (Remove will be permanent)
note active node after packet is processed instead of before
do not respond to unsolicited packets
store node pubk and tcp endpoint when Ping is received
fix bug in Host causing empty Peer shared-ptr to be created
10 years ago
subtly
55d83c40fa
fix for -warning in cryptopp.cpp. add mutex to host iteration of peers for connect. only try to connect to as many peers as is necessary. update unit test.
10 years ago
subtly
eeeb842192
update doc for disabled code
10 years ago
subtly
529fda3a95
lifecycle management of handshake sessions
10 years ago
subtly
fc1ea097aa
packet-type interop w/go
10 years ago
subtly
df96fcd03b
separate packet type. add coding.
10 years ago
subtly
a0aaf614f3
sharedptr wrapper class for socket
10 years ago
subtly
23a64667e3
classify handshake and begin pulling rlpx into session
10 years ago
subtly
7386ad2606
prep for framing. remove unused raw network send() methods from capabilities. bump protocol version. back out magic sequence packet prefix.
10 years ago
subtly
d137581c7f
authenticated capability (hello) and handshake authentication
10 years ago
jhuntley
6d62e3ab26
Revert all asio.h includes except for in 2 files, DebuggingStateWrapper.h and Transact.cpp. After enabling WIN32_LEAN_AND_MEAN, all the asio.h include issues, commit 20b6e24ffcab088e71092e07030a377d3135da3c, went away.
10 years ago
jhuntley
0bf7d15a57
asio.h and windows.h build comments as per request.
10 years ago