Commit Graph
355 Commits
Author SHA1 Message Date
DanSandClaude Opus 4.8 bf1b4cffe0 Bump version to 1.0.3
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 16:04:51 -05:00
DanS ddd851dc11 Bump version to 1.0.2 2026-03-17 04:11:32 -05:00
DanS f0cb958cac Fix fresh sync failure at diff reset height 2838976
Fresh-syncing nodes rejected the on-chain min-diff block at the
RANDOMX_VALIDATION activation height (2838976) because GetNextWorkRequired
computed the expected nBits from the preceding normal-difficulty blocks,
producing 469847994 instead of the on-chain 0x200f0f0f (HUSH_MINDIFF_NBITS).
This caused all seed nodes to be banned with "Incorrect diffbits" and the
node could never sync past that height.

Two changes:

1. GetNextWorkRequired (pow.cpp): Return nProofOfWorkLimit at the exact
   RANDOMX_VALIDATION activation height, matching the on-chain diff reset.

2. ContextualCheckBlockHeader (main.cpp): Raise DragonX daaForkHeight to
   RANDOMX_VALIDATION + 62000, covering the window where nBits was never
   validated (diff reset at 2838976 through the attack at ~2879907).

Tested by invalidating block 2838975 and reconsidering — node re-validated
through the diff reset and attack window, syncing back to tip with zero
bad-diffbits rejections.

Bump version to 1.0.1.
2026-03-12 01:25:21 -05:00
DanS 85c8d7f7dd Rebrand hush3 to DragonX and share RandomX dataset across mining threads
Minimal rebrand (see compliant-rebrand branch for full rebrand):
- Rename binaries: hushd/hush-cli/hush-tx → dragonxd/dragonx-cli/dragonx-tx
- Default to DRAGONX chain params without -ac_* flags (randomx, blocktime=36, private=1)
- Update configure.ac: AC_INIT([DragonX],[1.0.0])
- Update client version string and user-agent to /DragonX:1.0.0/
- Add chainparams.cpp with DRAGONX network parameters
- Update build.sh, miner.cpp, pow.cpp for DragonX
- Add bootstrap-dragonx.sh utility script
- Update .gitignore for release directory

Share single RandomX dataset across all mining threads:
- Add RandomXDatasetManager with readers-writer lock, reducing RAM from
  ~2GB per thread to ~2GB total plus ~2MB per thread for the VM scratchpad
