Lefteris Karapetsas
d0c1c510bd
Adding StructuredLogger class and using it in various places
- Structured logger is injected as a dependency where needed.
- Still a work in progress
10 years ago
Lefteris Karapetsas
5695d0ee25
Adding argument for structured logging and propagating it forward
- Also style fixes when problems encountered
10 years ago
subtly
30e75e2659
initial ecies interop w/go
10 years ago
subtly
953bfd2400
start of ecies interop with go
10 years ago
subtly
a0f0812fcb
fix #1055
10 years ago
Gav Wood
1fce862e1b
Improvement to AZ - confirmation disabler.
Fix network crash.
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
subtly
f6fc86e992
fix curlies. remove unused transition methods.
10 years ago
subtly
8e8b6de255
advance transition
10 years ago
subtly
4ebc2f8320
reenable sessions. more refactor.
10 years ago
subtly
f6d5aa75a0
refactor of handshake. first pass, compiles.
10 years ago
subtly
ecb06feb85
verification of and placeholder for capabilities handshake
10 years ago
subtly
ec4ba8e532
fix magic. disable ping for now, as it can trigger prior to hello packet.
10 years ago
subtly
4814303c09
initial handshake on the wire
10 years ago
subtly
261c04314f
fix snapshot when nodetable #1055
10 years ago
Gav Wood
0696ee87da
Windows compile fix.
10 years ago
subtly
3291bc1d9a
perform node discovery when there aren't enough nodes
10 years ago
subtly
38230cb1e4
Increase connect timeout for upnp initialization and fix resolver.
10 years ago
subtly
a153d078bc
Prevent infinite sleep on connect. Write settings before shutdown of web3.
10 years ago
subtly
c60b0099c7
update last disconnect for fallback timer after successful connect.
10 years ago
subtly
49d21e9ada
add back fallback for retrying when connect peers is 0 and idealpeercount > 0
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
Gav Wood
5bd705b9f9
Wait until network is fully initialised before connecting.
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
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
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
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
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
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
71bf6e7ede
udp != tcp. history-commit.
10 years ago
ethdev
8098a94941
io_service is 2 again
10 years ago
debris
44de002f3f
added curl libaries, which are required for testeth project
10 years ago
Gav Wood
2102ab2870
Evade networking crash.
10 years ago