aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-09-09 10:00:42 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-09-14 12:25:38 +0200
commit2d79bba36b028dd803fb17124420b9d209b842b6 (patch)
treee07bae5ff05b842ec2dbdb15f6c7c7eab93da3a5 /src/script/sign.h
parente5fc6631b9ca452eaacc8f978b3c5ffe2ef38e77 (diff)
downloadbitcoin-2d79bba36b028dd803fb17124420b9d209b842b6.tar.xz
cleanup new script files (no code changes)
- add missing header end comments - ensure alphabetical ordering - update copyright year and license
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index 51723b53af..f218a64562 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -1,6 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
-// Copyright (c) 2009-2013 The Bitcoin developers
-// Distributed under the MIT/X11 software license, see the accompanying
+// Copyright (c) 2009-2014 The Bitcoin developers
+// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef H_BITCOIN_SCRIPT_SIGN
@@ -11,6 +11,7 @@
class CKeyStore;
class CScript;
class CTransaction;
+
struct CMutableTransaction;
bool SignSignature(const CKeyStore& keystore, const CScript& fromPubKey, CMutableTransaction& txTo, unsigned int nIn, int nHashType=SIGHASH_ALL);
@@ -20,4 +21,4 @@ bool SignSignature(const CKeyStore& keystore, const CTransaction& txFrom, CMutab
// combine them intelligently and return the result.
CScript CombineSignatures(CScript scriptPubKey, const CTransaction& txTo, unsigned int nIn, const CScript& scriptSig1, const CScript& scriptSig2);
-#endif
+#endif // H_BITCOIN_SCRIPT_SIGN