diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-11-13 17:51:22 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-11-13 17:51:57 +0100 |
| commit | 6c5c06eff79550b1fa387fd2902f306172abad33 (patch) | |
| tree | c7948cc31213da42c23c74382f799e6690a5838f /src/script/sign.cpp | |
| parent | Merge pull request #5203 (diff) | |
| parent | Make comments in /src/script doxygen compatible (diff) | |
| download | discoin-6c5c06eff79550b1fa387fd2902f306172abad33.tar.xz discoin-6c5c06eff79550b1fa387fd2902f306172abad33.zip | |
Merge pull request #5252
b9a36b1 Make comments in /src/script doxygen compatible (Michael Ford)
Diffstat (limited to 'src/script/sign.cpp')
| -rw-r--r-- | src/script/sign.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 9dfd640df..7dfed751b 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -46,12 +46,12 @@ bool SignN(const vector<valtype>& multisigdata, const CKeyStore& keystore, uint2 return nSigned==nRequired; } -// -// 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. -// +/** + * 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. + */ bool Solver(const CKeyStore& keystore, const CScript& scriptPubKey, uint256 hash, int nHashType, CScript& scriptSigRet, txnouttype& whichTypeRet) { |