Changeset View
Changeset View
Standalone View
Standalone View
src/blockencodings.h
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | inline void SerializationOp(Stream &s, Operation ser_action) { | ||||
} | } | ||||
} | } | ||||
}; | }; | ||||
class PartiallyDownloadedBlock { | class PartiallyDownloadedBlock { | ||||
protected: | protected: | ||||
std::vector<CTransactionRef> txns_available; | std::vector<CTransactionRef> txns_available; | ||||
size_t prefilled_count = 0, mempool_count = 0, extra_count = 0; | size_t prefilled_count = 0, mempool_count = 0, extra_count = 0; | ||||
CTxMemPool *pool; | const CTxMemPool *pool; | ||||
const Config *config; | const Config *config; | ||||
public: | public: | ||||
CBlockHeader header; | CBlockHeader header; | ||||
PartiallyDownloadedBlock(const Config &configIn, CTxMemPool *poolIn) | PartiallyDownloadedBlock(const Config &configIn, CTxMemPool *poolIn) | ||||
: pool(poolIn), config(&configIn) {} | : pool(poolIn), config(&configIn) {} | ||||
// extra_txn is a list of extra transactions to look at, in <txhash, | // extra_txn is a list of extra transactions to look at, in <txhash, | ||||
Show All 10 Lines |