arkpar
|
2574741a14
|
enabled -pedantic for gcc build
|
10 years ago |
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
|
f7508dfc8a
|
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 |
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 |
jhuntley
|
4f109d29a6
|
Mingw cmake updates. Make sure Boost_INCLUDE_DIRS is included for each library using boost. When installing libraries, don't forget to copy DLLs, add target 'RUNTIME DESTINATION bin'.
|
10 years ago |
Lefteris Karapetsas
|
3874c78d06
|
More style fixes
|
10 years ago |
Lefteris Karapetsas
|
5f191f4f89
|
Indentation style fixes
|
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
|
6c4faef732
|
Add remote version to p2pconnected log event
|
10 years ago |
Lefteris Karapetsas
|
643499e491
|
Add p2p disconnected structured log event
|
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 |
subtly
|
a0f0812fcb
|
fix #1055
|
10 years ago |
Gav Wood
|
1fce862e1b
|
Improvement to AZ - confirmation disabler.
Fix network crash.
|
10 years ago |
Gav Wood
|
4323c987b7
|
cppcheck fixes.
|
10 years ago |
Marek Kotewicz
|
dd0744e8a3
|
fixed #1022
|
10 years ago |
Paweł Bylica
|
e15859ed27
|
Windows fixes
|
10 years ago |
Gav Wood
|
5d15c00aba
|
Windows warning fix.
|
10 years ago |
Gav Wood
|
0696ee87da
|
Windows compile fix.
|
10 years ago |
subtly
|
57f6aacf9e
|
update last discovery timepoint
|
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
|
7a126cf223
|
update nodebucket modification time when node is inserted or bucket is refreshed so bucket-refresh doesn't loop
|
10 years ago |
subtly
|
a153d078bc
|
Prevent infinite sleep on connect. Write settings before shutdown of web3.
|
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
|
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
|
ff26827108
|
update alethzero mainwin
|
10 years ago |
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.
Avoid over-warning.
|
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 |