aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.cpp
diff options
context:
space:
mode:
authorMichael Ford <fanquake@gmail.com>2014-11-10 14:40:01 +0800
committerMichael Ford <fanquake@gmail.com>2014-11-10 14:51:55 +0800
commitb9a36b15bff6a6fc0bb7f8bf6e7361dac3919e78 (patch)
tree634c74ffe9f7240938d1079c0106a2e2e82ddbc7 /src/script/sign.cpp
parent7b7c86616006a5047ae07085e26c40e3606f60c5 (diff)
downloadbitcoin-b9a36b15bff6a6fc0bb7f8bf6e7361dac3919e78.tar.xz
Make comments in /src/script doxygen compatible
Diffstat (limited to 'src/script/sign.cpp')
-rw-r--r--src/script/sign.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script/sign.cpp b/src/script/sign.cpp
index 9dfd640dfb..7dfed751b6 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)
{