|
static bool | GetCScript (const SigningProvider &provider, const SignatureData &sigdata, const CScriptID &scriptid, CScript &script) |
|
static bool | GetPubKey (const SigningProvider &provider, const SignatureData &sigdata, const CKeyID &address, CPubKey &pubkey) |
|
static bool | CreateSig (const BaseSignatureCreator &creator, SignatureData &sigdata, const SigningProvider &provider, std::vector< uint8_t > &sig_out, const CPubKey &pubkey, const CScript &scriptcode) |
|
static bool | SignStep (const SigningProvider &provider, const BaseSignatureCreator &creator, const CScript &scriptPubKey, std::vector< valtype > &ret, TxoutType &whichTypeRet, SignatureData &sigdata) |
| Sign scriptPubKey using signature made with creator. More...
|
|
static CScript | PushAll (const std::vector< valtype > &values) |
|
bool | ProduceSignature (const SigningProvider &provider, const BaseSignatureCreator &creator, const CScript &fromPubKey, SignatureData &sigdata) |
| Produce a script signature using a generic signature creator. More...
|
|
SignatureData | DataFromTransaction (const CMutableTransaction &tx, unsigned int nIn, const CTxOut &txout) |
| Extract signature data from a transaction input, and insert it. More...
|
|
void | UpdateInput (CTxIn &input, const SignatureData &data) |
|
bool | SignSignature (const SigningProvider &provider, const CScript &fromPubKey, CMutableTransaction &txTo, unsigned int nIn, const Amount amount, SigHashType sigHashType) |
| Produce a script signature for a transaction. More...
|
|
bool | SignSignature (const SigningProvider &provider, const CTransaction &txFrom, CMutableTransaction &txTo, unsigned int nIn, SigHashType sigHashType) |
|
bool | IsSolvable (const SigningProvider &provider, const CScript &script) |
| Check whether we know how to sign for an output like this, assuming we have all private keys. More...
|
|
bool | SignTransaction (CMutableTransaction &mtx, const SigningProvider *keystore, const std::map< COutPoint, Coin > &coins, SigHashType sigHashType, std::map< int, std::string > &input_errors) |
| Sign the CMutableTransaction. More...
|
|
Check whether we know how to sign for an output like this, assuming we have all private keys.
While this function does not need private keys, the passed keystore is used to look up public keys and redeemscripts by hash. Solvability is unrelated to whether we consider this output to be ours.
Definition at line 424 of file sign.cpp.