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
self.log.info("Verify unsigned p2sh witness txs without a redeem script are invalid")
197
195
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)
198
196
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)
199
197
200
-
self.generate(self.nodes[0], 4) # blocks 428-431
198
+
self.generate(self.nodes[0], 1) # block 164
201
199
202
200
self.log.info("Verify witness txs are mined as soon as segwit activates")
self.fail_accept(self.nodes[2], 'non-mandatory-script-verify-flag (Witness program was passed an empty witness)', p2sh_ids[NODE_2][P2WSH][2], sign=False, redeem_script=witness_script(True, self.pubkey[2]))
250
248
251
249
self.log.info("Verify default node can now use witness txs")
0 commit comments