Changeset View
Changeset View
Standalone View
Standalone View
src/blockencodings.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | inline void SerializationOp(Stream &s, Operation ser_action) { | ||||
} | } | ||||
} | } | ||||
} | } | ||||
}; | }; | ||||
class BlockTransactions { | class BlockTransactions { | ||||
public: | public: | ||||
// A BlockTransactions message | // A BlockTransactions message | ||||
uint256 blockhash; | BlockHash blockhash; | ||||
std::vector<CTransactionRef> txn; | std::vector<CTransactionRef> txn; | ||||
BlockTransactions() {} | BlockTransactions() {} | ||||
explicit BlockTransactions(const BlockTransactionsRequest &req) | explicit BlockTransactions(const BlockTransactionsRequest &req) | ||||
: blockhash(req.blockhash), txn(req.indices.size()) {} | : blockhash(req.blockhash), txn(req.indices.size()) {} | ||||
ADD_SERIALIZE_METHODS; | ADD_SERIALIZE_METHODS; | ||||
▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines |