Skip to content

Commit bc4d609

Browse files
authored
Merge pull request #128 from frstrtr/btc/flag6-combined-p2sh-comment
btc(donation): clarify combined P2SH is intentional unified v36 target (FLAG6)
2 parents 8671b0b + 120b2f9 commit bc4d609

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

src/impl/btc/config_pool.hpp

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,19 @@ class PoolConfig : protected core::Fileconfig
118118
};
119119

120120
// V36+ COMBINED_DONATION_SCRIPT (P2SH: OP_HASH160 <hash160(redeem)> OP_EQUAL)
121-
// 1-of-2 multisig: forrestv + frstrtr/c2pool dev key.
122-
// LTC P2SH donation target. BTC now runs v36-active shares, but its
123-
// donation leg intentionally stays the V35 P2PK above (forrestv
124-
// canonical BTC-mainnet donation); this COMBINED P2SH is LTC-only,
125-
// kept here as inert byte data so get_donation_script() compiles for
126-
// both the BTC (P2PK) and LTC v36 (P2SH) paths.
127-
// Address: MLhSmVQxMusLE3pjGFvp4unFckgjeD8LUA (LTC mainnet P2SH).
121+
// 1-of-2 multisig redeem: forrestv + frstrtr/c2pool dev key.
122+
//
123+
// INTENTIONAL unified cross-coin v36 donation target. This is NOT inert and
124+
// NOT LTC-only: BTC v36 coinbases deliberately pay this combined P2SH. The
125+
// identical 20-byte hash160 (8c627262..8e85) is emitted by EVERY coin's v36
126+
// gentx (btc/ltc/bch/dgb) via PoolConfig::get_donation_script(>=36). Per-coin
127+
// baseline conformance (vs each coin's own p2pool source) still governs every
128+
// OTHER consensus aspect; the v36 donation target is the one deliberate
129+
// cross-coin exception (operator FLAG6 ruling 2026-06-17, option-b).
130+
//
131+
// The hash160 renders as MLhSmVQxMusLE3pjGFvp4unFckgjeD8LUA under the LTC
132+
// mainnet P2SH prefix; the same hash160 is the shared target on all coins
133+
// (only the base58 rendering differs per coin prefix, the redeem does not).
128134
static constexpr std::array<uint8_t, 23> COMBINED_DONATION_SCRIPT = {
129135
0xa9, // OP_HASH160
130136
0x14, // PUSH 20 bytes

0 commit comments

Comments
 (0)