From 169a5abbe66e61c48a575631d25a5e4a8a179a49 Mon Sep 17 00:00:00 2001 From: Torkel Rogstad Date: Fri, 27 Dec 2024 15:21:43 +0100 Subject: [PATCH] contrib/signet/miner: add note on coinbasetxn/extra coinbase outputs --- contrib/signet/miner | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/signet/miner b/contrib/signet/miner index 6bc72100e6607..06da6f1f3e3d2 100755 --- a/contrib/signet/miner +++ b/contrib/signet/miner @@ -105,6 +105,9 @@ def generate_psbt(tmpl, reward_spk, *, blocktime=None, poolid=None, extra_vouts= cbtx = CTransaction() cbtx.vin = [CTxIn(COutPoint(0, 0xffffffff), scriptSig, 0xffffffff)] cbtx.vout = [CTxOut(tmpl["coinbasevalue"], reward_spk)] + # TODO: find extra outputs from the block template, under the "coinbasetxn" field. + # Not sure precisely how that looks. Should be integrated into the BIP300/301 enforcer + # first? if extra_vouts is not None: cbtx.vout.extend(extra_vouts)