aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2018-03-27 20:16:45 +0200
committerWladimir J. van der Laan <[email protected]>2018-03-27 20:20:55 +0200
commitbf8fc7d352ad7451329a29e5d65e4136a7834a8c (patch)
tree61403cc4f9e5f009d6fe2fa93c60cf3255e54278 /src/httpserver.cpp
parentMerge #12800: doc: Add note about our preference for scoped enumerations ("en... (diff)
parentIntroduce interface for signing providers (diff)
downloaddiscoin-bf8fc7d352ad7451329a29e5d65e4136a7834a8c.tar.xz
discoin-bf8fc7d352ad7451329a29e5d65e4136a7834a8c.zip
Merge #12714: Introduce interface for signing providers
d40f06a Introduce interface for signing providers (Pieter Wuille) Pull request description: `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). This is a very early step towards the design in https://gist.github.com/sipa/125cfa1615946d0c3f3eec2ad7f250a2, separating the concern between deciding what outputs are ours and signing. Tree-SHA512: d511b7b03eec0e513530db1d9ae5aacf6d0bfa1d3e1c03d06c5bde396bafb5824c4491b227d32bcda9288530caf49835da18e846ccf66538d6c0cc6ae27291c9
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions