# 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](/contrib/verify-commits)
Tool to verify that merge commits were signed by a developer.

### [Linearize](/contrib/linearize)
Construct a linear, no-fork, best version of the blockchain.

### [Qos](/contrib/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](/contrib/seeds)
Utility to generate the seed node array that is compiled into the client.

## Build Tools and Keys

### [Debian](/contrib/debian)
Contains files used to package dragonxd for Debian-based Linux systems.

### [Gitian-descriptors](/contrib/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](/contrib/gitian-downloader)
Various PGP files of developers.

### [MacDeploy](/contrib/macdeploy)
Scripts and notes for Mac builds.

## Test and Verify Tools

### [TestGen](/contrib/testgen)
Utilities to generate test vectors for the data-driven base58 tests.

### [Verify SF Binaries](/contrib/verifysfbinaries)
Legacy SourceForge-era signature verification script (unused for DragonX).
