elements/src/script
Pieter Wuille d40f06a3da Introduce interface for signing providers
CKeyStore is a rich interface that provides many features, including knowledge
of scripts and pubkeys for solving, private keys for signing, in addition to
watch-only keys and scripts, and distinguishing lack of keys from them just
being encrypted.

The signing logic in script/sign does not actually need most of these features.
Here we introduce a simpler interface (SigningProvider) which *only* provides
keys and scripts. This is actually sufficient for signing.

In addtion, we swap the dependency between keystore and script/sign
(keystore now depends on script/script with CKeyStore deriving from
SigningProvider, rather than CKeyStore being the interface that signing
relies on).
2018-03-25 13:26:57 -07:00
..
bitcoinconsensus.cpp Support deserializing into temporaries 2018-03-13 17:04:31 -07:00
bitcoinconsensus.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
interpreter.cpp Merge #11900: [script] simplify CheckMinimalPush checks, add safety assert 2018-03-07 17:18:14 +01:00
interpreter.h Fix a-vs-an typos 2018-02-11 10:48:15 +01:00
ismine.cpp Refactor HaveKeys to early return on false result 2018-01-29 23:45:25 +00:00
ismine.h Fix a-vs-an typos 2018-02-11 10:48:15 +01:00
script.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
script.h Merge #10498: Use static_cast instead of C-style casts for non-fundamental types 2018-02-07 16:15:28 -05:00
script_error.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
script_error.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sigcache.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sigcache.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sign.cpp Introduce interface for signing providers 2018-03-25 13:26:57 -07:00
sign.h Introduce interface for signing providers 2018-03-25 13:26:57 -07:00
standard.cpp Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
standard.h Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00