Page MenuHomePhabricator

move CheckMinimalPush to script.h
AbandonedPublic

Authored by markblundeberg on Jun 9 2019, 02:27.

Details

Reviewers
jasonbcox
Mengerian
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
T667: add rule for **minimal** push only in scriptSig
Summary

Part of effort to get a scriptsig push restriction consensuse rule that is actually effective in reducing third party malleability, see T667.

changes valtype to vector<uint8_t>, as appropriate for this file.
static -> inline to avoid unused warnings.

Test Plan

make check

Diff Detail

Event Timeline

jasonbcox requested changes to this revision.Jun 10 2019, 16:50

While mildly useful, I don't think we should be making changes like this until backports are up-to-date.

This revision now requires changes to proceed.Jun 10 2019, 16:50

While mildly useful, I don't think we should be making changes like this until backports are up-to-date.

This is irrelevant unless substantiated.