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
2022-07-25 12:13:56 +02:00
parent f27d5f6305
commit fa2247a9f9
4 changed files with 30 additions and 16 deletions

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"\