Commit graph

46 commits

Author SHA1 Message Date
SChernykh
781606bec5 Enabled SEH for MSVC builds 2023-11-07 13:09:24 +01:00
SChernykh
8699e1887c Debug: print call stack of unhandled exceptions 2023-11-07 11:00:39 +01:00
SChernykh
e92ce0a5f3 Log: fixed broken output redirection on Windows 2023-11-05 18:28:11 +01:00
SChernykh
8619057224 Log: set locale for data output 2023-09-17 19:30:39 +02:00
SChernykh
76c4573c39 CI: cleanup build warnings
Tests: fixed "unused const variable" warning
CMakeLists.txt: fixed deprecation warnings
2023-08-16 14:20:23 +02:00
SChernykh
183bab110e Refactored log writer 2023-05-26 11:19:39 +02:00
SChernykh
3fdadf3eb5 Fixed cppcheck errors 2023-05-23 20:11:00 +02:00
SChernykh
cd57ab6ad9 Fixed UV_THREADPOOL_SIZE setting
putenv can't use stack buffer
2023-05-23 19:14:15 +02:00
SChernykh
325f2dc22f Sync test: run with TSAN on Ubuntu 2023-05-17 23:06:54 +02:00
SChernykh
44d2005ab1 Console: returned stdin check to constructor 2023-04-20 10:59:32 +02:00
SChernykh
5f18eed14d Fixed compilation error 2023-04-19 22:44:38 +02:00
SChernykh
7a83fd2f30 Console: check stdin handle early at startup 2023-04-19 21:09:28 +02:00
SChernykh
b346b93285 Updated copyright 2023-01-04 13:07:55 +01:00
SChernykh
260564cff1 Check for NO_COLOR before logging starts 2023-01-01 22:12:16 +01:00
SChernykh
421e087d81 Fixed UV thread pool size 2022-12-26 19:52:15 +01:00
SChernykh
dffc8bcea0 Fixed cppcheck issues 2022-12-22 14:08:49 +01:00
SChernykh
488ed8e562 Added more 128 bit calculations 2022-11-16 10:36:46 +01:00
SChernykh
cc2f031a32 Fixed a race when stopping logger 2022-11-15 11:07:50 +01:00
SChernykh
d0eea1bf91 Fixed libuv init/shutdown sequence 2022-11-14 23:35:59 +01:00
SChernykh
1fa6a7c11a Fixed mouse wheel scrolling on Windows 2022-11-09 23:46:10 +01:00
SChernykh
45660e3d96 Show wallet address in error messages and status 2022-11-03 11:38:43 +01:00
SChernykh
cb147773b5 Updated cppcheck workflow on Linux 2022-05-26 21:19:01 +02:00
SChernykh
820c5db5e8 Log: check for logrotate only once per loop 2022-05-09 09:58:43 +02:00
SChernykh
a78ddb50d5 Fixed logger thread timing logic 2022-04-24 16:22:22 +02:00
SChernykh
21d8cb917b Fixed data race in logger 2022-04-09 10:41:20 +02:00
SChernykh
9e287ab4f0 Logger fixes
- Fixed a race condition when stopping the logger
- Flush log file only once per batch of log lines
2022-04-07 16:55:35 +02:00
SChernykh
a2afa29052 Updated copyright 2022-03-30 14:42:26 +02:00
SChernykh
a73b4616a4 Fixed Coverity issues 2022-02-22 00:38:08 +01:00
SChernykh
9593311332 Added bans console command 2022-02-21 19:59:57 +01:00
SChernykh
38ffd73b54 Fixed new Coverity issue 2022-01-23 13:03:56 +01:00
SChernykh
998c2ba72f Fixed msys2 build crash 2021-10-31 20:29:35 +01:00
SChernykh
88f346414a Fixed race condition when using --no-color 2021-10-28 10:36:50 +02:00
SChernykh
1c0da4513f Added --no-color command line option
`--no-color` disables colors in console output
2021-10-27 16:48:17 +02:00
SChernykh
6859d11445 Disable console quick-edit mode on Windows
Prevent user from accidentally selecting text in console and freezing all output
2021-10-26 17:42:00 +02:00
SChernykh
5c92920619 Default log level 3
Also refactored default port numbers
2021-09-18 10:03:06 +02:00
SChernykh
4deef2f807 Added cppcheck workflow 2021-09-05 12:53:40 +02:00
SChernykh
661d596107 api: store difficulty and totalHashes for each block 2021-09-03 18:04:54 +02:00
SChernykh
2d8530798d Unit tests for difficulty_type 2021-09-03 11:32:11 +02:00
SChernykh
bab148fbad Added cppcheck scripts 2021-09-02 12:35:36 +02:00
SChernykh
4757cdb8e2 P2PServer: added 1 second grace time for stale shares
Only for shares that lag 1 Monero block behind
2021-08-31 09:58:57 +02:00
SChernykh
8304d81961 Prepare for mainnet test 2021-08-27 11:30:03 +02:00
SChernykh
d8efb27374 Restrict uv_default_loop() to main thread 2021-08-25 12:17:14 +02:00
SChernykh
02449bf9f9 Use UTC time for logging 2021-08-24 18:56:14 +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
SChernykh
2f08a35ac7 Fixed logger thread start/stop logic 2021-08-23 17:36:17 +02:00
SChernykh
510b7dbb85 Add files 2021-08-22 12:20:59 +02:00