aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorJorge Timón <[email protected]>2016-08-11 04:42:36 +0200
committerJorge Timón <[email protected]>2017-09-20 23:25:52 +0200
commit832e0744cb8b1e1625cdb19b257f97316ac16a90 (patch)
tree401102620abe59c6ab82e9a9008ecece577d81a3 /src/httpserver.cpp
parentProper indentation for CheckTxInputs and other minor fixes (diff)
downloaddiscoin-832e0744cb8b1e1625cdb19b257f97316ac16a90.tar.xz
discoin-832e0744cb8b1e1625cdb19b257f97316ac16a90.zip
Optimization: Minimize the number of times it is checked that no money is created
by individual transactions to 2 places (but call only once in each): - ConnectBlock ( before calculated fees per txs twice ) - AcceptToMemoryPoolWorker ( before called CheckTxInputs 4 times and calculated fees per tx one extra time ) Also call tx.GetValueOut() only once per call of CheckTxInputs (instead of 2)
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions