HomePhabricator

Add an utility method to check if a script is a comitment to a certain value.

Description

Add an utility method to check if a script is a comitment to a certain value.

Summary: This will help implement anti replay feature.

Test Plan: I added test cases for this method in script_tests.cpp

Reviewers: freetrader, sickpig, kyuupichan, #bitcoin_abc

Reviewed By: freetrader, #bitcoin_abc

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

Details

Provenance
deadalnixAuthored on Jun 9 2017, 22:00
deadalnixPushed on Jun 10 2017, 13:25
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABC35c3784d9702: Deprecate CheckFinalTx in favor of ContextualCheckTransactionForCurrentBlock
Branches
Unknown
Tags
Unknown