82 Commits (88fa4830554a8afe3db23b6bb31c25fedc67af5b)

Author SHA1 Message Date
subtly 29f40bff0f makePeer and support setting listen IP. 10 years ago
subtly 93593a8751 updae legacy codepath 10 years ago
Gav Wood 65de6aaa4d Diagnostics and API cleanup. 10 years ago
subtly f1efb7c3f9 fix coding standards 10 years ago
subtly 80edf61630 changes from code review 10 years ago
subtly fc1ea097aa packet-type interop w/go 10 years ago
subtly df96fcd03b separate packet type. add coding. 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 7386ad2606 prep for framing. remove unused raw network send() methods from capabilities. bump protocol version. back out magic sequence packet prefix. 10 years ago
subtly d137581c7f authenticated capability (hello) and handshake authentication 10 years ago
Lefteris Karapetsas 4a9b2fa0c5 StructuredLogger's functions all become static and call the singleton getter. 10 years ago
Lefteris Karapetsas 0fba1cc063 Adding number of connections in the p2p events 10 years ago
Lefteris Karapetsas 623d640fb5 StructuredLogger becomes a global singleton class 10 years ago
Lefteris Karapetsas 643499e491 Add p2p disconnected structured log event 10 years ago
Gav Wood 2c6b18f01b Add EVMJIT. 10 years ago
Gav Wood 0696ee87da Windows compile fix. 10 years ago
subtly 572e451bab Added session to hostcapabilityface::peers to ensure it isn't deallocated when shared-ptr to cap is returned. Previously hosts depended on using Session however this could result in an infinite session when hostcapface::peers is processed concurrently (mutexes can make this a likely event). This will be cleaner with better integration of Session and Peer. 10 years ago
subtly c60b0099c7 update last disconnect for fallback timer after successful connect. 10 years ago
subtly e9538b23c8 updates for code-review 10 years ago
Gav Wood cfea250787 Avoid pulling in unnecessary stuff. 10 years ago
subtly 92f9ec8c42 import/export peers and nodes 10 years ago
subtly 6381706c66 fix ping-timeouts 10 years ago
subtly 98a2d193c2 updates and fixes for code review 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 f63e53f735 cleanup, sanity checks, and last pass of noting todos. 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 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
Gav Wood ac583f503f Implemented 256-long history for PREVHASH, though still optional. 10 years ago
subtly 71bf6e7ede udp != tcp. history-commit. 10 years ago
subtly a23251e9ac network: move static system-network functions into Network class. Further simplifaction of network lifecycle. 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
Gav Wood 844a50d2bb Fix for moving to super-low number of ideal peers. 10 years ago
Gav Wood 3ceae64f34 Subtle sync state-change bug that was declaring perfectly fine nodes to 10 years ago
Gav Wood 8f769eae05 Avoid effective disconnect when ignoring data. 10 years ago
Gav Wood 9600da565e Don't be quite so punitive when peer sontinues sending packets for a 10 years ago
Gav Wood 1faaed3395 Make bad protocol disconnects a bit more obvious. 10 years ago
Gav Wood 459b0c534c More node list UX nicities. 10 years ago
Gav Wood d74db4083c Move Dagger to ProofOfWork and refactor in preparation for ARPoW. 10 years ago
Gav Wood 7b48050a04 Avoid public/private IP kludge. 10 years ago
Gav Wood 86127f3820 Avoid trying to connect to obviously private ports. 10 years ago
Gav Wood 61b786b70a Avoid listening to peers telling us of wierd ports. 10 years ago
Gav Wood 3ac0eb089b Kill old database (invalid transactions in there). 10 years ago
Gav Wood 0652e3ed4f Fix a previous bad fix. 10 years ago
Gav Wood 33ec3ca35d Pinging, stake disconnecting and better UI. 10 years ago
Gav Wood 2e972be640 Efforts to make reconnect timing strategy more expansive and consistent. 10 years ago