Changeset View
Changeset View
Standalone View
Standalone View
src/test/scriptnum10.h
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2015 The Bitcoin Core developers | // Copyright (c) 2009-2015 The Bitcoin Core developers | ||||
// Distributed under the MIT 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 BITCOIN_TEST_SCRIPTNUM10_H | #ifndef BITCOIN_TEST_SCRIPTNUM10_H | ||||
#define BITCOIN_TEST_SCRIPTNUM10_H | #define BITCOIN_TEST_SCRIPTNUM10_H | ||||
#include "assert.h" | |||||
#include <algorithm> | #include <algorithm> | ||||
#include <cassert> | |||||
#include <cstdint> | |||||
#include <limits> | #include <limits> | ||||
#include <stdexcept> | #include <stdexcept> | ||||
#include <stdint.h> | |||||
#include <string> | #include <string> | ||||
#include <vector> | #include <vector> | ||||
class scriptnum10_error : public std::runtime_error { | class scriptnum10_error : public std::runtime_error { | ||||
public: | public: | ||||
explicit scriptnum10_error(const std::string &str) | explicit scriptnum10_error(const std::string &str) | ||||
: std::runtime_error(str) {} | : std::runtime_error(str) {} | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 175 Lines • Show Last 20 Lines |