developer-notes.md and tor.md still gave 18030 (the HUSH3 port) as the DragonX P2P port, contradicting the README. DragonX derives 21768 from its chain parameters (hush_utils.h), as contrib/seeds shows. The tor.md torrc example now maps 21768 to 127.0.0.1:21768, matching what torcontrol.cpp's ADD_ONION uses (GetListenPort() for both). sdl_checkpoints.pl: the "another chain" example now passes -ac_name, since ./src/dragonx-cli is already the default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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).