eccryptoverify.h 555 B

12345678910111213141516171819202122
  1. // Copyright (c) 2009-2010 Satoshi Nakamoto
  2. // Copyright (c) 2009-2014 The Bitcoin Core developers
  3. // Distributed under the MIT software license, see the accompanying
  4. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  5. #ifndef BITCOIN_ECCRYPTOVERIFY_H
  6. #define BITCOIN_ECCRYPTOVERIFY_H
  7. #include <vector>
  8. #include <cstdlib>
  9. class uint256;
  10. namespace eccrypto {
  11. bool Check(const unsigned char *vch);
  12. bool CheckSignatureElement(const unsigned char *vch, int len, bool half);
  13. } // eccrypto namespace
  14. #endif // BITCOIN_ECCRYPTOVERIFY_H