Commit graph

966 commits

Author SHA1 Message Date
SChernykh
d08ac60fd9 CI: set difficulties for fake stratum clients
Client 1: autodiff
Client 2: fixed 1000 diff
Client 3: fixed 10M diff
2023-05-25 09:44:44 +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
5f7ce28682 TCPServer: fixed send callback arguments 2023-05-24 13:46:05 +02:00
SChernykh
9d0f835186 Update includes.txt 2023-05-24 11:12:13 +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
eab8a51bb7 SideChain: tweaked m_seenBlocks cleanup logic 2023-05-22 15:30:57 +02:00
SChernykh
dbb4efb98a Added version console command 2023-05-20 15:51:36 +02:00
SChernykh
a83d6deec1 Check node ping at startup 2023-05-18 10:33:27 +02:00
SChernykh
f212de64f5 P2PServer: fixed peer list request logic 2023-05-18 09:39:04 +02:00
SChernykh
6a4583f758 Sync test: keep running for 2 minutes more 2023-05-18 00:28:49 +02:00
SChernykh
325f2dc22f Sync test: run with TSAN on Ubuntu 2023-05-17 23:06:54 +02:00
SChernykh
7134187dc9 Sync test: added stratum connections 2023-05-17 20:35:51 +02:00
SChernykh
b20db0a117 P2PServer: always send peer list request to new peers 2023-05-17 11:13:25 +02:00
SChernykh
3c7fcf65a9 Fixed DNS TXT parsing 2023-05-12 15:41:02 +02:00
SChernykh
4fa344a0f7 Refactored DNS TXT resolver code 2023-05-12 10:37:58 +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
be8b38e5cf Changed BLOCK_FOUND wording 2023-05-11 08:07:05 +02:00
SChernykh
db9e5ba332 P2PServer: prefer DNS TXT records to load seed nodes 2023-05-10 22:07:35 +02:00
SChernykh
689fa14cfd Fixed cppcheck errors 2023-05-10 10:35:23 +02:00
SChernykh
fa924171c7 Statistics webserver: added missing Stratum data 2023-05-10 10:02:17 +02:00
SChernykh
8a222d5e75 TCPServer: check if loop thread is running before waiting for it 2023-05-01 20:13:57 +02:00
SChernykh
fcb62894a5 p2pool v3.3 2023-04-30 16:04:32 +02:00
SChernykh
c94b627808 TCPServer: use /64 prefix to ban IPv6 peers 2023-04-27 10:28:32 +02:00
SChernykh
754eb78a05 Update libzmq 2023-04-26 11:11:05 +02:00
SChernykh
045929ca7c Update miniupnp 2023-04-25 13:52:10 +02:00
SChernykh
98b2d2057c SideChain: fixed data race 2023-04-24 20:23:45 +02:00
SChernykh
98a9eb4f18 Console: fixed data race 2023-04-24 20:06:56 +02:00
SChernykh
58d32ffd1f Removed PSA from html 2023-04-24 13:26:07 +02:00
SChernykh
76c3e89faf StratumServer: update api more often 2023-04-24 12:44:50 +02:00
SChernykh
abf48fde02 Stratum API: added block reward share percent 2023-04-24 11:45:02 +02:00
SChernykh
c31d5b7d3c Docker: enabled fast sync 2023-04-22 22:54:32 +02:00
SChernykh
f455ce398c Updated tests 2023-04-22 21:26:37 +02:00
SChernykh
b498084388 SideChain: fixed a rare sync bug
P2Pool could fail to sync if uncles of depth 3 were present at a certain depth in the chain
2023-04-22 19:01:17 +02:00
SChernykh
75c156578c SideChain: tweaked precalculation during sync 2023-04-22 18:00:31 +02:00
SChernykh
fd67ec1f86 Fixed typo 2023-04-22 08:36:10 +02:00
SChernykh
b1041ea8a8 Update c-cpp.yml 2023-04-21 15:27:33 +02:00
SChernykh
51a075c0df P2PServer: fixed buf_size checks 2023-04-21 14:59:47 +02:00
SChernykh
8bf045974f BlockTemplate code refactoring
- Moved block constants to one place
- Tuned block template max transaction limiter
2023-04-21 11:13:48 +02:00
SChernykh
44d2005ab1 Console: returned stdin check to constructor 2023-04-20 10:59:32 +02:00
SChernykh
21f827112d Create SYSTEMD.MD 2023-04-20 08:10:45 +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
6e258bb210 Refactored TCPServer to reduce code duplication 2023-04-19 16:37:32 +02:00
SChernykh
72adfd3126 Console: added local api 2023-04-18 17:01:00 +02:00
SChernykh
196b27f3b2 Console: read commands via localhost TCP 2023-04-18 16:19:12 +02:00
SChernykh
ce192670a3 CI: actually check for successful sync 2023-04-18 00:15:12 +02:00