aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsdialog.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-07-03 17:18:52 -0700
committerAndrew Chow <achow101-github@achow101.com>2018-07-03 17:18:52 -0700
commit0422beb9bdfcd7d1cc095ab681a760d8bc7a1918 (patch)
tree4310449f8e2b5d7fbf99f3aa60b52d78de7e4578 /src/qt/optionsdialog.h
parentb6edb4f5e6e0bf0f9c7dd26a125849f0103b44cd (diff)
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.
Diffstat (limited to 'src/qt/optionsdialog.h')
0 files changed, 0 insertions, 0 deletions