107 Commits (e1634a9dcb81dc66b25b73cb0cb36e945c56cf62)

Author SHA1 Message Date
subtly 614b61b67a Fix deadlineop/ops mutexes. Rerun discovery regardless of whether timer is cancelled, due to asio prematurely cancelling timer. 10 years ago
subtly f0c925086d Fixes for #2337, #2349, #2288, #2333, #1398. 10 years ago
subtly 0a0d36382b Fix bool. 10 years ago
subtly 30e47e38cb Slightly more aggressive 'require peer', required-peer pinning, and option to disable discovery. 10 years ago
subtly d4724ee9aa Catch exception for maformed rlp received by node table. 10 years ago
Paweł Bylica 4205cf79f9 Remove pessimising moves. 10 years ago
arkpar b7683a8c65 fixed m_pubkDiscoverPings guard 10 years ago
subtly fc34ceb83f Guard m_node.endpoint access and updates. 10 years ago
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. 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 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