#include "script/sign.h"
#include "primitives/transaction.h"
#include "key.h"
#include "keystore.h"
#include "script/standard.h"
#include "uint256.h"
#include "util.h"
Go to the source code of this file.
|
| typedef std::vector< unsigned char > | valtype |
| |
|
| bool | Sign1 (const CKeyID &address, const CKeyStore &keystore, uint256 hash, int nHashType, CScript &scriptSigRet) |
| |
| bool | SignN (const std::vector< valtype > &multisigdata, const CKeyStore &keystore, uint256 hash, int nHashType, CScript &scriptSigRet) |
| |
| bool | Solver (const CKeyStore &keystore, const CScript &scriptPubKey, uint256 hash, int nHashType, CScript &scriptSigRet, txnouttype &whichTypeRet) |
| | Sign scriptPubKey with private keys stored in keystore, given transaction hash and hash type. More...
|
| |
| bool | SignSignature (const CKeyStore &keystore, const CScript &fromPubKey, CMutableTransaction &txTo, unsigned int nIn, int nHashType) |
| |
| bool | SignSignature (const CKeyStore &keystore, const CTransaction &txFrom, CMutableTransaction &txTo, unsigned int nIn, int nHashType) |
| |
| CScript | CombineSignatures (const CScript &scriptPubKey, const CTransaction &txTo, unsigned int nIn, const CScript &scriptSig1, const CScript &scriptSig2) |
| | Given two sets of signatures for scriptPubKey, possibly with OP_0 placeholders, combine them intelligently and return the result. More...
|
| |
◆ valtype
| typedef std::vector<unsigned char> valtype |
◆ CombineSignatures()
Given two sets of signatures for scriptPubKey, possibly with OP_0 placeholders, combine them intelligently and return the result.
Definition at line 249 of file sign.cpp.
◆ Sign1()
◆ SignN()
◆ SignSignature() [1/2]
◆ SignSignature() [2/2]
◆ Solver()
Sign scriptPubKey with private keys stored in keystore, given transaction hash and hash type.
Signatures are returned in scriptSigRet (or returns false if scriptPubKey can't be signed), unless whichTypeRet is TX_SCRIPTHASH, in which case scriptSigRet is the redemption script. Returns false if scriptPubKey could not be completely satisfied.
Definition at line 50 of file sign.cpp.