659 Commits

Author SHA1 Message Date
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
Duke
9177a51b6d Remove getbalance64 #473 2025-10-16 11:14:01 -04:00
Duke
04ec2be8c8 Add fullyNotified to getblockchaininfo and use it in tests 2025-08-22 13:17:36 -04:00
Duke
cae942a5c9 z_listlockunspent 2025-08-20 15:15:36 -04:00
Duke
15b4378ff3 Remove unused code 2025-08-08 18:02:25 -04:00
Duke
51462777c8 Remove dead code 2025-07-24 09:07:44 -04:00
Duke
e0821acab4 Remove dead code 2025-07-24 08:56:10 -04:00
Duke
7e63e2f013 We call them HACs now 2025-06-27 05:32:12 -04:00
Duke
bd5f0103a8 Remove more cc code 2024-09-22 12:19:12 -04:00
Duke
f6b42fe3a3 We do not support coin imports 2024-09-22 12:12:22 -04:00
Duke
f5cae3b403 getinfo rpc needs a cs_wallet lock
Without it we get an AssertLockHeld when calling GetKeyPoolSize .
We could probably make this lock apply to less code, possibly only
the single line that calls GetKeyPoolSize() needs it.
2024-09-13 04:37:48 -04:00
Duke
18e3364bc2 Make docs for addnode/disconnectnode correct for HACs #376 2024-04-19 07:32:23 -04:00
Duke
3354d45fd3 Make getchaintxstats less noisy in debug log 2024-03-20 16:19:54 -04:00
Duke
8ff5e4aa5e Make getchaintxstats less noisy in debug log 2024-03-20 14:09:02 -04:00
Duke
64f59552b3 They are called Hush Arrakis Chains (HACs) now 2024-03-15 13:32:46 -04:00
onryo
58b65f9670 Update copyrights 2024-02-27 23:59:59 +01:00
Duke
f64c10baa9 Replace hushd with 'Full node' in a few error messages 2024-02-24 06:09:50 -05:00
Duke
b9d3c77a4c Merge branch 'duke' into dev 2024-02-15 10:41:50 -05:00
Duke
07b041fd94 Do not apply overwinter/sapling consensus rules to block 0 2024-02-15 10:40:22 -05:00
Duke
8b82bc4d15 Delete more CCs #381 2024-02-11 00:21:29 -05:00
Duke
27034531c9 Delete more CCs #381 2024-02-11 00:12:59 -05:00
Duke
b41785a684 Delete more CCs #381 2024-02-10 22:56:34 -05:00
Duke
5fa46e1d8d Delete more CCs #381 2024-02-10 21:46:36 -05:00
Duke
9e0ac062fa Delete a lot of CC stuff #381 2024-01-30 11:23:35 -05:00
Duke
bb8a3c57a4 Delete auction/faucet/heir CC rpcs #381 2024-01-30 10:48:21 -05:00
Duke
86104c4ef7 Remove oracles RPCs 2024-01-29 12:04:59 -05:00
Duke
27db254d68 Sapling and Overwinter network upgrades are always active
These NU's are always active for Hush Arrakis Chains so this code only serves
to slow down all operations by constantly being checked. So we disable them
which will speed up syncing, mining and creating transactions.
2024-01-21 16:34:53 -05:00
Duke
3a3c67e0fc Delete many things we do not want or need 2024-01-13 00:06:09 -05:00
Duke
de7a5fb6d7 remove cc payments and rewards 2024-01-12 20:47:46 -05:00
Duke
657bb1e25e remove dice, channels, lotto 2024-01-11 22:30:50 -05:00
Duke
a23ab58af6 Start removing unused gateway code 2024-01-07 13:20:17 -08:00
Duke
765487bb14 Remove unused code 2024-01-06 23:30:19 -08:00
Duke Leto
21530ba159 Remove unused code 2024-01-06 21:24:57 -08:00
Duke
20fdc0e4fe Get rid of deprecation entirely which allows current code to run past block height 5555555 2023-12-27 12:57:35 -05:00
Duke
04a705444b Improve rpc docs for getblocktemplate 2023-12-03 19:01:45 -08:00
Duke
620ca45efc Cleanup notary code 2023-11-22 09:48:09 -05:00
Duke
d922526642 Merge remote-tracking branch 'origin/dev' into danger 2023-10-25 12:44:18 -04:00
duke
95b4371aa4 Merge pull request 'Reduce memory usage' (#332) from reduce_memory into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/332
2023-10-25 15:11:51 +00:00
Duke
31a6b72caf Merge branch 'dev' into reduce_memory 2023-10-16 06:04:56 -04:00
Duke
5cf38dd5db Merge branch 'dev' into danger 2023-10-13 09:27:38 -04:00
Duke
09555fbee2 Allow abortrescan during RPC warmup
If we don't, we can get the hilarious error message that the node is Rescanning...
when trying to run abortrescan when the node automatically does a rescan on boot.
2023-09-18 12:43:27 -04:00
Duke
e2521ac2fa Remove unused sproutfunds argument 2023-09-03 08:48:06 -04:00
Duke
bd38a12512 Remove useless sprout key from coinsupply RPC 2023-09-03 08:40:06 -04:00
Duke
bacc08e817 Remove sprout data from valuePools
This codebase does not support sprout, the data will always be zero/empty
and is essentially useless cruft, so we delete it.
2023-09-03 08:37:19 -04:00
Duke
479ed54ff0 Add devtax address and scriptpub to getblocktemplate output 2023-06-23 09:13:11 -04:00
Duke
9f92bdd7dc Decentralized Devtax 2023-06-19 09:32:32 -04:00
Duke
b03c8f3108 Remove unused code 2023-06-17 21:31:05 -04:00
Duke
e8dc755f06 Reduce memory usage of CBlockIndex
Ported code from https://github.com/zcash/zcash/pull/6192 with various changes needed
for the Hush codebase.
2023-04-13 23:30:23 -04:00
Duke
c1baab7b8a Rate limit incoming addr p2p messages 2023-03-16 22:33:25 -04:00
Duke
e033a2e6eb Update copyrights to 2023 2023-02-09 18:06:03 -05:00