Projects : bitcoin : bitcoin_dumpblock_no_losers

bitcoin/src/headers.h

Dir - Raw

1// Copyright (c) 2009-2010 Satoshi Nakamoto
2// Copyright (c) 2009-2012 The Bitcoin developers
3// Distributed under the MIT/X11 software license, see the accompanying
4// file license.txt or http://www.opensource.org/licenses/mit-license.php.
5
6// Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
7#include <boost/foreach.hpp>
8#ifndef __STDC_LIMIT_MACROS
9#define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h
10#endif
11
12#if (defined(__unix__) || defined(unix)) && !defined(USG)
13#include <sys/param.h> // to get BSD define
14#endif
15#ifdef MAC_OSX
16#ifndef BSD
17#define BSD 1
18#endif
19#endif
20#include <openssl/buffer.h>
21#include <openssl/ecdsa.h>
22#include <openssl/evp.h>
23#include <openssl/rand.h>
24#include <openssl/sha.h>
25#include <openssl/ripemd.h>
26#include <db_cxx.h>
27#include <stdio.h>
28#include <stdlib.h>
29#include <time.h>
30#include <math.h>
31#include <limits.h>
32#include <float.h>
33#include <assert.h>
34#include <iostream>
35#include <sstream>
36#include <string>
37#include <vector>
38#include <list>
39#include <deque>
40#include <map>
41
42#include <sys/time.h>
43#include <sys/resource.h>
44#include <sys/socket.h>
45#include <sys/stat.h>
46#include <arpa/inet.h>
47#include <netdb.h>
48#include <unistd.h>
49#include <errno.h>
50#include <net/if.h>
51#include <ifaddrs.h>
52#include <fcntl.h>
53#include <signal.h>
54
55#ifdef BSD
56#include <netinet/in.h>
57#endif
58
59
60#include "serialize.h"
61#include "uint256.h"
62#include "util.h"
63#include "bignum.h"
64#include "base58.h"
65#include "main.h"
66#include "noui.h"