Browse Source

minor license, header end comment etc. cleanup in /script

- ensure all licenses are just MIT
- add a missing header end comment
- ensure alphabetical ordering
0.10
Philip Kaufmann 10 years ago
parent
commit
5eed8c21c7
  1. 2
      src/script/interpreter.h
  2. 4
      src/script/sigcache.cpp
  3. 6
      src/script/sigcache.h

2
src/script/interpreter.h

@ -10,10 +10,10 @@
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>
class uint256;
class CPubKey; class CPubKey;
class CScript; class CScript;
class CTransaction; class CTransaction;
class uint256;
/** Signature hash types/flags */ /** Signature hash types/flags */
enum enum

4
src/script/sigcache.cpp

@ -1,6 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sigcache.h" #include "sigcache.h"

6
src/script/sigcache.h

@ -1,6 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef H_BITCOIN_SCRIPT_SIGCACHE #ifndef H_BITCOIN_SCRIPT_SIGCACHE
@ -23,4 +23,4 @@ public:
bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const; bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const;
}; };
#endif #endif // H_BITCOIN_SCRIPT_SIGCACHE

Loading…
Cancel
Save