aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
author[email protected] <[email protected]>2018-06-05 21:38:14 -0700
committer[email protected] <[email protected]>2018-06-06 06:50:25 -0700
commitebebedce2094ac202bdfdf4b13fed562d35d161d (patch)
treefe0f1c2b387c3c3f75898de55def923fc5025c99 /src/net_processing.cpp
parentMerge #13288: rpc: Remove the need to include rpc/blockchain.cpp in order to ... (diff)
downloaddiscoin-ebebedce2094ac202bdfdf4b13fed562d35d161d.tar.xz
discoin-ebebedce2094ac202bdfdf4b13fed562d35d161d.zip
speed up of tx_validationcache_tests by reusing of CTransaction.
The code was converting CMutableTransaction to CTransaction multiple times, which implies recalculating the hash multiple times. This commit fixes this by reusing a single CTransaction.
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions