Bitcoin v0.3.0 · 2010-07-06
headers.h
1// Copyright (c) 2009-2010 Satoshi Nakamoto2// Distributed under the MIT/X11 software license, see the accompanying3// file license.txt or http://www.opensource.org/licenses/mit-license.php.45#ifdef _MSC_VER6#pragma warning(disable:4786)7#pragma warning(disable:4804)8#pragma warning(disable:4805)9#pragma warning(disable:4717)10#endif11#ifdef _WIN32_WINNT12#undef _WIN32_WINNT13#endif14#define _WIN32_WINNT 0x040015#ifdef _WIN32_IE16#undef _WIN32_IE17#endif18#define _WIN32_IE 0x040019#define WIN32_LEAN_AND_MEAN 120#define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h21#include <wx/wx.h>22#include <wx/stdpaths.h>23#include <wx/snglinst.h>24#if wxUSE_GUI25#include <wx/utils.h>26#include <wx/clipbrd.h>27#include <wx/taskbar.h>28#endif29#include <openssl/ecdsa.h>30#include <openssl/evp.h>31#include <openssl/rand.h>32#include <openssl/sha.h>33#include <openssl/ripemd.h>34#include <db_cxx.h>35#include <stdio.h>36#include <stdlib.h>37#include <math.h>38#include <limits.h>39#include <float.h>40#include <assert.h>41#include <memory>42#include <iostream>43#include <sstream>44#include <string>45#include <vector>46#include <list>47#include <deque>48#include <map>49#include <set>50#include <algorithm>51#include <numeric>52#include <boost/foreach.hpp>53#include <boost/lexical_cast.hpp>54#include <boost/tuple/tuple.hpp>55#include <boost/tuple/tuple_comparison.hpp>56#include <boost/tuple/tuple_io.hpp>57#include <boost/array.hpp>58#include <boost/bind.hpp>59#include <boost/function.hpp>60#include <boost/filesystem.hpp>61#include <boost/algorithm/string.hpp>6263#ifdef __WXMSW__64#include <windows.h>65#include <winsock2.h>66#include <mswsock.h>67#include <shlobj.h>68#include <shlwapi.h>69#include <io.h>70#include <process.h>71#include <malloc.h>72#else73#include <sys/time.h>74#include <sys/resource.h>75#include <sys/socket.h>76#include <arpa/inet.h>77#include <netdb.h>78#include <unistd.h>79#include <errno.h>80#include <net/if.h>81#include <ifaddrs.h>82#endif83#ifdef __BSD__84#include <netinet/in.h>85#endif868788#pragma hdrstop89using namespace std;90using namespace boost;9192#include "strlcpy.h"93#include "serialize.h"94#include "uint256.h"95#include "util.h"96#include "key.h"97#include "bignum.h"98#include "base58.h"99#include "script.h"100#include "db.h"101#include "net.h"102#include "irc.h"103#include "main.h"104#include "rpc.h"105#if wxUSE_GUI106#include "uibase.h"107#endif108#include "ui.h"109#include "init.h"110111#include "xpm/addressbook16.xpm"112#include "xpm/addressbook20.xpm"113#include "xpm/bitcoin16.xpm"114#include "xpm/bitcoin20.xpm"115#include "xpm/bitcoin32.xpm"116#include "xpm/bitcoin48.xpm"117#include "xpm/bitcoin80.xpm"118#include "xpm/check.xpm"119#include "xpm/send16.xpm"120#include "xpm/send16noshadow.xpm"121#include "xpm/send20.xpm"122#include "xpm/about.xpm"
Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.
