SChernykh
e2f0ec7c69
De-duplicate tx hashes and pub keys to save memory (off by default) ( #382 )
...
P2Pool-main: 8.2 MB saved
P2Pool-mini: 66 MB saved
P2Pool-nano: 25.2 MB saved
The feature is available only when building from source and is intended for use on low-memory systems (for example, a VPS server with < 1 GB RAM).
It only makes sense to use with `--no-cache --no-randomx` in the command line because cache and RandomX hasher take much more memory.
2025-10-18 12:21:16 +02:00
WeebDataHoarder
22cabb5ac9
Speed up crypto derivations with vartime ops
...
Implemented ge_scalarmult_vartime (a*B) and ge_scalarmult_base_vartime (a*G). These come from libsodium code as the rest of crypto-ops.c
2025-09-29 13:19:51 +02:00
SChernykh
0184a3139c
CI: revised clang-tidy list of checks
2025-09-25 18:46:22 +02:00
SChernykh
964f4c8065
Updated copyright
2025-07-14 20:30:33 +02:00
SChernykh
6492c6008e
CI: use clang-20
2025-02-13 11:25:28 +01:00
SChernykh
fb8e2a71e0
Fixed global init/shutdown order
2024-12-04 14:30:20 +01:00
SChernykh
24f2ed2f81
Fixed Coverity errors
2024-06-23 23:51:47 +02:00
SChernykh
d28090f292
More CI fixes
2024-02-12 07:50:24 +01:00
SChernykh
1e1c3ad6e9
Updated copyright
2024-01-02 14:12:16 +01:00
SChernykh
8493dbc47b
Fixed cppcheck errors
2023-11-26 09:52:24 +01:00
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