subtly
1aabac3cfc
Increase frequency of node discovery by factor of 8 (random lookup every 7 seconds).
10 years ago
subtly
fc34ceb83f
Guard m_node.endpoint access and updates.
10 years ago
Gav Wood
fda1fe5d37
Threading fixes & cleanup.
10 years ago
arkpar
5028ce3131
fixed a comment after sloppy merge
10 years ago
subtly
e2c21916ef
Fix mutex when evicting node from node table.
10 years ago
arkpar
cc5a617aa6
set and map to hash tables
10 years ago
subtly
03db500f33
Merge stash into discovery.
10 years ago
subtly
ee1339c0cc
Add nodes directly to node table when creating network.
10 years ago
subtly
d300143e12
Apply sha3 so that xor operation for kademlia metric isn't skewed by EC point encoding.
10 years ago
subtly
c84d5f30bb
update pong encoding
10 years ago
subtly
52a219c4ce
revert code from timestamps back to cache timers
10 years ago
subtly
00cbab85ae
fix for insensitive windows compiler which reserves 'inline'. default initial values for packet timestamps.
10 years ago
subtly
eb946bb1ed
cleanup
10 years ago
subtly
e606ef9a59
check node discovery timestamps.
10 years ago
subtly
b3f4e7777b
Minor semantic updates. Support unspecified address for NodeIPEndpoint.
10 years ago
subtly
50f5c96e9c
handle new endpoint properties for ping
10 years ago
subtly
e9dfa8642e
compiles (v4 endpoint changes)
10 years ago
Gav Wood
dad9a32d33
Better logging.
10 years ago
subtly
2dbee779c8
naming. consistent use of uint16_t for port.
10 years ago
subtly
7492c9c833
fix typo
10 years ago
subtly
49c4bba993
cleanup/prep endpoint semantics for #1558 and #1557
10 years ago
subtly
08a913921b
Drop unsolicited neighbours packets. Resolves #1556 .
10 years ago
subtly
a0e3e82689
NodeTable bug fixes. Fix rlp message size calculation for neighbours packet. Increase refersh interval. Fix log output.
10 years ago
subtly
29f40bff0f
makePeer and support setting listen IP.
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
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
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
a78eee5861
bump discovery version
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
b4661aeb4c
Reduce verbosity of node table logging.
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
jhuntley
f7508dfc8a
Avoid boost include order issue on windows:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859
Make sure boost/asio.hpp is included before windows.h.
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Paweł Bylica
e15859ed27
Windows fixes
10 years ago
Gav Wood
5d15c00aba
Windows warning fix.
10 years ago
subtly
a406402a4c
Fixes for uninit. shared pointers and add const&.
10 years ago
subtly
e9538b23c8
updates for code-review
10 years ago
subtly
92f9ec8c42
import/export peers and nodes
10 years ago
Felix Lange
a1911f3495
libp2p: add expiration to serialized Pong packets
10 years ago
Felix Lange
3d2e72ce77
libp2p: distinguish discovery packets by packet type
10 years ago
subtly
2f3ab3a92d
add expiration to pong
10 years ago
subtly
98a2d193c2
updates and fixes for code review
10 years ago
subtly
a73f1fa7c5
add packet-type. prep for node-discovery interop.
10 years ago
subtly
d7e3065f97
Remove unused code paths with confidence. Rename key/identity to alias. Inherit Peer from Node and update Host/Session to use Node::endpoint instead of previous Peer::address.
10 years ago