A signing provider backed by plain in‐memory maps of keys and scripts.
Synopsis
Declared in <script/signingprovider.h>
struct FlatSigningProvider final
: SigningProvider
Base Classes
Name |
Description |
An interface to be implemented by keystores that support signing. |
Member Functions
Name |
Description |
|
Delete the state stored for a MuSig2 signing session. |
|
Return all known MuSig2 aggregate pubkeys and their participants. |
|
Look up a script by its script id. |
Look up a private key by its key id. |
|
Look up a private key by any key id derived from an x‐only pubkey. |
|
|
Look up the origin information for a key. |
Look up key origin info by any key id derived from an x‐only pubkey. |
|
|
Return the MuSig2 participant pubkeys for an aggregate pubkey. |
|
Retrieve the MuSig2 secret nonce for a signing session. |
Look up a public key by its key id. |
|
Look up a public key by any key id derived from an x‐only pubkey. |
|
|
Look up the Taproot builder for an output key. |
|
Look up the Taproot spend data for an output key. |
|
Report whether a script with the given id is known. |
Report whether a private key with the given id is known. |
|
Merge the contents of another provider into this one. |
|
|
Store a MuSig2 secret nonce for a signing session. |
Data Members
Name |
Description |
MuSig2 aggregate pubkeys and their participants. |
|
Known private keys keyed by key id. |
|
Optional store of MuSig2 secret nonces. |
|
Key origin info keyed by key id. |
|
Known public keys keyed by key id. |
|
Known scripts keyed by script id. |
|
Map from output key to Taproot tree (which can then make the TaprootSpendData). |
Non-Member Functions
Name |
Description |
Get a destination of the requested type (if possible) to the specified script. This function will automatically add the script (and any other necessary scripts) to the keystore. |
|
Return the CKeyID of the key involved in a script (if there is a unique one). |
|
Check whether a scriptPubKey is known to be segwit. |
|
Produce a script signature using a generic signature creator. |
|
Signs a PSBTInput, verifying that all provided data matches what is being signed. |
|
Updates a PSBTOutput with information from provider. |
Created with MrDocs