73 Commits (09094cbc07e5f533c161d567a9c03b9549db543a)

Author SHA1 Message Date
subtly 80edf61630 changes from code review 10 years ago
subtly 3292c58599 bugfix and doc clarification. fix test. 10 years ago
subtly 529fda3a95 lifecycle management of handshake sessions 10 years ago
subtly fc1ea097aa packet-type interop w/go 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 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
jhuntley e1e7b227df Avoid boost include order issue on windows: 10 years ago
Lefteris Karapetsas 3874c78d06 More style fixes 10 years ago
subtly dc1bb1d28b build fix 10 years ago
Lefteris Karapetsas 5f191f4f89 Indentation style fixes 10 years ago
Lefteris Karapetsas 623d640fb5 StructuredLogger becomes a global singleton class 10 years ago
Lefteris Karapetsas ba81493976 StructuredLogger propagated as a const reference 10 years ago
Lefteris Karapetsas d0c1c510bd Adding StructuredLogger class and using it in various places 10 years ago
Lefteris Karapetsas 5695d0ee25 Adding argument for structured logging and propagating it forward 10 years ago
subtly 30e75e2659 initial ecies interop w/go 10 years ago
subtly f6fc86e992 fix curlies. remove unused transition methods. 10 years ago
subtly 4ebc2f8320 reenable sessions. more refactor. 10 years ago
subtly f6d5aa75a0 refactor of handshake. first pass, compiles. 10 years ago
subtly 4814303c09 initial handshake on the wire 10 years ago
subtly eb2a4e375a update for cr. update whisper test. 10 years ago
subtly e9538b23c8 updates for code-review 10 years ago
subtly 92f9ec8c42 import/export peers and nodes 10 years ago
subtly 5566f335e8 Comments for socket in acceptor. Remove start arg from Host constructor; it is not used and conflicts with restoreNodes being used to set node credentials. 10 years ago
subtly 6381706c66 fix ping-timeouts 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
subtly c01b6da434 cleanup 10 years ago
subtly f63e53f735 cleanup, sanity checks, and last pass of noting todos. 10 years ago
subtly d13f69da59 fix merge conflict 10 years ago
subtly 7ac5c12978 peerinfo created closer to authentication (when it's known). fixes missing m_peer on connect. 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 5436f90f04 Pass 1 integrating node table. TBD: whether to store/relay cap info. 10 years ago
subtly 71bf6e7ede udp != tcp. history-commit. 10 years ago
subtly ce92f4dc72 cleanup 10 years ago
subtly a23251e9ac network: move static system-network functions into Network class. Further simplifaction of network lifecycle. 10 years ago
subtly b10eddc85e static to member in Host::run() 10 years ago
subtly 8005012f6c fix naming 10 years ago
subtly 43bf0f01c7 require ioservice to use multiple threads. thread-safe connecting to nodes. 10 years ago
subtly 1bdf76922e remove spontaneous whitespace 10 years ago
subtly 24bbbefd5d pr fixes. refactor of network code. moved network-start methods into static methods, as they can only be called during certain stages or do not need Host class. Mutex start/stop. Added m_ifAddresses and removed m_addresses. Rewrite determinePublic. IP address preference is now: user-supplied public > user-supplied private (if localnetwork enabled) > first public4 interface > upnp4 > first private4 interface (if localnetwork enabled) > unspecified. IPv6 addresses are currently ignored (unless manually entered by user) until link-local addresses can be properly detected. 10 years ago
subtly c479f23561 remove unused method. skip upnp for ipv6. 10 years ago
subtly de099b2d8b remove network pause. 10 years ago