forked from Bitcoin-ABC/bitcoin-abc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This is a follow-up for D144. It converts the wallet to use `ContextualCheckTransactionForCurrentBlock()` instead of the `CheckFinalTx()` wrapper and removes the unused finaltx.cpp/h files. This is a preamble to backporting [[ bitcoin/bitcoin#15288 | PR15288 ]] which will remove the direct call to `CheckFinalTx` in the wallet ([[ https://github.com/bitcoin/bitcoin/pull/15288/commits/80f52a2267f44a9cae4440615df3ff989be1579c| this commit ]]). Having both `CheckFinalTx` and `ContextualCheckTransactionForCurrentBlock` is error prone when doing the node/wallet separation backports. This cleanup make it easier to backport and review. Note that the above commit will allow to remove some of the boilerplate introduced in this diff. Test Plan: ninja all check check-functional make check Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Subscribers: deadalnix Differential Revision: https://reviews.bitcoinabc.org/D5804
- Loading branch information
Showing
8 changed files
with
23 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ add_library(wallet | |
crypter.cpp | ||
db.cpp | ||
fees.cpp | ||
finaltx.cpp | ||
init.cpp | ||
rpcdump.cpp | ||
rpcwallet.cpp | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters