307 Commits (090c892906d83de078827e47620b3cea268eaf04)

Author SHA1 Message Date
subtly eb2a4e375a update for cr. update whisper test. 10 years ago
Lu Guanqun 77a15f749f change typedef to using according to preferred coding style 10 years ago
subtly e9538b23c8 updates for code-review 10 years ago
Gav Wood cfea250787 Avoid pulling in unnecessary stuff. 10 years ago
Gav Wood 5bd705b9f9 Wait until network is fully initialised before connecting. 10 years ago
subtly 92f9ec8c42 import/export peers and nodes 10 years ago
Felix Lange 683a5da114 libp2p: use actual unix timestamps for discover packets 10 years ago
Felix Lange a1911f3495 libp2p: add expiration to serialized Pong packets 10 years ago
Felix Lange 3d2e72ce77 libp2p: distinguish discovery packets by packet type 10 years ago
subtly 2f3ab3a92d add expiration to pong 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 2e7ea3564c add test-require to p2p/host 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 a4bafa86eb header include path 10 years ago
subtly 8845967a1d coding standards 10 years ago
subtly c01b6da434 cleanup 10 years ago
subtly 94ca6ca088 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 d13f69da59 fix merge conflict 10 years ago
subtly b8da68e774 empty events via clear 10 years ago
subtly 7ac5c12978 peerinfo created closer to authentication (when it's known). fixes missing m_peer on connect. 10 years ago
Gav Wood 7fd64c1596 Fix for JS API formatting. 10 years ago
subtly 75f231419a Connectivity and nodetable callbacks. Disable stale code. 10 years ago
Gav Wood 12f6768abe Remove NodeMode from ethereum. 10 years ago
subtly 77316d19dc Don't setup nodetable until network is started. 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 22efa45833 remove private ports from upnp port range 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 506fe0f6e8 define constructors for windows 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 cf4c63a066 try to fix windows build 10 years ago
subtly cffc27417a inline << operator, mute logging 10 years ago
subtly d5f0679fb3 send multiple neighbors packets when size is over datagram size limit. 10 years ago
subtly bf05c50c78 test encoding/decoding neighbors. add MAC. 10 years ago
subtly ba455270c0 memory 10 years ago
Gav Wood ac583f503f Implemented 256-long history for PREVHASH, though still optional. 10 years ago
subtly 4216162fc1 message signing and verification. shutdown io/thread before dealloc in nodetable/testnodetables. 10 years ago
subtly c06054f63e basic implementation of packets 10 years ago
subtly 82d40b6ff8 more implementating of packets 10 years ago