lbrycrd/src/bench
Andrew Chow 0422beb9bd Make SignatureData able to store signatures and scripts
In addition to having the scriptSig and scriptWitness, have SignatureData
also be able to store just the signatures (pubkeys mapped to sigs) and
scripts (script ids mapped to scripts).

Also have DataFromTransaction be able to extract signatures and scripts
from the scriptSig and scriptWitness of an input to put them in SignatureData.

Adds a new SignatureChecker which takes a SignatureData and puts pubkeys
and signatures into it when it successfully verifies a signature.

Adds a new field in SignatureData which stores whether the SignatureData
was complete. This allows us to also update the scriptSig and
scriptWitness to the final one when updating a SignatureData with another
one.
2018-07-03 17:18:52 -07:00
..
data Add deserialize + CheckBlock benchmarks, and a full block hex 2016-11-09 11:27:59 -08:00
.gitignore Ignore bench_bitcoin binary. 2015-10-06 17:46:12 +02:00
base58.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
bench.cpp benchmark: Removed bench/perf.cpp 2018-04-18 19:53:10 -07:00
bench.h trivial: Mark overrides as such. 2018-05-20 09:15:39 +02:00
bench_bitcoin.cpp bench: Use non-throwing ParseDouble(...) instead of throwing boost::lexical_cast<double>(...) 2018-06-03 21:30:39 +02:00
block_assemble.cpp bench: Add missing pow.h header 2018-06-24 19:25:03 +02:00
ccoins_caching.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
checkblock.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
checkqueue.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
coin_selection.cpp scripted-diff: Rename wallet database classes 2018-04-07 11:48:27 -05:00
crypto_hash.cpp Specialized double sha256 for 64 byte inputs 2018-05-29 14:05:00 -07:00
examples.cpp Do not use uppercase characters in source code filenames 2018-05-23 16:07:37 +02:00
lockedpool.cpp Merge #12048: Use best-fit strategy in Arena, now O(log(n)) instead O(n) 2018-03-22 14:28:37 +01:00
mempool_eviction.cpp bench: Amend mempool_eviction test for witness txs 2018-04-17 19:51:47 -04:00
merkle_root.cpp Use bracket syntax includes ("#include <foo.h>") 2018-06-06 11:09:05 +02:00
prevector.cpp Make it clear which functions that are intended to be translation unit local 2018-05-03 21:47:40 +02:00
rollingbloom.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
verify_script.cpp Make SignatureData able to store signatures and scripts 2018-07-03 17:18:52 -07:00