aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-06-07 10:20:00 -0400
committerMarcoFalke <[email protected]>2018-06-07 10:20:07 -0400
commit3d3d8ae3a0a93621044ab0b889bad082cc91d016 (patch)
tree1cd5ae991754afef4e39c1e99c8cab395c04b408 /src/net_processing.cpp
parentMerge #13369: [docs] update transifex doc link (diff)
parentspeed up of tx_validationcache_tests by reusing of CTransaction. (diff)
downloaddiscoin-3d3d8ae3a0a93621044ab0b889bad082cc91d016.tar.xz
discoin-3d3d8ae3a0a93621044ab0b889bad082cc91d016.zip
Merge #13404: [tests] speed up of tx_validationcache_tests by reusing of CTransaction.
ebebedce20 speed up of tx_validationcache_tests by reusing of CTransaction. ([email protected]) Pull request description: 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. Run-time results: ``` Before: 6.7s After: 5.5s -------------- Saved: 1.2s ``` This PR was split from #13050. Also, see #10026. Tree-SHA512: 61fb81972a08299085a7d3d0060485b265aefc7a4f82ab548e5f94371c8643cfb97bf0ef34f4e1211bf853d0217fa1c3338e4117f36fda1b37d203f690e86d60
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions