dgb(test): pin assembled CoinParams address-encoding + relay-policy vs oracle - #263
Merged
Conversation
…s oracle Phase B pool/share conformance KAT (test-only, dgb_share_test). Pins the values make_coin_params() hands the pool on both nets against the DGB oracle frstrtr/p2pool-dgb-scrypt: mainnet/testnet address bytes (30/63, 126/140), BECH32 HRPs (dgb/dgbt), the DISABLED secondary P2SH prefix (address_p2sh_version2=0; prior =5 was an LTC-borrowed artifact), p2p_port 5024, worker_port 5025, dust_threshold 100000. 3-bucket: address bytes + ports = bucket-1 isolation/identity (keep per-coin, v36 and v37); dust_threshold = local relay policy. No prod change.
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.
Phase B pool/share conformance KAT — test-only, name-scoped to
dgb_share_test, mirrors the #161/#249 lock pattern.Pins the values
make_coin_params()actually hands the pool, on both nets, against the DGB oraclefrstrtr/p2pool-dgb-scrypt(switch-oracle Option B). Previously-unguarded:dgb/dgbt3-bucket: address bytes + ports are bucket-1 isolation/identity primitives (keep per-coin, v36 AND v37); dust_threshold is local relay policy.
Scope: 1 file, +34 lines,
dgb_share_testonly (target already registered + allowlisted — no CMake/build.yml change). Cannot touch the #244/#248/#260 won-block / mempool-feed path. 9/9 suite green locally.