Changeset View
Changeset View
Standalone View
Standalone View
src/blockencodings.h
// Copyright (c) 2016 The Bitcoin Core developers | // Copyright (c) 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_BLOCKENCODINGS_H | #ifndef BITCOIN_BLOCKENCODINGS_H | ||||
#define BITCOIN_BLOCKENCODINGS_H | #define BITCOIN_BLOCKENCODINGS_H | ||||
#include <primitives/block.h> | #include <primitives/block.h> | ||||
#include <memory> | |||||
class Config; | class Config; | ||||
class CTxMemPool; | class CTxMemPool; | ||||
// Dumb helper to handle CTransaction compression at serialize-time | // Dumb helper to handle CTransaction compression at serialize-time | ||||
struct TransactionCompressor { | struct TransactionCompressor { | ||||
private: | private: | ||||
CTransactionRef &tx; | CTransactionRef &tx; | ||||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |