mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
update bitcoin core from git (eeac8727bc
)
This commit is contained in:
parent
245ab4d0ac
commit
0eeb4f5d5b
@ -3,6 +3,9 @@
|
|||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
|
#include <boost/filesystem/fstream.hpp>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <memory>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -56,29 +55,8 @@
|
|||||||
#include <list>
|
#include <list>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <numeric>
|
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <boost/lexical_cast.hpp>
|
|
||||||
#include <boost/tuple/tuple.hpp>
|
|
||||||
#include <boost/tuple/tuple_comparison.hpp>
|
|
||||||
#include <boost/tuple/tuple_io.hpp>
|
|
||||||
#include <boost/array.hpp>
|
|
||||||
#include <boost/bind.hpp>
|
|
||||||
#include <boost/function.hpp>
|
|
||||||
#include <boost/filesystem.hpp>
|
|
||||||
#include <boost/filesystem/fstream.hpp>
|
|
||||||
#include <boost/algorithm/string.hpp>
|
|
||||||
#include <boost/thread.hpp>
|
|
||||||
#include <boost/interprocess/sync/file_lock.hpp>
|
|
||||||
#include <boost/interprocess/sync/interprocess_mutex.hpp>
|
|
||||||
#include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
|
|
||||||
#include <boost/date_time/gregorian/gregorian_types.hpp>
|
|
||||||
#include <boost/date_time/posix_time/posix_time_types.hpp>
|
|
||||||
#include <boost/config.hpp>
|
|
||||||
#include <boost/program_options/detail/config_file.hpp>
|
|
||||||
#include <boost/program_options/parsers.hpp>
|
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@ -110,7 +88,6 @@
|
|||||||
|
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
|
||||||
#include "strlcpy.h"
|
|
||||||
#include "serialize.h"
|
#include "serialize.h"
|
||||||
#include "uint256.h"
|
#include "uint256.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
@ -118,18 +95,13 @@
|
|||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
#include "base58.h"
|
#include "base58.h"
|
||||||
#include "script.h"
|
#include "script.h"
|
||||||
#include "db.h"
|
|
||||||
#include "net.h"
|
|
||||||
#include "irc.h"
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "rpc.h"
|
|
||||||
#ifdef GUI
|
#ifdef GUI
|
||||||
#include "uibase.h"
|
#include "uibase.h"
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
#else
|
#else
|
||||||
#include "externui.h"
|
#include "externui.h"
|
||||||
#endif
|
#endif
|
||||||
#include "init.h"
|
|
||||||
|
|
||||||
#ifdef GUI
|
#ifdef GUI
|
||||||
#include "xpm/addressbook16.xpm"
|
#include "xpm/addressbook16.xpm"
|
||||||
|
@ -2,6 +2,13 @@
|
|||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "db.h"
|
||||||
|
#include "rpc.h"
|
||||||
|
#include "net.h"
|
||||||
|
#include "init.h"
|
||||||
|
#include "strlcpy.h"
|
||||||
|
#include <boost/filesystem/fstream.hpp>
|
||||||
|
#include <boost/interprocess/sync/file_lock.hpp>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "irc.h"
|
||||||
|
#include "net.h"
|
||||||
|
#include "strlcpy.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
|
#include "init.h"
|
||||||
#include "cryptopp/sha.h"
|
#include "cryptopp/sha.h"
|
||||||
|
#include <boost/filesystem/fstream.hpp>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
10
src/main.h
10
src/main.h
@ -24,6 +24,13 @@ class CBlockIndex;
|
|||||||
class CWalletTx;
|
class CWalletTx;
|
||||||
class CKeyItem;
|
class CKeyItem;
|
||||||
|
|
||||||
|
class CMessageHeader;
|
||||||
|
class CAddress;
|
||||||
|
class CInv;
|
||||||
|
class CRequestTracker;
|
||||||
|
class CNode;
|
||||||
|
class CBlockIndex;
|
||||||
|
|
||||||
static const unsigned int MAX_BLOCK_SIZE = 1000000;
|
static const unsigned int MAX_BLOCK_SIZE = 1000000;
|
||||||
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
|
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
|
||||||
static const int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
|
static const int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
|
||||||
@ -78,6 +85,9 @@ extern int fUseUPnP;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class CReserveKey;
|
||||||
|
class CTxDB;
|
||||||
|
class CTxIndex;
|
||||||
|
|
||||||
bool CheckDiskSpace(uint64 nAdditionalBytes=0);
|
bool CheckDiskSpace(uint64 nAdditionalBytes=0);
|
||||||
FILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode="rb");
|
FILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode="rb");
|
||||||
|
@ -3,6 +3,11 @@
|
|||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "irc.h"
|
||||||
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
|
#include "init.h"
|
||||||
|
#include "strlcpy.h"
|
||||||
|
|
||||||
#ifdef USE_UPNP
|
#ifdef USE_UPNP
|
||||||
#include <miniupnpc/miniwget.h>
|
#include <miniupnpc/miniwget.h>
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <boost/array.hpp>
|
#include <boost/array.hpp>
|
||||||
|
#include <boost/foreach.hpp>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|
||||||
#ifndef __WXMSW__
|
#ifndef __WXMSW__
|
||||||
|
@ -4,12 +4,17 @@
|
|||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "cryptopp/sha.h"
|
#include "cryptopp/sha.h"
|
||||||
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
|
#include "init.h"
|
||||||
#undef printf
|
#undef printf
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include <boost/iostreams/concepts.hpp>
|
#include <boost/iostreams/concepts.hpp>
|
||||||
#include <boost/iostreams/stream.hpp>
|
#include <boost/iostreams/stream.hpp>
|
||||||
|
#include <boost/algorithm/string.hpp>
|
||||||
#ifdef USE_SSL
|
#ifdef USE_SSL
|
||||||
#include <boost/asio/ssl.hpp>
|
#include <boost/asio/ssl.hpp>
|
||||||
|
#include <boost/filesystem/fstream.hpp>
|
||||||
typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> SSLStream;
|
typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> SSLStream;
|
||||||
#endif
|
#endif
|
||||||
#include "json/json_spirit_reader_template.h"
|
#include "json/json_spirit_reader_template.h"
|
||||||
|
13
src/util.cpp
13
src/util.cpp
@ -2,6 +2,13 @@
|
|||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
|
#include "strlcpy.h"
|
||||||
|
#include <boost/program_options/detail/config_file.hpp>
|
||||||
|
#include <boost/program_options/parsers.hpp>
|
||||||
|
#include <boost/filesystem/fstream.hpp>
|
||||||
|
#include <boost/interprocess/sync/interprocess_mutex.hpp>
|
||||||
|
#include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
|
||||||
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
@ -893,8 +900,10 @@ string FormatVersion(int nVersion)
|
|||||||
string FormatFullVersion()
|
string FormatFullVersion()
|
||||||
{
|
{
|
||||||
string s = FormatVersion(VERSION) + pszSubVer;
|
string s = FormatVersion(VERSION) + pszSubVer;
|
||||||
if (VERSION_IS_BETA)
|
if (VERSION_IS_BETA) {
|
||||||
s += _("-beta");
|
s += "-";
|
||||||
|
s += _("beta");
|
||||||
|
}
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <boost/foreach.hpp>
|
|
||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
#include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
|
#include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
|
||||||
#include <boost/date_time/gregorian/gregorian_types.hpp>
|
#include <boost/date_time/gregorian/gregorian_types.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user