Files
dragonx/contrib
DanS ffb753057a cleanup: rebrand currency unit, depends mirrors, seeds; drop Hush-history files
Follow-up to the doc rebrand, addressing the previously out-of-scope legacy:

- Currency unit: strCurrencyUnits (chainparams.cpp) and CURRENCY_UNIT
  (amount.cpp) "HUSH" -> "DRAGONX". Both are display-only (RPC help + metrics);
  no logic comparisons, verified.
- depends mirrors: libsodium/boost/utfcpp fetched from git.hush.is/attachments;
  repointed to canonical upstream (GitHub release / archives.boost.io / GitHub
  tag) with the existing sha256 hashes verified to match those sources.
- Seeds: nodes_main.txt now lists the five node[1-5].dragonx.is IPs (DNS-resolved)
  instead of Hush nodes; regenerated src/chainparamsseeds.h (was compiling Hush
  seed IPs as the fixed fallback); generate-seeds.py header now says DragonX;
  hush_seed_nodes.txt updated to DragonX seeds.
- Deleted Hush-history / wrong-for-DragonX files: contrib/snapshot/ (block-500000
  Hush airdrop, ~10MB), notary_seeds.txt (Hush notaries; DragonX isn't notarized),
  and the Hush emission scripts hush_supply, hush_supply_old, hush_halvings,
  hush_block_subsidy_per_halving (hardcode Hush's 340000/12.5 economics).

Kept: hush_scanner (engine invoked by dragonx_scanner) and the "The Hush
developers" copyright headers (lineage credit).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 14:13:31 -05:00
..
2024-02-27 23:59:59 +01:00
2024-03-04 08:57:14 -05:00
2024-02-27 23:59:59 +01:00

DragonX Contrib

This directory contains various supporting tools and scripts. Much of this is old material inherited from the Bitcoin/Zcash/Komodo/Hush lineage, so not every script is guaranteed to work. Please fix bugs and report anything you find.

DragonX Tools

block_time.pl

Estimate when a DragonX block will happen.

Example:

./contrib/block_time.pl  123456 # Print out datetime of when block height 123456 happens

gen-zaddrs.pl

Generate zaddrs in bulk, by default 50 at a time. Prints out a zaddr one per line. Useful on a fully-private chain where shielded addresses are the norm.

Example:

./contrib/gen-zaddrs.pl     # generate 50 zaddrs
./contrib/gen-zaddrs.pl 500 # generate 500 zaddrs

Repository Tools

Verify-Commits

Tool to verify that merge commits were signed by a developer.

Linearize

Construct a linear, no-fork, best version of the blockchain.

Qos

A Linux bash script that sets up traffic control (tc) to limit the outgoing bandwidth for connections to the DragonX network. This lets you run an always-on dragonxd instance and have another local dragonxd connect to it and receive blocks from it.

Seeds

Utility to generate the seed node array that is compiled into the client.

Build Tools and Keys

Debian

Contains files used to package dragonxd for Debian-based Linux systems.

Gitian-descriptors

Legacy notes on getting gitian builds running. Note that the real DragonX build path is ./build.sh together with the depends/ system; gitian is legacy.

Gitian-downloader

Various PGP files of developers.

MacDeploy

Scripts and notes for Mac builds.

Test and Verify Tools

TestGen

Utilities to generate test vectors for the data-driven base58 tests.

Verify SF Binaries

Legacy SourceForge-era signature verification script (unused for DragonX).