Commit graph

137 commits

Author SHA1 Message Date
SChernykh
bb80fe12a0 Added a check for unstable hardware 2023-03-28 10:27:27 +02:00
SChernykh
645de31fe3 SideChain: stricter checks in get_difficulty 2023-03-24 13:26:30 +01:00
SChernykh
eef90da7ae SideChain: stricter checks of alternative chains 2023-03-24 11:50:39 +01:00
SChernykh
b30018bb38 SideChain::update_depths() - reduced log level 2023-03-21 16:22:11 +01:00
SChernykh
6c45573976 Faster block verification 2023-03-21 14:13:47 +01:00
SChernykh
c2d8c806d2 Removed fork code, only v2 is left 2023-03-19 17:19:25 +01:00
SChernykh
1b5860eec8 Fixed cppcheck errors 2023-03-06 14:52:47 +01:00
SChernykh
25d083ef25 Show Monero node in status 2023-01-27 17:42:00 +01:00
SChernykh
8876af53d8 SideChain: fixed potential division by 0 2023-01-26 21:42:15 +01:00
SChernykh
d332f6cf23 Fixed PPLNS window display in status 2023-01-21 23:09:57 +01:00
SChernykh
420cb71990 Fixed min difficulty setting 2023-01-18 16:16:35 +01:00
SChernykh
fe5e209eb1 Don't limit min difficulty on testnet 2023-01-16 18:34:48 +01:00
SChernykh
f206e4b334 Testnet fork on January 21st 2023-01-16 15:36:21 +01:00
SChernykh
5bd518da4b Optimized BlockTemplate::update() 2023-01-16 11:17:41 +01:00
SChernykh
ec8e40907d Fixed a crash in status command 2023-01-15 22:20:06 +01:00
SChernykh
e828709090 Optimized SideChain::get_outputs_blob() 2023-01-15 22:00:44 +01:00
SChernykh
d4329ae594 Show file:line where panic() was called from 2023-01-14 12:37:08 +01:00
SChernykh
14f667de74 Support dynamic PPLNS window in status 2023-01-13 17:43:56 +01:00
SChernykh
4f2ad9a93c Optimized get_shares 2023-01-10 22:17:17 +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
11e4c459c9 pub/sec tx key cleanup 2023-01-09 01:15:06 +01:00
SChernykh
647319b731 Added missing check to update_chain_tip 2023-01-09 00:33:37 +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
ccc5117172 Track shares that failed to be added 2023-01-07 15:50:02 +01:00
SChernykh
b346b93285 Updated copyright 2023-01-04 13:07:55 +01:00
SChernykh
dffc8bcea0 Fixed cppcheck issues 2022-12-22 14:08:49 +01:00
SChernykh
e6d77a40e2 Check block major version in deserialize() 2022-12-19 10:29:29 +01:00
SChernykh
be18ad4177 Made payout messages more visible 2022-12-18 11:06:38 +01:00
SChernykh
9283677a2b Sync test: log more data in the end 2022-11-24 11:06:18 +01:00
SChernykh
d4180a5084 Fixed Coverity issue 2022-11-24 08:43:13 +01:00
SChernykh
f1ff6a21ee Revert "Broadcast uncle blocks at the same height"
This reverts commit 530079b8a5.
2022-11-23 17:59:28 +01:00
SChernykh
530079b8a5 Broadcast uncle blocks at the same height
To reduce orphan block rate
2022-11-23 17:55:11 +01:00
SChernykh
79a31ce57c SideChain: reduce lock scope in get_outputs_blob 2022-11-16 14:23:13 +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
53ba29b288 Optimized crypto cache memory allocation 2022-11-13 17:30:47 +01:00
SChernykh
8a7f1b1b3a Log shares found by other nodes 2022-11-10 08:22:31 +01:00
SChernykh
c135787620 Prepare compact blob for block broadcasts
Reference transactions by index in the parent block instead of storing full 32 bytes per transaction
2022-11-09 12:40:45 +01:00
SChernykh
1f7c89a95c Fixed Coverity issues 2022-11-03 19:24:15 +01:00
SChernykh
45660e3d96 Show wallet address in error messages and status 2022-11-03 11:38:43 +01:00
SChernykh
255d312ae0 SideChain: log blocks with the same id 2022-11-02 12:49:12 +01:00
SChernykh
c029e5c39d Added macro for debug builds 2022-10-13 11:21:40 +02:00
SChernykh
d8bb85a1d8 Fix: api didn't always save total hashes 2022-10-09 18:17:01 +02:00
SChernykh
077837054b Optimized TxOutput struct 2022-10-04 21:03:56 +02:00
SChernykh
45674ef554 Better cache cleanup 2022-10-04 20:04:41 +02:00
SChernykh
eabf856dbd Removed redundant m_sideChainData 2022-10-04 15:49:58 +02:00
SChernykh
32ea0f2cf6 Clear crypto cache more often 2022-10-04 14:37:55 +02:00
SChernykh
6a66615f37 Removed redundant m_mainChainData 2022-10-03 18:42:32 +02:00