Commit graph

951 commits

Author SHA1 Message Date
SChernykh
7630c1a883 CI: added msys2-clang Windows build 2023-08-15 19:53:22 +02:00
SChernykh
2877e5dfc1 Sync test: log stratum data when finished 2023-08-15 11:43:05 +02:00
SChernykh
05b88a48a3 CI: update to clang 17 2023-08-15 10:57:05 +02:00
SChernykh
c74b567fe4 Update stratum_dummy.py 2023-08-15 08:00:11 +02:00
SChernykh
a6b6cb0f09 TCPServer: tweaked ASAN support 2023-08-14 22:24:42 +02:00
SChernykh
86e9af6fd7 Sync test: submit more fake shares 2023-08-14 21:57:38 +02:00
SChernykh
8776f7dfbb Fixed MacOS sync test 2023-08-14 18:36:05 +02:00
SChernykh
929f908a86 Sync test: submit fake shares to test stratum 2023-08-14 17:10:36 +02:00
SChernykh
229d7b052a Create CONSOLE_COMMANDS.MD 2023-08-14 13:12:06 +02:00
SChernykh
a5896f7ae8 Updated docs 2023-08-14 11:28:25 +02:00
SChernykh
114c2cee93 Updated dependencies
- cppzmq 4.10.0
- curl 8.2.1
- libuv 1.46
- latest libzmq
- latest miniupnp
- latest rapidjson
2023-08-13 21:05:39 +02:00
SChernykh
7f413ec994 Re-enabled CI jobs 2023-08-07 12:18:58 +02:00
SChernykh
bd30a68e7d Fixed cppcheck error 2023-08-07 07:28:44 +02:00
SChernykh
f4a18726b5 P2PServer: support future major protocol changes 2023-08-04 15:52:28 +02:00
SChernykh
50e284357c Disabled failing jobs 2023-08-01 16:16:56 +02:00
SChernykh
2ddb03e2be CI: tweaked memory leak output formatting 2023-07-19 16:15:48 +02:00
SChernykh
ebae616138 CI: fixed error checking in sync test 2023-07-19 15:36:16 +02:00
SChernykh
0f88640575 CI: added sync test with memory leak detection 2023-07-19 13:59:57 +02:00
SChernykh
75cc82ae0c P2PServer: removed protocol version check for fastest peer 2023-07-12 12:48:52 +02:00
SChernykh
32dc235aa5 SideChain: fix for out of order blocks 2023-07-12 00:25:37 +02:00
SChernykh
6ffe1d81c2 P2PServer: ignore protocol versions higher than supported 2023-07-10 20:13:37 +02:00
SChernykh
5b245e64d3 Fixed a typo 2023-07-10 16:54:01 +02:00
SChernykh
a067361d74 P2PServer: prefetch 2 blocks ahead during sync 2023-07-10 15:44:18 +02:00
SChernykh
a7f66c8883 SideChain: filter duplicates from missing blocks 2023-07-10 14:11:22 +02:00
SChernykh
e03e7d831e P2PServer: tweaked switching to the fastet peer when syncing 2023-07-10 11:40:48 +02:00
SChernykh
1219ed0dd6 P2PServer: check protocol version when choosing fastest peer 2023-07-07 23:49:43 +02:00
SChernykh
fe2ff95f19 P2PServer: use BLOCK_NOTIFY to speed up syncing 2023-07-07 16:48:28 +02:00
SChernykh
d72f0ce40c P2PServer: fixed some excess block requests 2023-07-07 14:52:47 +02:00
SChernykh
df43e2c126 SideChain: tweaked precalc logic 2023-07-07 14:21:52 +02:00
SChernykh
d8ecc1174d P2PServer: refactored BLOCK_NOTIFY logic
- Limit how many block requests can be in flight
- Don't send requests for the same block twice
2023-07-07 12:14:24 +02:00
SChernykh
3e269b49d4 Tweaked log level for BLOCK_NOTIFY 2023-07-05 19:06:49 +02:00
SChernykh
72c9f3b0db Fixed ping time calculation 2023-07-05 15:29:54 +02:00
SChernykh
2f5b0db786 P2PServer: request blocks coming from BLOCK_NOTIFY 2023-07-05 11:42:34 +02:00
SChernykh
8d9f16c387 P2PServer: sanity check message id 2023-07-04 16:47:14 +02:00
SChernykh
d6cb0ee8a0 P2PServer: avoid unnecessary block broadcasts 2023-07-04 16:06:01 +02:00
SChernykh
5444701c38 Tweaked status code
Don't create stream when it's not needed
2023-07-02 15:33:51 +02:00
SChernykh
396479c2bf Fixed cppcheck errors 2023-07-02 13:10:05 +02:00
SChernykh
d78885dcd4 p2pool v3.5 2023-06-30 18:05:12 +02:00
SChernykh
ede72ff1d8 Suppress a noisy Coverity warning 2023-06-30 16:18:02 +02:00
SChernykh
e5bf27030d Rate limit peer list requests
Send an empty response if the request comes too soon
2023-06-29 18:20:07 +02:00
SChernykh
375bf56e2e Fixed null characters in print_hosts output 2023-06-29 10:52:42 +02:00
SChernykh
f79be1b343 Removed unnecessary lock 2023-06-27 17:09:58 +02:00
SChernykh
3554adf0c1 Refactored string conversions
Use `log::Stream` everywhere
2023-06-27 14:29:19 +02:00
SChernykh
a32cc9f0f5 Update README.md 2023-06-22 17:21:45 +02:00
SChernykh
3759fd4ac4 Code cleanup 2023-06-22 09:26:05 +02:00
SChernykh
ac58e8be2e Updated docs for multiple backup hosts 2023-06-21 11:29:13 +02:00
SChernykh
1c7646f98f ZMQReader: make sure monitor always shuts down 2023-06-20 16:53:03 +02:00
SChernykh
1b9d14e89d Get ping times for all hosts 2023-06-19 17:56:53 +02:00
SChernykh
3c41388eb7 Removed outdated hardfork information 2023-06-18 21:18:10 +02:00
SChernykh
a9a2113ea4 Code cleanup 2023-06-18 16:47:31 +02:00