- Add LogProcessMemory() diagnostic helper for Linux and Windows
2026-03-04 18:42:42 -06:00
fekt 008f80bbd9 Bump version and protocol version 2026-02-11 01:28:06 +00:00
Duke 55c3f78dca Remove gmp as a dependency since we don't actually use it
Long ago our code actually used gmp directly but that is no longer the case.
Our dependency secp256k1 has an optional dependency on gmp but the way we
configure and compile secp256k1 does not use it. So there is no reason
to download and compile gmp in our build system. This means we no longer
need to maintain three different forks of GMP (one for Darwin, one for Win and
one for Linux that supports gcc15). This also makes downloading and compiling
Hush faster. Joy to the world.
2025-12-30 13:42:08 -05:00
Duke 5dc6db7e5c Prevent unary_function warning and other warnings #449 2025-03-02 18:52:16 -05:00
Duke 7dec077899 Bump version and protocol version 2025-02-18 09:36:39 -05:00
Duke fcc5c17628 Bump protocol version and client version 2024-09-18 10:59:37 -04:00
Duke 76e81281e1 Bump version to 3.10.2 2024-02-21 10:37:27 -05:00
Duke 9e26dac42a Remove libcryptoconditions dependency #381 2024-02-11 00:04:55 -05:00
Duke 6635ab9e34 Bump version and copyright year 2023-12-31 06:55:58 -05:00
Duke 06876b1cc9 Bump version to 3.10.0 2023-11-13 08:40:04 -05:00
nullfekt 03071ef0cd Bump version 2023-06-29 20:23:28 -04:00
Duke 537307a812 Bump version and protocol version 2023-02-09 13:53:55 -08:00
Duke 2f8e5f8144 bump year 2023-02-09 13:43:17 -08:00
zanzibar 512da314a5 BIP155 (addrv2)
Tor v3 + i2p
2023-01-06 15:23:22 +00:00
fekt e313676562 Mac build fixes 2022-10-27 16:49:02 -04:00
jahway603 64e8d05214 fixed an update script 2022-09-29 00:29:28 -04:00
Duke Leto 7e53907bdc Update version to 3.9.2 2022-09-18 11:08:09 -04:00
Duke Leto 1799c6c9bf Remove zeromq support 2022-09-12 19:35:27 -04:00
Duke Leto db056ce1ba Bump version to 3.9.1 2021-12-29 20:42:42 -05:00
Duke Leto 6bca401f93 Bump version to 3.9.0 2021-09-16 22:51:45 -04:00
Duke Leto 50ee752c3f hushd, hush-cli and hush-tx are real binaries now
No more bash scripts or .bat files needed as wrappers!
2021-07-11 19:16:26 -04:00
Duke Leto 10a6706e71 Bump version to 3.8.0 2021-07-09 15:11:36 -04:00
Duke Leto 2da07fe585 Bump release and protocol version 2021-04-17 13:07:53 -04:00
Duke Leto af5f461d0b bump version 2021-03-27 07:48:45 -04:00
Duke Leto e1d5c5b731 Bump version to 3.6.3 and ++ proto version 2021-02-25 16:07:27 -05:00
Duke Leto b870172671 bump ver and copyright year 2021-02-08 11:44:32 -05:00
Duke Leto 527c862cd2 Bump version and copyright year 2021-01-24 19:33:40 -05:00
Duke Leto 4ebf155a90 Bump version to 3.6.0 2020-11-14 04:49:10 -05:00
miodragpop 448feb14c3 windows build fix 2020-11-04 17:41:02 +01:00
miodragpop f8461ed1ae -lcrypto => -lwolfssl 2020-11-03 23:25:45 +01:00
miodragpop 7e3c7ff502 more OpenSSL leftovers fixed (thanks to buggy 'make clean' for missing this) 2020-11-03 22:19:17 +01:00
miodragpop a7e65e6a94 Merge remote-tracking branch 'zcash/hush3-dev-ecdsa-wolf' into miodrag 2020-11-02 14:06:13 +01:00
miodragpop 9ff7565901 OpenSSL replaced by WolfSSL 2020-10-28 22:13:52 +01:00
DenioD e2b6c0c453 push version to 3.5.2 and update man pages 2020-10-22 22:00:56 +02:00
Duke Leto dd8ab3df68 Sync CLIENT_VERSION_BUILD and bump version to 3.5.1 2020-10-05 20:36:59 -04:00
Duke Leto fd456ec146 Bump version to 3.5.0 and update unix man pages 2020-07-26 08:47:59 -04:00
miodragpop 2112a1ae04 ... and this one 2020-07-17 03:01:40 +02:00
miodragpop 57052a0e9f more typos fix 2020-07-17 02:58:33 +02:00
miodragpop 2213356028 whitespaces: changes undoed 2020-07-17 02:55:00 +02:00
miodragpop b1de0a7f86 proton lib removed 2020-07-16 23:35:43 +02:00
miodragpop 9544bd0ffc adjustments for cross build of aarch64 binaries on x86_64 linux 2020-07-12 11:47:00 +02:00
Duke Leto 3a28e7bab8 bump version to 3.4.0 2020-06-13 11:09:00 -04:00
Duke Leto 699b59037a Bump version to 3.3.2 2020-03-08 08:55:42 -04:00
Duke Leto 499720c42b Do not anger the libgmp Elder Gods 2020-01-25 08:28:38 -05:00
Duke Leto 4d965f53eb A bunch more libsnark deletions/updates 2020-01-24 06:32:13 -05:00
Duke Leto 447ec28997 Delete a lot of libsnark stuff 2020-01-23 18:45:41 -05:00
Duke Leto d4ac8162f6 Bump version to 3.3.1 2020-01-18 08:47:57 -05:00