Gav Wood
|
da25ad8b9f
|
Fix iteration in evictions.
|
10 years ago |
Gav Wood
|
fda1fe5d37
|
Threading fixes & cleanup.
|
10 years ago |
subtly
|
cd1dc2f5eb
|
fix and add guards
|
10 years ago |
arkpar
|
990582cc7a
|
reverted NodeTable.cpp
|
10 years ago |
arkpar
|
f52f8682c4
|
reverted changed in NodeTable::nearestNodeEntries
|
10 years ago |
subtly
|
e2c21916ef
|
Fix mutex when evicting node from node table.
|
10 years ago |
arkpar
|
de3ff170c8
|
use boost hash function for FixedHash, asio adress. Style fixes
|
10 years ago |
arkpar
|
cc5a617aa6
|
set and map to hash tables
|
10 years ago |
subtly
|
d651501be0
|
Fix network-snapshot method when there's a lot of node activity (dereferencing shared pointer from weak ptr without verifying weak ptr).
|
10 years ago |
subtly
|
03db500f33
|
Merge stash into discovery.
|
10 years ago |
subtly
|
d46bd2b5a3
|
Missed in merge.
|
10 years ago |
subtly
|
c72b218d88
|
Code review. Fix inverted peer slot check.
|
10 years ago |
subtly
|
ee1339c0cc
|
Add nodes directly to node table when creating network.
|
10 years ago |
subtly
|
3ebaffa2c1
|
revert assumption that node exists in nodetable when noteactivenode is called
|
10 years ago |
subtly
|
52a219c4ce
|
revert code from timestamps back to cache timers
|
10 years ago |
subtly
|
52213f258e
|
encapsulate IP endpoint address as byte string
|
10 years ago |
subtly
|
eb946bb1ed
|
cleanup
|
10 years ago |
subtly
|
12fbcc8b5f
|
cleanup
|
10 years ago |
subtly
|
9c541f9694
|
simple endpoint update
|
10 years ago |
subtly
|
e606ef9a59
|
check node discovery timestamps.
|
10 years ago |
Gav Wood
|
87770dad0b
|
More logging stuff.
Fixes #1680
|
10 years ago |
subtly
|
50f5c96e9c
|
handle new endpoint properties for ping
|
10 years ago |
Gav Wood
|
55b9038d6f
|
More awesome logging stuff.
|
10 years ago |
subtly
|
d76dfef797
|
update peer host test. support unspecified ip.
|
10 years ago |
subtly
|
e9dfa8642e
|
compiles (v4 endpoint changes)
|
10 years ago |
Gav Wood
|
dad9a32d33
|
Better logging.
|
10 years ago |
Gav Wood
|
86804fedf1
|
Fix deadlock.
|
10 years ago |
Gav Wood
|
a5f2dc881e
|
New strategy - send all new blocks out, even when (re)syncing (though
only when resyncing < 20 blocks).
Make a note of bad transactions to avoid re-importing when bad nodes
pass them to us.
|
10 years ago |
subtly
|
2dbee779c8
|
naming. consistent use of uint16_t for port.
|
10 years ago |
subtly
|
280df58d94
|
More explicit initialization of nodes and peers.
|
10 years ago |
subtly
|
6cad687c3b
|
Fix neighbours timeout to timeout-based on destination nodeid and not nodeid of the query. Update timeout to allow multiple packets.
|
10 years ago |
subtly
|
7492c9c833
|
fix typo
|
10 years ago |
subtly
|
8cbf9439be
|
remove unneeded cast
|
10 years ago |
subtly
|
dd71358825
|
proper neighbours packet size w/test
|
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
|
521bf5b384
|
style
|
10 years ago |
subtly
|
29f40bff0f
|
makePeer and support setting listen IP.
|
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
|
015c1681fb
|
adopt node IP address from udp header when ping.ipAddress isn't public
|
10 years ago |
Gav Wood
|
22b45721d8
|
Better NodeTable error detection.
|
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 |
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 |