HomePhabricator

Move transaction's context dependent checks in its own function.

Description

Move transaction's context dependent checks in its own function.

Summary: Right now the only context dependent check is IsFinalTx , but we want to add more in order to ensure replay protection. As a first step, we need a place where these checks can be added. ContextualCheckTransaction is that place.

Test Plan:

make check

Reviewers: freetrader, sickpig, kyuupichan, #bitcoin_abc

Reviewed By: freetrader, #bitcoin_abc

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

Details

Provenance
deadalnixAuthored on Jun 9 2017, 12:05
deadalnixPushed on Jun 9 2017, 19:47
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABC7dba1af8da45: Reformat a comment.
Branches
Unknown
Tags
Unknown