Changeset View
Changeset View
Standalone View
Standalone View
src/arith_uint256.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 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. | ||||
#include "arith_uint256.h" | #include <arith_uint256.h> | ||||
#include "crypto/common.h" | #include <crypto/common.h> | ||||
#include "uint256.h" | #include <uint256.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
#include <cstdio> | #include <cstdio> | ||||
#include <cstring> | #include <cstring> | ||||
template <unsigned int BITS> | template <unsigned int BITS> | ||||
base_uint<BITS>::base_uint(const std::string &str) { | base_uint<BITS>::base_uint(const std::string &str) { | ||||
SetHex(str); | SetHex(str); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |