Commit graph

54 commits

Author SHA1 Message Date
SChernykh
b5fa34e1a1 Added support for multiple Monero hosts
Switch to the next host in list when P2Pool thinks current host is stuck or lagging
2023-06-18 12:56:27 +02:00
SChernykh
30560e6cf8 CI: use compile command database for clang-tidy 2023-06-15 10:36:42 +02:00
SChernykh
b7ff4f2c2c Set default JSON parser flags 2023-06-12 15:29:23 +02:00
SChernykh
1ffaf3a292 Recompiled curl lib for MSVC using cmake 2023-05-26 19:25:18 +02:00
SChernykh
8e11c3dffd Updated libuv 2023-05-26 18:52:49 +02:00
SChernykh
6f7139fe28 CI: added address sanitizer to test sync 2023-05-25 13:11:29 +02:00
SChernykh
fbc0159453 Added UB sanitizer 2023-05-25 09:02:47 +02:00
SChernykh
3d526cebbc Enabled MemorySanitizer 2023-05-25 07:32:33 +02:00
SChernykh
2d10a6a270 CI: added test sync with clang's memory sanitizer 2023-05-24 15:13:37 +02:00
SChernykh
325f2dc22f Sync test: run with TSAN on Ubuntu 2023-05-17 23:06:54 +02:00
SChernykh
3c7fcf65a9 Fixed DNS TXT parsing 2023-05-12 15:41:02 +02:00
SChernykh
9aa748e628 Fixed FreeBSD build 2023-05-11 10:32:37 +02:00
SChernykh
bba4f8d0c5 Fixed headers for res_query 2023-05-11 09:21:10 +02:00
SChernykh
db9e5ba332 P2PServer: prefer DNS TXT records to load seed nodes 2023-05-10 22:07:35 +02:00
SChernykh
6e258bb210 Refactored TCPServer to reduce code duplication 2023-04-19 16:37:32 +02:00
SChernykh
634039e551 Fixed static build 2023-03-19 23:55:22 +01:00
SChernykh
a84a0bd8dc Added miniupnp submodule 2023-03-19 19:13:29 +01:00
SChernykh
df802c3b26 Added an option to compile without LTO 2023-02-07 10:04:37 +01:00
SChernykh
70f78ebfd1 cmake required version fixes 2023-01-26 20:19:57 +01:00
SChernykh
be434329d1 Removed dl dependency 2023-01-26 15:46:43 +01:00
SChernykh
e6d77a40e2 Check block major version in deserialize() 2022-12-19 10:29:29 +01:00
SChernykh
07a5b191bb Fixes for different BSD variants 2022-12-17 12:56:32 +01:00
SChernykh
d0eea1bf91 Fixed libuv init/shutdown sequence 2022-11-14 23:35:59 +01:00
SChernykh
47f40c0be3 Fixed curl include directory 2022-10-03 20:05:33 +02:00
SChernykh
be76c58264 Fixed MSYS2 build 2022-09-26 01:02:26 +02:00
SChernykh
3022588e35 Run tests in debug config on Windows 2022-09-14 18:30:59 +02:00
SChernykh
bde5b19c77 CI: added sync test 2022-08-23 19:49:41 +02:00
SChernykh
3ce4f06b6c Update CMakeLists.txt 2022-07-14 20:57:22 +02:00
SChernykh
dcb822f812 ConsoleCommands: read from stdin using libuv 2022-07-05 22:08:18 +02:00
SChernykh
a35d4b2701 Change llhttp to libcurl 2022-06-06 15:08:37 +02:00
SChernykh
b713f4e702 CI: added Linux aarch64 build 2022-05-31 16:38:28 +02:00
SChernykh
08ee599f79 Use the same compilation flags for tests 2022-05-09 17:57:31 +02:00
SChernykh
d23c46ff84 Added bsr() function to util 2022-05-09 13:02:06 +02:00
SChernykh
c45689b02b Fixed pthread_cancel detection 2022-05-03 21:03:06 +02:00
SChernykh
6b4640c413 Fixes for Termux 2022-05-03 07:32:47 +02:00
SChernykh
32533e3c96 FreeBSD build 2022-04-05 19:36:37 +02:00
SChernykh
796850d8c5 Update CMakeLists.txt 2022-03-18 14:53:30 +01:00
SChernykh
ab0bc0488e Removed libsodium as it's not used in compilation 2022-03-18 14:43:23 +01:00
SChernykh
62b1690780 Added an option to disable RandomX for the build 2022-03-15 17:11:45 +01:00
SChernykh
b78fe02405 MacOS CI: build and static link libuv and libzmq 2022-02-16 11:27:34 +01:00
SChernykh
e2931f94b5 Added embedded miner 2022-01-22 23:30:19 +01:00
SChernykh
148b9dd294 Switch to faster unordered_map/set 2021-10-22 18:34:20 +02:00
SChernykh
382116759d Fixed compatibility with cmake < 3.6.0 2021-09-09 17:42:16 +02:00
SChernykh
e3c32caadb Set Visual Studio startup projects 2021-09-06 00:39:19 +02:00
SChernykh
58c792fb04 rapidjson submodule 2021-09-05 17:30:21 +02:00
SChernykh
759d7da88e Update CMakeLists.txt 2021-09-05 17:01:27 +02:00
SChernykh
295cbda449 p2pool: export data to an external web-server
Dumps data to JSON files which can be later served by a web-server.
2021-09-01 14:11:28 +02:00
SChernykh
33e95fbaf8 Fixed library names 2021-08-31 23:17:45 +02:00
SChernykh
3f1ee9ce4b TCPServer fixes
- Proper shutdown sequence, uv_close() must be called from the event loop thread
- Moved start_listening() to child class constructor because it must be ready before it can listen on sockets
- Added simple memory leak detector for Windows. Linux users can enjoy the leak sanitizer
2021-08-26 23:57:59 +02:00
SChernykh
aba3bc50b8 Block cache WIP and other fixes
- Block cache is implemented only on Windows for now
- Tracking of background jobs
- More robust sidechain syncing
2021-08-24 11:42:41 +02:00