2014-10-21 20:05:51 +00:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
2014-11-04 13:34:04 +00:00
|
|
|
// Copyright (c) 2009-2014 The Bitcoin developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
2014-10-21 20:05:51 +00:00
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2014-11-04 13:34:04 +00:00
|
|
|
#ifndef BITCOIN_ECCRYPTOVERIFY_H
|
|
|
|
#define BITCOIN_ECCRYPTOVERIFY_H
|
2014-10-21 20:05:51 +00:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <cstdlib>
|
2014-11-04 13:34:04 +00:00
|
|
|
|
2014-10-21 20:05:51 +00: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 13:34:04 +00:00
|
|
|
|
|
|
|
#endif // BITCOIN_ECCRYPTOVERIFY_H
|