You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[miner] always assume we can create witness blocks
Given the low possibility of a reorg reverting the segwit soft fork,
there is no need to check whether segwit is active here. Also,
TestBlockValidity is run on the block template after it has been
created.
self.log.info("Verify unsigned p2sh witness txs without a redeem script are invalid")
209
207
self.fail_accept(self.nodes[2], "mandatory-script-verify-flag-failed (Operation not valid with the current stack size)", p2sh_ids[NODE_2][P2WPKH][1], sign=False)
210
208
self.fail_accept(self.nodes[2], "mandatory-script-verify-flag-failed (Operation not valid with the current stack size)", p2sh_ids[NODE_2][P2WSH][1], sign=False)
211
209
212
-
self.generate(self.nodes[2], 4) # blocks 428-431
210
+
self.generate(self.nodes[0], 4) # blocks 428-431
213
211
214
-
self.log.info("Verify previous witness txs skipped for mining can now be mined")
212
+
self.log.info("Verify previous witness txs can now be mined")
0 commit comments