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:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859
Make sure boost/asio.hpp is included before windows.h.
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
- 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
Patrick Salami
f1acd74f71
fixed indentation
10 years ago
Patrick Salami
a253a894e7
added CLI flag to set number of mining threads
for eth and neth
10 years ago
subtly
e9538b23c8
updates for code-review
10 years ago
subtly
92f9ec8c42
import/export peers and nodes
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
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
a23251e9ac
network: move static system-network functions into Network class. Further simplifaction of network lifecycle.
10 years ago
Gav Wood
8f769eae05
Avoid effective disconnect when ignoring data.
10 years ago
Gav Wood
b0cf1e60f6
Fix #394 . Still quite dirty, but correct at least.
10 years ago
Gav Wood
07c804a885
Vast P2P networking improvements, mainly for peer discovery, management
and handling.
10 years ago
Gav Wood
bcca878832
Whisper in main client.
10 years ago
Gav Wood
066fc18116
Move out worker thread stuff into other class.
p2p::Host is worker rather than WebThree.
Client is single worker.
EthereumHost works.
10 years ago
Gav Wood
484279c548
Beginning of merge into AZ.
10 years ago
Gav Wood
6d209e7885
Add framework for WebThree clients.
10 years ago