Skip to content

DigiByte-II-Dev/DigiByte-II-Core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DigiByte-II Core

DigiByte-II Core is a standalone UTXO blockchain client (node, wallet, and optional Qt GUI).

This repository is configured as a new chain launch profile with its own genesis block and network identity. It is code-derived from DigiByte software, but runtime consensus/docs below describe the DigiByte-II network configuration.

Chain Identity

  • Name: DigiByte-II
  • Ticker: DGB2
  • PoW algorithm: SHA256D (single-algo)
  • Default Bech32 HRP (mainnet): dgb2
  • Genesis message:
    • Decentralized in an age of centralized conflict and constrained energy.

Genesis and Launch Profile

Mainnet genesis

  • Hash: 00000581951e9da3f12d75651f2301cc2e506ebd3095bfc26a6732ba1b20db36
  • Merkle root: d7885a1114aa804f13aff5a65f7fc0eb03eeaeed13fe172bf499ecedc7a2dcc1
  • Time: 1389388394
  • Bits: 0x1e0ffff0
  • Nonce: 1894492

Consensus activation from launch

Mainnet is configured so modern script/algo rules are not waiting on legacy historical heights:

  • BIP34/BIP65/BIP66: height 1
  • CSV: height 1
  • SegWit: always active (SegwitHeight = 0)
  • Mining algorithm: SHA256-only (IsAlgoActive() allows only ALGO_SHA256D)

Chain Economics (Mainnet)

Values in this section are taken from consensus code (src/validation.h, src/validation.cpp, src/consensus/amount.h, src/kernel/chainparams.cpp).

Core monetary/time constants

  • Block target time: 60 seconds (BLOCK_TIME_SECONDS)
  • Blocks per minute: 1
  • Blocks per hour: 60
  • Blocks per day: 1,440
  • Blocks per year (365d): 525,600
  • Max supply bound (consensus money range): 21,000,000,000 DGB2 (MAX_MONEY)
  • Smallest unit: 1 DGB2 = 100,000,000 base units (COIN)

Block reward schedule

  • Genesis block reward parameter: 8000 (genesis coinbase is unspendable)
  • First mined block subsidy (height 1): 72,000 DGB2
Height range Subsidy rule
0 - 1,439 72,000 DGB2 fixed
1,440 - 5,759 16,000 DGB2 fixed
5,760 - 67,199 8,000 DGB2 fixed
67,200 - 399,999 Starts at 8,000 DGB2, reduced by 0.5% every 10,080 blocks
400,000 - 1,429,999 Starts at 2,459 DGB2, reduced by 1% every 80,160 blocks
>= 1,430,000 Starts at 1,078.5 DGB2, monthly decay factor 0.98884

Note: Subsidy is clamped to 0 when it drops below 1 DGB2 in consensus logic.

Network Ports

Network P2P RPC Tor
Mainnet 22024 24022 24122
Testnet 22026 24023 24123
Signet 48443 29443 29445
Regtest 28444 28443 28543

DNS Seed Servers

Canonical DNS seeds are configured in chain params and should be kept in sync with runtime values.

Mainnet

  • seed01.dgb2.org
  • seed02.dgb2.org

Testnet

  • seed01-testnet.dgb2.org
  • seed02-testnet.dgb2.org

Signet / Regtest

  • No default DNS seed servers are configured.

Address Prefixes

Address validation constants

Canonical constants from chain params (ADDRESS_HRP, P2PKH_PREFIX, P2SH_PREFIX):

Network ADDRESS_HRP P2PKH_PREFIX P2SH_PREFIX
Mainnet dgb2 0x1E 0x3F
Testnet dgb2t 0x7E 0x8C
Signet dgb2t 0x7E 0x8C
Regtest dgb2rt 0x7E 0x8C

SegWit (Bech32 HRP)

Network Prefix
Mainnet dgb2
Testnet dgb2t
Signet dgb2t
Regtest dgb2rt

Mining Algorithm

  • Active PoW algorithm: SHA256D only
  • Multi-algo paths are disabled by consensus selection (single-algo chain)

Build

The master branch is regularly built and tested, but is not guaranteed to be production-stable at all times.

License

Released under the MIT license. See COPYING.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

No contributors