Commit graph

139 commits

Author SHA1 Message Date
SChernykh
c74b567fe4 Update stratum_dummy.py 2023-08-15 08:00:11 +02:00
SChernykh
86e9af6fd7 Sync test: submit more fake shares 2023-08-14 21:57:38 +02:00
SChernykh
929f908a86 Sync test: submit fake shares to test stratum 2023-08-14 17:10:36 +02:00
SChernykh
32dc235aa5 SideChain: fix for out of order blocks 2023-07-12 00:25:37 +02:00
SChernykh
19491f0994 Update libcxx_msan.tar.xz 2023-06-15 15:22:52 +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
a7496dbc02 Updated tests 2023-05-26 15:21:40 +02:00
SChernykh
fd8e5e4eed Create libcxx_msan.yml 2023-05-25 18:42:03 +02:00
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
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
db9e5ba332 P2PServer: prefer DNS TXT records to load seed nodes 2023-05-10 22:07:35 +02:00
SChernykh
f455ce398c Updated tests 2023-04-22 21:26:37 +02:00
SChernykh
6e258bb210 Refactored TCPServer to reduce code duplication 2023-04-19 16:37:32 +02:00
SChernykh
bb80fe12a0 Added a check for unstable hardware 2023-03-28 10:27:27 +02:00
SChernykh
ce81c2769c Added get_hashing_blobs test with full mempool 2023-03-20 09:46:09 +01:00
SChernykh
79ad29e99a Fixed pool_block.deserialize test 2023-03-19 20:54:09 +01:00
SChernykh
a84a0bd8dc Added miniupnp submodule 2023-03-19 19:13:29 +01:00
SChernykh
387860aa4a Post-fork test data 2023-03-19 11:38:43 +01:00
SChernykh
e53fd7a062 Tests: fixed block_template test volatility
Hashes should stay the same from now on.
2023-03-01 09:20:09 +01:00
SChernykh
a76d8049c0 p2pool v3.1 2023-02-28 18:11:54 +01:00
SChernykh
e64a0acfb3 p2pool v3.0 2023-01-31 18:17:18 +01:00
SChernykh
c989bdb0ea Tweaked compiler flags to reduce binary size 2023-01-27 15:49:20 +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
67f091b843 CI: added FreeBSD build 2023-01-26 12:56:46 +01:00
SChernykh
451778d704 Optimized RNG usage 2023-01-17 16:24:15 +01:00
SChernykh
47f551c046 Randomize output order for P2Pool payouts 2023-01-09 20:07:11 +01:00
SChernykh
ae6747c82d Initialize tx key from previous blocks 2023-01-09 16:14:33 +01:00
SChernykh
1bd04c2840 Initialize tx key from random seed 2023-01-09 11:28:47 +01:00
SChernykh
af0fa872ae Set sidechain extra (duplicate shares fix) 2023-01-08 21:12:09 +01:00
SChernykh
1ce8f28105 Added sidechain extra 2023-01-08 17:07:28 +01:00
SChernykh
632f3faac5 Refactored keccak interface
- Allow calculating keccak hash in steps
- Only allow 32 and 200 byte final hashes
2023-01-08 13:06:20 +01:00
SChernykh
4f34c4466a Dynamic PPLNS window 2023-01-08 00:47:03 +01:00
SChernykh
e6d77a40e2 Check block major version in deserialize() 2022-12-19 10:29:29 +01:00
SChernykh
4bb1982806 Added BlockTemplate tests 2022-11-24 21:38:15 +01:00
SChernykh
488ed8e562 Added more 128 bit calculations 2022-11-16 10:36:46 +01:00
SChernykh
b3bce1651b SideChain: use full 128 bits in get_difficulty 2022-11-15 16:39:39 +01:00
SChernykh
d0eea1bf91 Fixed libuv init/shutdown sequence 2022-11-14 23:35:59 +01:00
SChernykh
47ff7e228e Added code to deserialize compact blobs 2022-11-09 16:21:31 +01:00
SChernykh
0a5fa12ce5 Update wallet_tests.cpp 2022-11-03 14:29:57 +01:00
SChernykh
45660e3d96 Show wallet address in error messages and status 2022-11-03 11:38:43 +01:00
SChernykh
eabf856dbd Removed redundant m_sideChainData 2022-10-04 15:49:58 +02:00
SChernykh
6a66615f37 Removed redundant m_mainChainData 2022-10-03 18:42:32 +02:00
SChernykh
f0d576e1b0 Reduced memory usage for each PoolBlock 2022-09-28 16:50:30 +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
e6030dcc3f Update googletest 2022-08-26 15:50:31 +02:00
SChernykh
b9eb66e2b3 Added a test for mini chain 2022-08-23 21:37:55 +02:00
SChernykh
30861bbf91 Speedup SideChain::get_outputs_blob() 2022-08-15 13:48:21 +02:00
SChernykh
02a8a512dc SideChain: precalculate tx pubkeys for faster sync 2022-07-14 10:28:25 +02:00
SChernykh
9e5d5cecd4 Added get_tx_keys tests 2022-06-28 18:00:01 +02:00
SChernykh
acf37ff10f Added json parser tests 2022-06-20 10:50:30 +02:00
SChernykh
a35d4b2701 Change llhttp to libcurl 2022-06-06 15:08:37 +02:00
SChernykh
6d121122f8 Fixed compiler warnings in tests 2022-05-24 15:18:09 +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
0f9362e14e More tests for derive_view_tag 2022-04-29 22:25:22 +02:00
SChernykh
2c70bf8616 View tags support
See http://github.com/monero-project/monero/pull/8061
2022-04-09 00:56:42 +02:00
SChernykh
dee66c3f32 Added varint unit tests 2022-04-06 16:34:16 +02:00
SChernykh
62b1690780 Added an option to disable RandomX for the build 2022-03-15 17:11:45 +01:00
SChernykh
52050bbcfb Update difficulty_type_tests.cpp 2022-03-10 19:11:49 +01:00
SChernykh
0b0ad9ff82 Fix tests compilation 2022-02-21 09:32:32 +01:00
SChernykh
b78fe02405 MacOS CI: build and static link libuv and libzmq 2022-02-16 11:27:34 +01:00
SChernykh
8767ef9e19 Display payout amount when a block is found 2022-01-29 17:09:43 +01:00
SChernykh
e2931f94b5 Added embedded miner 2022-01-22 23:30:19 +01:00
SChernykh
f9def6cb73 Added "calc_pow" RPC support 2021-11-21 09:12:21 +01:00
SChernykh
bb7a5b4d6d Cleanup 2021-11-02 17:18:02 +01:00
SChernykh
1e4c6ef5f4 Added block verification test 2021-11-01 18:53:34 +01:00
SChernykh
148b9dd294 Switch to faster unordered_map/set 2021-10-22 18:34:20 +02:00
SChernykh
2a3cd13b19 P2PServer: delete old cached blocks after initial sync
Saves ~20 MB of memory
2021-10-01 15:31:47 +02:00
SChernykh
94adce4045 Update crypto_tests.cpp 2021-09-14 11:30:08 +02:00
SChernykh
ac5243a9a6 Update pool_block_tests.cpp 2021-09-08 12:36:21 +02:00
SChernykh
899d5a82dd data api: check p2pool shares that come after a Monero block 2021-09-06 23:33:52 +02:00
SChernykh
d3dc4c731f Added more tests 2021-09-06 15:49:39 +02:00
SChernykh
e3c32caadb Set Visual Studio startup projects 2021-09-06 00:39:19 +02:00
SChernykh
82a88ce0ef data api: added block hashes to pool/blocks 2021-09-05 22:28:57 +02:00
SChernykh
b31adbd5ae Added macOS build 2021-09-05 12:10:40 +02:00
SChernykh
e527b0c660 Added Windows builds 2021-09-05 11:28:24 +02:00
SChernykh
56207b705b Added crypto tests 2021-09-04 22:32:39 +02:00
SChernykh
f5ea284846 Added keccak tests 2021-09-04 21:22:28 +02:00
SChernykh
c75bc83fc1 Added Wallet tests 2021-09-04 00:05:37 +02:00
SChernykh
08d2fbdbd1 Parse full 128-bit difficulty from monerod 2021-09-03 22:45:55 +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