aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-09-16 17:17:45 -0400
committerCarl Dong <contact@carldong.me>2021-02-18 14:43:28 -0500
commitd015eaa550027a387cd548cf0bcfa1a4c31a3374 (patch)
treef4eb6c6dde406c7ffcd2d37e9cf694a9fbdee22a /src/validation.h
parent252b489c9f9c9e7dceb919e9cbd208ea72d75e68 (diff)
downloadbitcoin-d015eaa550027a387cd548cf0bcfa1a4c31a3374.tar.xz
validation: Pass in chain tip to ::CheckFinalTx
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index 1a71dd0d49..16bf14875b 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -249,6 +249,7 @@ void UpdateCoins(const CTransaction& tx, CCoinsViewCache& inputs, int nHeight);
* See consensus/consensus.h for flag definitions.
*/
bool CheckFinalTx(const CTransaction &tx, int flags = -1) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
+bool CheckFinalTx(const CBlockIndex* active_chain_tip, const CTransaction &tx, int flags = -1) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
/**
* Test whether the LockPoints height and time are still valid on the current chain