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.
Begin moving node identification and authentication into Host so session can be directly-constructed with NodeInfo and is not created until after authentication.
Require session to be passed a valid node.
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
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
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
subtly
2a1ea35f7f
send/receive messages (not yet interepreted)
10 years ago
subtly
da5acab432
refactor constants to be determined during compile. added RLPXDatagram. constructors and updates to datagram constructors. docs and logging. WIP tests and host/harness for NodeTable.
10 years ago
subtly
6131bd62d6
NodeTable into own files.
10 years ago