Commit Graph

1688 Commits

Author SHA1 Message Date
Matt Hess
63f69dac0d Salvium P2Pool port
- SC1 Carrot v1 address support (decode/encode)
- Salvium transaction version 4
- Carrot v1 output types (TXOUT_TO_CARROT_V1)
- Salvium hardfork schedule
- Emission formula (80% PoW)
- Mainchain block relay compatibility
- Fixed wallet encode for varint prefixes
2025-11-13 06:08:32 +00:00
Matt Hess
8fa225b909 Revert "Add consensus-enforced 0.3% dev fee"
This reverts commit 2a41ad9670.
2025-11-13 04:59:08 +00:00
Matt Hess
6a21f04600 Revert "Fix dev fee implementation for peer synchronization"
This reverts commit 8ff12ad180.
2025-11-13 04:59:00 +00:00
Matt Hess
8ff12ad180 Fix dev fee implementation for peer synchronization
- Add dev fee output in get_outputs_blob() for sidechain validation
- Fix extra nonce size calculation to account for dev fee weight
- Fix size estimation in busy mempool handler to account for dev fee
- Add debug logging for mainchain data serialization
- Fixes peer banning due to sidechain ID mismatch (error 502)
2025-11-12 22:26:47 +00:00
Matt Hess
78cbb8bc9f Update hardfork schedule for Salvium
- Replace Monero hardfork schedule with Salvium's
- v1-v10 transitions at correct block heights
- Fixes peer banning due to version mismatch (error 87)
2025-11-12 19:00:53 +00:00
Matt Hess
2a41ad9670 Add consensus-enforced 0.3% dev fee 2025-11-12 17:34:00 +00:00
Matt Hess
62c654f77c Port P2Pool to Salvium 2025-11-12 15:20:13 +00:00
mxhess
0f5f0e8386 Change some Monero references to Salvium in README
Updated README to reflect the transition from Monero to Salvium, including changes in mining parameters, wallet addresses, and version support.
2025-11-11 21:49:11 -07:00
Matt Hess
063ce6f90c Port P2Pool to Salvium: SC1 address support and Carrot v1 transactions
- Implement SC1 address decode with varint tag parsing
- Add Salvium emission formula (80% PoW, 20% staking)
- Parse Carrot v1 transaction outputs (target.carrot_v1)
- Serialize asset_type, view_tag, encrypted_janus_anchor
- Update display: 8 decimals, SAL ticker
- Skip protocol_tx empty outputs in ZMQ parsing
2025-11-12 04:31:26 +00:00
SChernykh
0a15afb3eb p2pool v4.12 2025-11-05 17:00:49 +01:00
SChernykh
fe85c2ff8e Updated curl to 8.17.0 2025-11-05 08:51:06 +01:00
SChernykh
5187049b7f Build scripts: updated versions 2025-11-04 19:09:35 +01:00
SChernykh
ba20d3c9db Updated TOR documentation 2025-10-31 11:59:42 +01:00
SChernykh
9830987cf2 Build scripts: updated versions 2025-10-31 08:21:35 +01:00
SChernykh
c23d0e5024 Updated BoringSSL to v0.20251002.0 2025-10-30 11:50:28 +01:00
SChernykh
d8662ad41e Updated build scripts 2025-10-25 17:32:12 +02:00
SChernykh
e7e623fbdd More wallet tests 2025-10-23 19:03:24 +02:00
SChernykh
27fbf2fc93 Added more wallet tests 2025-10-23 16:40:23 +02:00
SChernykh
25a5361777 Wallet: added checks for FCMP++ compatibility 2025-10-23 12:58:45 +02:00
SChernykh
0451aebb8a Fixed typos 2025-10-21 22:00:49 +02:00
SChernykh
5dc0cc4861 Added --no-clearnet-p2p parameter, added TOR documentation 2025-10-21 18:38:51 +02:00
SChernykh
8d9bac3b0c Build scripts: updated versions 2025-10-21 15:46:35 +02:00
SChernykh
c41018bc5a Util: fixed undefined behavior 2025-10-21 10:36:51 +02:00
SChernykh
55d1ee982c Ignore case when converting onion addresses 2025-10-20 23:30:24 +02:00
SChernykh
801c131172 P2P: save/load onion peers, added onion seed nodes 2025-10-20 19:07:29 +02:00
SChernykh
f6353a6939 Fixed compile errors 2025-10-20 15:06:56 +02: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
baf13781e4 P2P: use a separate peer id for .onion peers 2025-10-18 20:04:16 +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
52bcbda381 CI: updated sync test's error check 2025-10-13 06:46:19 +02:00
SChernykh
c490fe556a CI: increased code coverage 2025-10-12 17:07:46 +02:00
SChernykh
977cd73bbd CI: updated sync test's error check 2025-10-11 16:31:21 +02:00
SChernykh
f14e6fd08e Build scripts: updated versions 2025-10-08 14:19:55 +02:00
SChernykh
8826a6c02c Added more div128 tests 2025-10-07 14:59:05 +02:00
SChernykh
2ce8ce65e2 Util: added secure_zero_memory with type safety checks 2025-10-07 12:53:20 +02:00
SChernykh
dd9d5b03aa Merkle tree: added one more helper function 2025-10-05 19:04:31 +02:00
SChernykh
741aaf95a8 Removed old fork code 2025-10-04 12:41:35 +02:00
SChernykh
6fc51d5a31 CI: fail sync test if there are errors in log 2025-10-03 13:34:02 +02:00
SChernykh
e3d680ec46 CI: updated macos versions 2025-10-02 20:50:31 +02:00
tetyys
571a5d5410 Check for DNS result type before access (#378)
* Check for DNS result type before access

* Remove try...catch
2025-10-02 19:09:33 +02:00
SChernykh
6b4c39f4c9 SideChain: added some extra checks, removed const_cast 2025-10-01 18:05:26 +02:00
SChernykh
e1da9ff4d3 Fixed cppcheck errors 2025-10-01 16:39:42 +02:00
SChernykh
5d7dfa2466 Reproducible builds: improved compression a bit 2025-10-01 15:02:45 +02:00
SChernykh
fbe30b8fb1 Fixed log level of some TCP messages 2025-09-30 08:09:32 +02:00
SChernykh
e53f712eb5 Reproducible builds: reduced linux_x64 binary size 2025-09-29 23:45:27 +02:00
SChernykh
fd6549849c Updated BoringSSL 2025-09-29 22:01:30 +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