Page MenuHomePhabricator

test: add functional test for non-standard bare multisig txs
ClosedPublic

Authored by PiRK on Tue, Nov 17, 15:32.

Details

Summary

A transaction is rejected by the mempool with reason "bare-multisig" if any of
the outputs' scriptPubKey has bare multisig format (M <PubKey1> <PubKey2> ...
<PubKeyN> N OP_CHECKSIG) and bitcoind is started with "-permitbaremultisig=0".

This is a backport of Core PR17541

Test Plan

ninja && test/functional/test_runner.py mempool_accept

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

PiRK requested review of this revision.Tue, Nov 17, 15:32
Fabien requested changes to this revision.Tue, Nov 17, 16:16
Fabien added a subscriber: Fabien.
Fabien added inline comments.
test/functional/mempool_accept.py
308 ↗(On Diff #25822)

duplicated

This revision now requires changes to proceed.Tue, Nov 17, 16:16
This revision is now accepted and ready to land.Wed, Nov 18, 07:11