Page MenuHomePhabricator

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

Authored by PiRK on Nov 6 2020, 18:28.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC0fb36f08114e: test: add unit test for non-standard bare multisig txs
Summary

The function IsStandardTx() returns rejection reason "bare-multisig" if the
transaction has a bare multisig output and the policy flag fIsBareMultisigStd
is false (set by the boolean command-line argument "-permitbaremultisig" -- for
the unit test, we simply set the global flag variable directly).

This is a backport of Core PR17502

Test Plan

ninja && ninja check

Diff Detail