0422beb9bd
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. |
||
---|---|---|
.. | ||
data | ||
.gitignore | ||
base58.cpp | ||
bench.cpp | ||
bench.h | ||
bench_bitcoin.cpp | ||
block_assemble.cpp | ||
ccoins_caching.cpp | ||
checkblock.cpp | ||
checkqueue.cpp | ||
coin_selection.cpp | ||
crypto_hash.cpp | ||
examples.cpp | ||
lockedpool.cpp | ||
mempool_eviction.cpp | ||
merkle_root.cpp | ||
prevector.cpp | ||
rollingbloom.cpp | ||
verify_script.cpp |