60 Commits (08a86a2b85beaf57d395858d4a7c964dc2653bdf)

Author SHA1 Message Date
subtly 7492c9c833 fix typo 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
subtly 3e2572e6a2 constant for discovery protocol version 10 years ago
subtly b8f49b0929 Ignore 0.0.0.0 addresses. 10 years ago
subtly a78eee5861 bump discovery version 10 years ago
subtly eaa5908a3d code review. collapse if statement. 10 years ago
subtly f5e03f5550 code review 10 years ago
subtly 29cce7b80d remove commented code 10 years ago
subtly 46692bcf32 track pings where pubk is unknown so pongs are properly handled 10 years ago
subtly b4661aeb4c Reduce verbosity of node table logging. 10 years ago
Gav Wood 2c6b18f01b Add EVMJIT. 10 years ago
subtly 57f6aacf9e update last discovery timepoint 10 years ago
subtly 3291bc1d9a perform node discovery when there aren't enough nodes 10 years ago
subtly 7a126cf223 update nodebucket modification time when node is inserted or bucket is refreshed so bucket-refresh doesn't loop 10 years ago
subtly a153d078bc Prevent infinite sleep on connect. Write settings before shutdown of web3. 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
Felix Lange 3d2e72ce77 libp2p: distinguish discovery packets by packet type 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 8845967a1d coding standards 10 years ago
subtly c01b6da434 cleanup 10 years ago
subtly f63e53f735 cleanup, sanity checks, and last pass of noting todos. 10 years ago
subtly f0a06fa115 evictions logic 10 years ago
subtly 75f231419a Connectivity and nodetable callbacks. Disable stale code. 10 years ago
subtly 94c09508fd Merging in new data structure for nodes from node-table. End result will be consolidation into NodeId, Node (id and endpoints), NodeEntry (as in table), and Peer (connected node as in host). Rename PeerInfo to PeerSessionInfo. Rename NodeInfo to PeerInfo. PeerSessionInfo which is information about the Peer connection and will be split/merged into Node and PeerInfo. Add node-table callbacks for Host to perform connect node if there are not enough nodes. 10 years ago
subtly 40e07b312a Consolidate use of pingAll into keepAlivePeers. Add bool operators for Node and NodeIPEndpoint population. NodeTable returns Node instead of NodeEntry (subject to change). Begin transition from NodeInfo to NodeTable Node. 10 years ago
subtly fa11fc0149 Persist host identifier to disk. Replace noteNode with addNode. Add udp node port to connect. Add addNode to node table which pings node, potentially adding node to table if node respons. Rename NodeEndpoint to NodeIPEndpoint. 10 years ago
subtly da9668c0f5 Pass 2 integrating node table. Pruning and merging old node lifecycle logic with new. 10 years ago
subtly e9f4a7a439 code review 10 years ago
subtly 4ba309d9ac code review fixes. remove std::, fix improper naming of class members, camelCase ivars for readability. 10 years ago
subtly 5436f90f04 Pass 1 integrating node table. TBD: whether to store/relay cap info. 10 years ago
subtly 44f80248ad coding standards, h512 node id, mute warnings for clang builds. attempt inherited constructor fix for windows. 10 years ago
subtly 70b4389b09 distance isn't hamming 10 years ago
subtly a54e2cee9a code review updates 10 years ago
subtly cffc27417a inline << operator, mute logging 10 years ago