DanS 10906597d4 Fix DragonX P2P port, block subsidy, blocktime, and difficulty params
- chainparams.cpp: Correct P2P port from 18030 to 21768
- hush_utils.h: Use CRC-based network magic instead of HUSH_MAGIC shortcut
  so new standalone binary matches existing network nodes
- hush_utils.h: Remove DragonX-specific hush_block_subsidy() call, use
  generic ASSETCHAINS_HALVING logic consistent with mainnet
- hush_utils.h: Fix P2P port override so -port flag works correctly
- main.cpp: Remove blocktime halving code (150s→75s at z2zheight) that
  does not apply to DragonX's fixed 36s blocktime
- pow.cpp: Use params.AveragingWindowTimespan() (17*36=612) instead of
  standalone AveragingWindowTimespan() which returns HUSH3's 17*75=1275
2026-03-04 00:14:39 -06:00
2021-01-26 08:56:08 -05:00
2025-12-30 13:48:14 -05:00
2024-02-27 23:59:59 +01:00
2024-03-15 15:14:26 -04:00
2021-10-20 23:27:25 -04:00
2024-03-31 23:54:32 +02:00
2019-08-07 04:56:24 -07:00
2019-08-07 04:56:24 -07:00
2026-01-01 15:24:57 -05:00
2017-10-22 04:08:53 +02:00

DragonX

DragonX is a privacy-focused cryptocurrency full node using RandomX proof-of-work. All transactions are shielded (z-to-z) by default, providing strong on-chain privacy.

Algorithm RandomX (CPU-mineable)
Block time 36 seconds
Block reward 3 DRAGONX
Halving Every 3,500,000 blocks
Privacy All transactions shielded (-ac_private=1)
P2P port 21768
RPC port 21769

Build on Debian or Ubuntu

# Install build dependencies
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git zlib1g-dev wget \
      bsdmainutils automake curl unzip libsodium-dev cmake

# Clone the repo
git clone https://git.dragonx.is/DragonX/dragonx
cd dragonx

# Build (uses ~2GB RAM per -j thread)
./build.sh -j3

Build on Arch

sudo pacman -S gcc libsodium lib32-zlib unzip wget git python rust curl autoconf cmake

git clone https://git.dragonx.is/DragonX/dragonx
cd dragonx
./build.sh -j3

Build on Fedora

sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libtool ncurses-devel patch -y

git clone https://git.dragonx.is/DragonX/dragonx
cd dragonx
./build.sh -j3

Build on macOS

sudo port update && sudo port upgrade outdated
sudo port install qt5

git clone https://git.dragonx.is/DragonX/dragonx
cd dragonx
./build.sh -j3

Cross-compile for Windows (on Linux)

sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib libdb++-dev \
      autoconf libtool ncurses-dev unzip git zip \
      zlib1g-dev wget bsdmainutils automake mingw-w64 cmake libsodium-dev

git clone https://git.dragonx.is/DragonX/dragonx
cd dragonx
./util/build-win.sh -j$(nproc)

Running

# Start the daemon
./src/dragonxd

# In another terminal, interact via CLI
./src/dragonx-cli getinfo
./src/dragonx-cli z_getnewaddress

Data directory: ~/.hush/DRAGONX/ Config file: ~/.hush/DRAGONX/DRAGONX.conf

Mining

DragonX uses the RandomX algorithm and is CPU-mineable. Point any RandomX-compatible miner (e.g. XMRig) at a DragonX stratum pool, or solo-mine with:

./src/dragonxd -gen -genproclimit=$(nproc) -mineraddress=<your_zaddr>

Attribution

DragonX is a fork of the Hush Full Node. Based on code from Zcash, Komodo, and Bitcoin Core. Licensed under GPLv3 — see COPYING and LICENSE.

License

For license information see the file COPYING.

Description
No description provided
Readme 178 MiB
Languages
C++ 48%
Shell 28.2%
C 15.8%
Python 4.6%
M4 1%
Other 2.3%