Commit graph

119 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
6d121122f8 Fixed compiler warnings in tests 2022-05-24 15:18:09 +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
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
8767ef9e19 Display payout amount when a block is found 2022-01-29 17:09:43 +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
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
82a88ce0ef data api: added block hashes to pool/blocks 2021-09-05 22:28:57 +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