Commit 4953870
committed
dgb: unify SEGWIT_ACTIVATION_VERSION to single SSOT (canonical oracle=35)
Master carried a split-brain: config_pool.hpp=35 but share_types.hpp hardcoded 17, and the consensus gate in share_check.hpp resolved to the share_types value (17) — diverging from the canonical DGB oracle frstrtr/p2pool-dgb-scrypt (digibyte.py SEGWIT_ACTIVATION_VERSION=35). The 17 value is the merged-v36/farsider350 figure, byte-compat for which is WAIVED for DGB per operator 2026-06-17.
Collapse to one SSOT in config_pool.hpp (=35); share_types.hpp and params.hpp derive from it. Effective segwit-share gate now conforms to the oracle. Consensus-relevant: shares with version in [17,35) are no longer spuriously segwit-validated against the canonical network.1 parent bb7ef22 commit 4953870
3 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
0 commit comments