diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-07-28 18:13:23 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-02-22 15:43:02 -0400 |
commit | 80f52a2267f44a9cae4440615df3ff989be1579c (patch) | |
tree | 4497a03d9034c0d81400ce97ec9d80ce146c31fc /src/interfaces/chain.h | |
parent | f3f9c1de19e6d254e0c3a26ce7a3d8cd57fb7641 (diff) | |
download | bitcoin-80f52a2267f44a9cae4440615df3ff989be1579c.tar.xz |
Remove uses of CheckFinalTx in wallet code
This commit does not change behavior.
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r-- | src/interfaces/chain.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 3a54b9164e..453938751d 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -14,6 +14,7 @@ class CBlock; class CScheduler; +class CTransaction; class uint256; struct CBlockLocator; @@ -102,6 +103,9 @@ public: //! is guaranteed to be an ancestor of the block used to create the //! locator. virtual Optional<int> findLocatorFork(const CBlockLocator& locator) = 0; + + //! Check if transaction will be final given chain height current time. + virtual bool checkFinalTx(const CTransaction& tx) = 0; }; //! Return Lock interface. Chain is locked when this is called, and |