refactor: Make CTransaction constructor explicit

It involves calculating two hashes, so the performance impact should be
made explicit.

Also, add the module to iwyu.
This commit is contained in:
MacroFake committed 2022-07-25 12:16:54 +02:00
1 parent f27d5f6305
commit fa2247a9f9
4 files changed
+30 -16

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
" src/policy/feerate.cpp"\
" src/policy/packages.cpp"\
" src/policy/settings.cpp"\
" src/primitives/transaction.cpp"\
" src/rpc/fees.cpp"\
" src/rpc/signmessage.cpp"\
" src/test/fuzz/txorphan.cpp"\