Commit Graph

59 Commits

Author SHA1 Message Date
SChernykh fa53bdea55 More fixes and refactoring 2026-04-24 18:05:13 +02:00
SChernykh 54e0d3f3eb Refactored merge mining code 2026-04-24 11:01:59 +02:00
jpk68 941e5114d8 Add I2P support 2026-03-08 16:50:02 +01:00
SChernykh 6d6c12c1e8 Added SOCKS5 proxy type command line parameter
- Auto-detect by default, based on the port number
- Don't run TOR-specific code if it's not the TOR proxy
2026-02-10 21:32:01 +01:00
SChernykh 313fb64b41 Updated copyright 2026-01-01 22:13:05 +01:00
SChernykh cb9fc89b22 Added --onion-address command line option to support incoming TOR connections 2025-10-20 13:06:45 +02:00
SChernykh d88790237d Fixed cppcheck errors 2025-10-19 17:05:01 +02:00
SChernykh d8e4a00a32 Refactored keccak constants initialization 2025-10-19 14:39:55 +02:00
SChernykh 4e690feefb Support .onion domains for addpeers command and --addpeers option (requires SOCKS5 proxy) 2025-10-18 15:47:06 +02:00
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
SChernykh dd9d5b03aa Merkle tree: added one more helper function 2025-10-05 19:04:31 +02:00
SChernykh 0184a3139c CI: revised clang-tidy list of checks 2025-09-25 18:46:22 +02:00
SChernykh 1eb22109b5 Fixed m_mergeMiningExtra format description 2025-09-23 12:53:50 +02:00
SChernykh cff1210761 Store public viewkey of the subaddress 2025-09-22 19:00:43 +02:00
SChernykh 32e940577e Tari: track gRPC channel state and display it in logs/status/API 2025-09-15 15:53:35 +02:00
SChernykh d6c249ca17 Tari: fixed a crash when node is not available 2025-08-04 22:03:35 +02:00
SChernykh 07259e029a TCPServer: pass connection fails to clients 2025-08-02 14:59:49 +02:00
SChernykh b1348b6c80 Fixed asan error (use after poison) 2025-08-01 18:21:06 +02:00
SChernykh a4a0c03517 Tari: fixed the previous fix 2025-07-25 09:49:08 +02:00
SChernykh c682ad3111 Tari: fixed incorrect block template for stale shares 2025-07-18 12:24:17 +02:00
SChernykh 964f4c8065 Updated copyright 2025-07-14 20:30:33 +02:00
SChernykh 436b39c6b1 Fixed incorrect hash for stale shares 2025-06-27 07:45:22 +02:00
SChernykh 3147a2e968 Fixed build errors 2025-06-06 20:21:47 +02:00
SChernykh 435e6c7599 Tari: added block push via gRPC API 2025-06-06 19:02:08 +02:00
SChernykh ce840733f1 Merge mining: get a new block template immediately after submitting a block. 2025-06-06 12:36:17 +02:00
SChernykh 8d639bfcf2 API: added chain ID to the merge mining data 2025-06-05 11:31:06 +02:00
SChernykh d3026a97b7 API: added merge mining data 2025-06-04 11:46:10 +02:00
SChernykh b06fcc7516 Fix: don't use outdated merge mining data
And warn the user in the log
2025-06-02 14:09:28 +02:00
SChernykh 915be9e39f Tari: fixed max gRPC message size 2025-05-27 12:58:54 +02:00
SChernykh b9e415c659 Updated Tari gRPC proto files 2025-05-25 10:07:28 +02:00
SChernykh f9831500e4 Fixed build 2025-05-16 08:11:22 +02:00
SChernykh e9d49b2a1d Added missing #ifdef 2025-05-15 23:21:47 +02:00
SChernykh 3fc68e680a Tweaked log messages 2025-05-15 18:43:22 +02:00
SChernykh 604ef13aa6 Tari merge mining: added more checks 2025-05-15 12:28:07 +02:00
SChernykh 1f3872254d Tari: more efficient polling
Use `GetTipInfo` gRPC call to quickly check for changes
2025-05-14 12:47:31 +02:00
SChernykh 27a2461d1d Tari: don't update the aux data too often if only fees change 2025-05-14 09:41:24 +02:00
SChernykh 70298cd065 Merge mining donation support 2025-05-13 17:18:29 +02:00
SChernykh df21dd48af Fixed std::random_device usage 2025-04-29 11:07:03 +02:00
SChernykh a55858b44f More debug thread name fixes 2025-03-16 14:39:56 +01:00
SChernykh d7cd9d24fc Fixed cppcheck errors 2024-11-30 12:28:31 +01:00
SChernykh 9cd9055913 Print merge mining status 2024-06-03 17:31:18 +02:00
SChernykh b07e8813c6 Tari: call SubmitBlock RPC in background
to avoid stalling the main thread
2024-05-23 00:16:13 +02:00
SChernykh 5e7d48e70c Fix: don't call update_block_template twice 2024-05-22 15:27:23 +02:00
SChernykh a25b5c9713 Tari: fixed pow_data generation 2024-05-11 18:58:53 +02:00
SChernykh fe19402218 Tari: enabled submit block gRPC call 2024-05-10 20:01:10 +02:00
SChernykh f67009f133 Added path bitmap to get_merkle_proof 2024-05-10 15:34:30 +02:00
SChernykh e986e5dc2e Tari: Added coinbase_merkle_proof to pow_data 2024-05-10 13:56:28 +02:00
SChernykh f270b979c8 Fix: use correct nonce value 2024-05-09 20:47:26 +02:00
SChernykh fd953a0b26 Tari: serialize pow_data WIP 2024-05-09 20:35:41 +02:00
SChernykh e8d800b433 Tari: submit block code WIP 2024-04-30 23:15:34 +02:00