Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
blockencodings.h
Go to the documentation of this file.
204 ReadStatus InitData(const CBlockHeaderAndShortTxIDs& cmpctblock, const std::vector<std::pair<uint256, CTransactionRef>>& extra_txn);
enum ReadStatus_t ReadStatus
CBlockHeaderAndShortTxIDs()
Definition: blockencodings.h:149
ReadStatus FillBlock(CBlock &block, const std::vector< CTransactionRef > &vtx_missing)
Definition: blockencodings.cpp:178
uint64_t GetShortID(const uint256 &txhash) const
Definition: blockencodings.cpp:43
Definition: blockencodings.h:71
ADD_SERIALIZE_METHODS
Definition: blockencodings.h:157
Definition: block.h:72
std::vector< CTransactionRef > txn_available
Definition: blockencodings.h:196
static const int SHORTTXIDS_LENGTH
Definition: blockencodings.h:140
BlockTransactions(const BlockTransactionsRequest &req)
Definition: blockencodings.h:78
Definition: blockencodings.h:103
void FillShortTxIDSelector() const
Definition: blockencodings.cpp:32
PartiallyDownloadedBlock(CTxMemPool *poolIn)
Definition: blockencodings.h:201
void SerializationOp(Stream &s, Operation ser_action)
Definition: blockencodings.h:84
Definition: blockencodings.h:15
TransactionCompressor(CTransactionRef &txIn)
Definition: blockencodings.h:19
void SerializationOp(Stream &s, Operation ser_action)
Definition: blockencodings.h:160
void SerializationOp(Stream &s, Operation ser_action)
Definition: blockencodings.h:112
void SerializationOp(Stream &s, Operation ser_action)
Definition: blockencodings.h:24
Definition: blockencodings.h:194
Definition: blockencodings.h:126
Definition: blockencodings.h:131
Definition: blockencodings.h:29
void SerializationOp(Stream &s, Operation ser_action)
Definition: blockencodings.h:38
std::vector< uint64_t > shorttxids
Definition: blockencodings.h:142
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Definition: txmempool.h:442
std::vector< PrefilledTransaction > prefilledtxn
Definition: blockencodings.h:143
bool IsTxAvailable(size_t index) const
Definition: blockencodings.cpp:172
Definition: blockencodings.h:124
ReadStatus InitData(const CBlockHeaderAndShortTxIDs &cmpctblock, const std::vector< std::pair< uint256, CTransactionRef >> &extra_txn)
Definition: blockencodings.cpp:50
Definition: blockencodings.h:125
T & REF(const T &val)
Used to bypass the rule against non-const reference to temporary where it makes sense with wrappers s...
Definition: serialize.h:50
Nodes collect new transactions into a block, hash them into a hash tree, and scan through nonce value...
Definition: block.h:20