@@ -30,7 +30,7 @@ inline core::CoinParams make_coin_params(bool testnet)
3030
3131 // ===== Coin-level (net.PARENT) — from dgb::CoinParams (config_coin.hpp) =====
3232 p.symbol = " DGB" ;
33- p.block_period = CoinParams::BLOCK_PERIOD ; // 15s (Scrypt algo rotation slot )
33+ p.block_period = CoinParams::BLOCK_PERIOD ; // 75s (Scrypt-only parent period, oracle PARENT.BLOCK_PERIOD )
3434
3535 // Address encoding
3636 if (testnet) {
@@ -42,8 +42,10 @@ inline core::CoinParams make_coin_params(bool testnet)
4242 p.address_p2sh_version = CoinParams::ADDRESS_P2SH_VERSION ; // 63 (S...)
4343 p.bech32_hrp = CoinParams::BECH32_HRP ; // "dgb"
4444 }
45- // address_p2sh_version2: DGB legacy P2SH prefix (5). Affects address-parse
46- // leniency only, NOT block/share validation. [confirm-vs-oracle]
45+ // address_p2sh_version2: secondary P2SH prefix for parse leniency only, NOT
46+ // block/share validation. The oracle defines a SINGLE P2SH version (63); it
47+ // is silent on a second prefix, so 5 (DGB legacy) is NOT oracle-sourced.
48+ // [confirm-vs-oracle] kept open — see oracle-conformance report.
4749 p.address_p2sh_version2 = testnet ? 0 : 5 ;
4850
4951 // PoW: Scrypt work, SHA256d block identity (same shape as LTC)
@@ -55,31 +57,32 @@ inline core::CoinParams make_coin_params(bool testnet)
5557 return CoinParams::subsidy (height);
5658 };
5759
58- // Dust threshold: 0.001 DGB. Local relay policy, not consensus. [confirm-vs-oracle]
60+ // Dust threshold: 0.001 DGB = 100000 sat. Confirmed vs oracle DUST_THRESHOLD
61+ // (0.001e8). Local relay policy, not consensus.
5962 p.dust_threshold = 100000 ;
6063
61- // Softforks — from PoolConfig SSOT (DGB oracle: csv + segwit)
64+ // Softforks — from PoolConfig SSOT (oracle: nversionbips, csv, segwit,reservealgo,odo,taproot )
6265 p.softforks_required = PoolConfig::SOFTFORKS_REQUIRED ;
63- p.segwit_activation_version = PoolConfig::SEGWIT_ACTIVATION_VERSION ; // 17
66+ p.segwit_activation_version = PoolConfig::SEGWIT_ACTIVATION_VERSION ; // 35
6467
6568 // ===== Pool-level (net) — from dgb::PoolConfig (config_pool.hpp) =====
6669 p.p2p_port = PoolConfig::P2P_PORT ; // 5024 (DGB sharechain P2P)
67- // worker_port: DGB Stratum port. Operator-overridable via pool.yaml; the
68- // default below is provisional pending oracle confirmation. [confirm-vs-oracle]
70+ // worker_port: DGB Stratum port. Confirmed vs oracle WORKER_PORT = 5025.
71+ // Operator-overridable via pool.yaml.
6972 p.worker_port = 5025 ;
7073
7174 if (testnet) {
7275 p.share_period = PoolConfig::TESTNET_SHARE_PERIOD ; // 4
7376 p.chain_length = PoolConfig::TESTNET_CHAIN_LENGTH ; // 400
7477 p.real_chain_length = PoolConfig::TESTNET_REAL_CHAIN_LENGTH ; // 400
7578 } else {
76- p.share_period = PoolConfig::SHARE_PERIOD ; // 25
77- p.chain_length = PoolConfig::CHAIN_LENGTH ; // 8640
78- p.real_chain_length = PoolConfig::REAL_CHAIN_LENGTH ; // 8640
79+ p.share_period = PoolConfig::SHARE_PERIOD ; // 15
80+ p.chain_length = PoolConfig::CHAIN_LENGTH ; // 2880
81+ p.real_chain_length = PoolConfig::REAL_CHAIN_LENGTH ; // 2880
7982 }
8083
81- p.target_lookbehind = PoolConfig::TARGET_LOOKBEHIND ; // 200
82- p.spread = PoolConfig::SPREAD ; // 30
84+ p.target_lookbehind = PoolConfig::TARGET_LOOKBEHIND ; // 100
85+ p.spread = PoolConfig::SPREAD ; // 24
8386 p.minimum_protocol_version = PoolConfig::MINIMUM_PROTOCOL_VERSION ; // 1700 floor
8487 p.block_max_size = PoolConfig::BLOCK_MAX_SIZE ;
8588 p.block_max_weight = PoolConfig::BLOCK_MAX_WEIGHT ;
0 commit comments