Commit graph

30 commits

Author SHA1 Message Date
SChernykh
6e258bb210 Refactored TCPServer to reduce code duplication 2023-04-19 16:37:32 +02:00
SChernykh
6ef166ba33 Fixed cppcheck errors 2023-04-14 12:38:14 +02:00
SChernykh
5f7b8c3371 Fixed cppcheck false positives 2023-03-31 13:35:23 +02:00
SChernykh
03eddddc0e Cache: save data from previous Monero block too
To improve caching of stale/outdated sidechain blocks.
2023-03-31 12:59:11 +02:00
SChernykh
1bd04c2840 Initialize tx key from random seed 2023-01-09 11:28:47 +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
b346b93285 Updated copyright 2023-01-04 13:07:55 +01:00
SChernykh
53ba29b288 Optimized crypto cache memory allocation 2022-11-13 17:30:47 +01: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
e882b91b06 Reduced lock contention in Cache::get_derivation() 2022-08-16 18:15:41 +02:00
SChernykh
4c8dbee79d More fine-grained locks in crypto cache 2022-08-15 18:39:28 +02:00
SChernykh
945de348f3 Rewrote get_view_tag without std::find_if 2022-07-12 09:50:49 +02:00
SChernykh
20dd9d7adc More efficient view tags caching 2022-07-11 16:42:26 +02:00
SChernykh
deb8d59130 Fixed cppcheck error 2022-06-28 10:58:41 +02:00
SChernykh
14bbf96feb Enforce deterministic tx keys starting from v15 2022-06-28 10:44:16 +02:00
SChernykh
cb147773b5 Updated cppcheck workflow on Linux 2022-05-26 21:19:01 +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
a2afa29052 Updated copyright 2022-03-30 14:42:26 +02:00
SChernykh
c21d052d7a Refactored RNG usage across the code 2022-03-17 16:14:29 +01:00
SChernykh
a640e41d74 Improved RNG initialization 2022-01-24 00:37:39 +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
4bcaa41c8e Clear crypto derivation/key cache when a block is found 2021-09-27 13:47:27 +02:00
SChernykh
b35b4a9f76 Crypto: added cache for faster key derivation 2021-09-14 11:06:49 +02:00
SChernykh
4deef2f807 Added cppcheck workflow 2021-09-05 12:53:40 +02:00
SChernykh
b31adbd5ae Added macOS build 2021-09-05 12:10:40 +02:00
SChernykh
780afd84a2 Added checks for tx keys 2021-08-31 17:23:20 +02:00
SChernykh
510b7dbb85 Add files 2021-08-22 12:20:59 +02:00