HomePhabricator

script: Disallow silent bool -> CScript conversion

Description

script: Disallow silent bool -> CScript conversion

Summary:

Makes nonsensical stuff like ScriptToAsmStr(false,false); a compile failure

This is a backport of Core PR18621

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D8935

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jan 18 2021, 09:49
PiRKCommitted on Jan 18 2021, 09:50
abc-botPushed on Jan 18 2021, 09:56
Reviewer
Restricted Project
Differential Revision
D8935: script: Disallow silent bool -> CScript conversion
Parents
rABC2f90a6e88129: refactor: Remove unused methods CBloomFilter::reset()/clear()
Branches
Unknown
Tags
Unknown