2014-10-21 22:05:51 +02:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
2014-11-04 14:34:04 +01:00
|
|
|
// Copyright (c) 2009-2014 The Bitcoin developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
2014-10-21 22:05:51 +02:00
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2014-11-04 14:34:04 +01:00
|
|
|
#ifndef BITCOIN_ECCRYPTOVERIFY_H
|
|
|
|
#define BITCOIN_ECCRYPTOVERIFY_H
|
2014-10-21 22:05:51 +02:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <cstdlib>
|
2014-11-04 14:34:04 +01:00
|
|
|
|
2014-10-21 22:05:51 +02:00
|
|
|
class uint256;
|
|
|
|
|
|
|
|
namespace eccrypto {
|
|
|
|
|
|
|
|
bool Check(const unsigned char *vch);
|
|
|
|
bool CheckSignatureElement(const unsigned char *vch, int len, bool half);
|
|
|
|
|
|
|
|
} // eccrypto namespace
|
2014-11-04 14:34:04 +01:00
|
|
|
|
|
|
|
#endif // BITCOIN_ECCRYPTOVERIFY_H
|