dgb: conform address_p2sh_version2 to oracle (drop LTC-borrowed =5 -> 0) - #150
Merged
Conversation
…et 0)
The oracle frstrtr/p2pool-dgb-scrypt (IDENTIFIER 4B62545B1A631AFE) accepts
exactly {ADDRESS_VERSION=30, ADDRESS_P2SH_VERSION=63} in bitcoin/data.py and
defines no secondary P2SH prefix. The prior mainnet =5 was an LTC-borrowed
artifact (LTC had a real P2SH migration; DGB did not) and is unconsumed in
src/. Set 0 on both nets so the address SSOT matches the oracle exactly.
Resolves the last open prescan-DGB [confirm-vs-oracle] item.
(cherry picked from commit e16602f)
frstrtr
added a commit
that referenced
this pull request
Jun 18, 2026
…ded-body lane — non-destructive, BCH-only ahead
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the last prescan-DGB conformance gap on master.
address_p2sh_version2 (secondary/parse-leniency P2SH prefix) was carrying =5, an unconsumed LTC-borrowed value. Oracle frstrtr/p2pool-dgb-scrypt accepts only {30,63}; conform to 0 for both nets. Parse-leniency only, NOT used for output/consensus — no consensus impact, byte-conformant to oracle.
HOLD merge — integrator merges on operator push-approval.