Changeset View
Changeset View
Standalone View
Standalone View
src/streams.h
// 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. | ||||
#ifndef BITCOIN_STREAMS_H | #ifndef BITCOIN_STREAMS_H | ||||
#define BITCOIN_STREAMS_H | #define BITCOIN_STREAMS_H | ||||
#include "serialize.h" | #include "serialize.h" | ||||
#include "support/allocators/zeroafterfree.h" | #include "support/allocators/zeroafterfree.h" | ||||
#include <algorithm> | #include <algorithm> | ||||
#include <assert.h> | #include <cassert> | ||||
#include <cstdint> | |||||
#include <cstdio> | |||||
#include <cstring> | |||||
#include <ios> | #include <ios> | ||||
#include <limits> | #include <limits> | ||||
#include <map> | #include <map> | ||||
#include <set> | #include <set> | ||||
#include <stdint.h> | |||||
#include <stdio.h> | |||||
#include <string.h> | |||||
#include <string> | #include <string> | ||||
#include <utility> | #include <utility> | ||||
#include <vector> | #include <vector> | ||||
template <typename Stream> class OverrideStream { | template <typename Stream> class OverrideStream { | ||||
Stream *stream; | Stream *stream; | ||||
const int nType; | const int nType; | ||||
▲ Show 20 Lines • Show All 621 Lines • Show Last 20 Lines |