Page MenuHomePhabricator

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

Authored by PiRK on Nov 17 2020, 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Nov 17 2020, 15:32
Fabien requested changes to this revision.Nov 17 2020, 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.Nov 17 2020, 16:16
This revision is now accepted and ready to land.Nov 18 2020, 07:11