diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2016-08-11 04:42:36 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2017-09-20 23:25:52 +0200 |
commit | 832e0744cb8b1e1625cdb19b257f97316ac16a90 (patch) | |
tree | 401102620abe59c6ab82e9a9008ecece577d81a3 /.gitattributes | |
parent | 3f0ee3e5011430461c7c61f4f2d406bf3cd8b54b (diff) | |
download | bitcoin-832e0744cb8b1e1625cdb19b257f97316ac16a90.tar.xz |
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 '.gitattributes')
0 files changed, 0 insertions, 0 deletions