1107 Commits

Author SHA1 Message Date
dan_s
20aeebb83f Fix 7 stale references in docs and comments after codebase restructuring
- doc/DEVELOPING.md: src/main.cpp → src/tx_validation.cpp / block_processing.cpp
- doc/CHANGELOG-randomx-validation.md: src/main.cpp → src/block_processing.cpp (×2)
- doc/release-process.md: checkpoint instructions now reference
  src/chainparams_checkpoints_hush3.h instead of src/chainparams.cpp
- src/hush_defs.h: ./contrib/block_time.pl → ./contrib/scripts/block_time.pl (×3)
- src/cc/dapps/dappstd.c: commented hush_cJSON.c → hush_cJSON.cpp
2026-02-27 14:19:08 -06:00
dan_s
a2647b106f Move 15 loose scripts from contrib/ root to contrib/scripts/
Consolidate all standalone utility scripts into contrib/scripts/:
- Perl: avg_blocktime.pl, block_time.pl, gen-zaddrs.pl, sda_checkpoints.pl,
  sdl_checkpoints.pl, hush_block_subsidy_per_halving, hush_halvings,
  hush_scanner, hush_supply, hush_supply_old
- Shell: fresh_clone_compile_and_run.sh, tidy_datadir.sh, dragonx_scanner
- Python: convert_address.py
- BAT: hush-uri.bat

Update path references in contrib/README.md, doc/OLD_WALLETS.md,
doc/relnotes/README.md, and sdl_checkpoints.pl.
2026-02-27 12:00:46 -06:00
dan_s
ab6a3a05d7 Deduplicate cJSON: consolidate 4 copies into a single canonical pair
- Compile cJSON.c as a standalone C translation unit (added stdbool.h)
- Rename hush_cJSON.c → hush_cJSON.cpp and compile as standalone C++ unit
  with forward declarations for external deps (_stripwhite, clonestr, etc.)
- Remove #include "cJSON.c" unity-build from hush_cJSON
- Change hush.h from #include "hush_cJSON.c" to #include "hush_cJSON.h"
- Add both files to libbitcoin_server_a_SOURCES in Makefile.am
- Delete cc/dapps/cJSON.c (old 2009 fork, 1201 lines removed)
- Replace cc/includes/cJSON.h with thin redirect to canonical headers
- Update dapp includes to reference canonical cJSON.c
2026-02-27 09:39:48 -06:00
dan_s
f565b2920d Split wallet.cpp: extract key management into wallet_keys.cpp
Separate key management from transaction logic in wallet.cpp (5,059 lines):
- wallet.cpp: 5,059 → 4,143 lines (transaction tracking, coin selection, balances)
- wallet_keys.cpp: 975 lines (key generation, encryption, HD seed, keypool)

Extracted functions include key generation (GenerateNewKey, GenerateNewSaplingZKey),
cryptographic key storage (AddKeyPubKey, AddCryptedKey, AddCryptedSaplingSpendingKey),
wallet encryption (Unlock, ChangeWalletPassphrase, EncryptWallet), HD seed management,
keypool operations, CReserveKey methods, and shielded key visitor operators.
2026-02-27 01:51:24 -06:00
dan_s
a918136a7c Split chainparams.cpp and rpcwallet.cpp into smaller files
chainparams.cpp: 5420 -> 593 lines
  - Extract HUSH3 checkpoint data to chainparams_checkpoints_hush3.h
  - Extract DRAGONX checkpoint data to chainparams_checkpoints_dragonx.h

rpcwallet.cpp: 6392 -> 4099 lines
  - Extract z-index query RPCs to rpcwallet_zindex.cpp
  - Extract shielded async operation RPCs to rpcwallet_zops.cpp
  - Create rpcwallet_internal.h for shared declarations
2026-02-27 01:51:24 -06:00
dan_s
3d4e25e429 Split hush unity build: move ~14k lines of implementation from headers into hush_impl.cpp and hush_nSPV_impl.cpp
- Add HUSH_PRIVATE_IMPLEMENTATION guard to hush.h separating implementation from declarations
- Create hush_impl.cpp to compile all hush_*.h implementation as a separate translation unit
- Create hush_nSPV_impl.cpp to compile all hush_nSPV_*.h headers separately
- main.cpp now includes declarations only, no longer a unity build for hush code
- Add both new compilation units to Makefile.am
2026-02-26 20:55:12 -06:00
dan_s
896fa9c107 Reorganize repo: move scripts to contrib/scripts/, clean up .gitignore, untrack backup files 2026-02-26 19:42:28 -06:00
dan_s
8a0eb77692 Fix RandomX validation exploit with difficulty reset, improve build system
- One-time difficulty reset to minimum for 17 blocks at activation height
- Separate RandomX build dirs for linux/win64 cross-compilation
- Add build target tracking to auto-clean on target switch
- Automated win64 release packaging to release-win64/
- Add build artifacts to .gitignore
- Miner memory diagnostics and large-page dataset fallback
2026-02-19 22:07:38 -06:00
Duke
1faf679a50 Update man pages via ./util/gen-manpages.sh 2025-07-03 12:57:20 -04:00
Duke
3caf605976 -ac_minopreturnfee is in puposhis 2025-06-27 10:46:42 -04:00
Duke
9042a24711 Update relnotes 2025-06-27 10:44:17 -04:00
Duke
a07b38b615 Hush 3.10.4 "Hazy Hākuturi" 2025-06-27 10:20:53 -04:00
Duke
7927965650 Update relnotes 2025-06-27 08:50:18 -04:00
Duke
9772ad8e6f Add help doc that documents fixing database corruption 2025-06-09 12:51:25 -04:00
duke
f220091f16 Fix relnotes formatting 2025-05-29 17:19:40 -04:00
Duke
dd4aac4f5f Ensure ASSETCHAINS_MINOPRETURNFEE modifies chain magic and document why 2025-05-16 21:18:56 -04:00
Duke
d94b75087e Update relnotes 2025-05-15 12:22:51 -04:00
jahway603
babb4a39c2 Removed RPCs we do not have from TOR, i2p, and CJDNS docs 2025-02-26 23:42:31 -05:00
Duke
ca8711f50c Start adding 3.10.4 relnotes 2025-02-18 09:40:29 -05:00
jahway603
9782160ff6 Debchange package does not exist and bin lives in devscripts package 2024-11-14 15:54:46 -05:00
jahway603
6133c1669c Updated Debian package changelog 2024-09-30 09:24:34 -04:00
Duke
67fe111050 Mention wolfssl change in relnotes 2024-09-30 04:36:21 -07:00
onryo
9f31214812 Add notes to 3.10.3 2024-09-29 02:44:50 +02:00
jahway603
7cb86b8aa6 Updated doc/release-process.md to resolve Issue #407 2024-09-26 11:06:29 -04:00
Duke
160802cddf Update relnotes 2024-09-18 11:48:52 -04:00
Duke
ba86196409 This document is bitrotten and not useful 2024-05-06 08:33:20 -07:00
Duke
e42b534036 Keybase is no longer used 2024-05-06 08:29:24 -07:00
onryo
d3b6af2c0b Add image 2024-04-03 18:46:12 +00:00
jahway603
5fe2904bb1 Merge branch 'dev' into master 2024-04-03 13:02:27 +00:00
onryo
72c86d8f69 move stuff 2024-03-31 23:17:16 +02:00
onryo
e860ad6efb Image to README 2024-03-18 18:03:06 +00:00
onryo
c5c0ce45da We call it hush arrakis chains 2024-03-15 19:48:12 +00:00
Duke
d1991e6454 It is called hush-arrakis-chain now 2024-03-15 15:14:26 -04:00
Duke
65c4c5c8de They are called Hush Arrakis Chains (HACs) now 2024-03-15 14:06:57 -04:00
Duke
bbfa41c77d They are called Hush Arrakis Chains (HACs) now 2024-03-15 13:34:07 -04:00
jahway603
4a3c335050 minor QA changes 2024-03-04 08:57:14 -05:00
Duke
71ff482d4f Update relnotes 2024-03-03 09:27:33 -05:00
Duke
0ad1dc5557 Update relnotes 2024-03-03 09:26:18 -05:00
jahway603
769dbae97e Update relnotes 2024-03-02 21:21:33 -05:00
Duke
ec81594b42 Update relnotes 2024-03-02 09:43:16 -05:00
jahway603
c59d38caa8 updated i2p seed node to correct i2p address 2024-03-01 10:28:59 -05:00
onryo
c561d7129a make manpages 2024-02-28 19:58:55 +01:00
Duke
a26fde4f92 Update relnotes 2024-02-28 11:50:16 -05:00
Duke
92219bc1eb Update relnotes 2024-02-28 11:37:23 -05:00
Duke
251407af3f Update relnotes 2024-02-28 09:08:52 -05:00
Duke
3da93ee53b Update relnotes 2024-02-28 08:48:24 -05:00
onryo
91dadda360 Update HUSH/DRGX checkpoints, add release name 2024-02-27 23:49:06 +01:00
onryo
c26016eb98 Add release notes for 3.10.2 2024-02-27 20:48:26 +00:00
Duke
c54b3990d9 Compiling Hush basics 2024-01-25 09:13:56 -08:00
Duke
1612ca4da7 Add some useful tips about gdb and testcoins to dev notes 2024-01-25 08:56:47 -08:00