Changeset View
Changeset View
Standalone View
Standalone View
src/blockencodings.h
Show All 26 Lines | inline void SerializationOp(Stream &s, Operation ser_action) { | ||||
// TODO: Compress tx encoding | // TODO: Compress tx encoding | ||||
READWRITE(tx); | READWRITE(tx); | ||||
} | } | ||||
}; | }; | ||||
class BlockTransactionsRequest { | class BlockTransactionsRequest { | ||||
public: | public: | ||||
// A BlockTransactionsRequest message | // A BlockTransactionsRequest message | ||||
uint256 blockhash; | BlockHash blockhash; | ||||
std::vector<uint32_t> indices; | std::vector<uint32_t> indices; | ||||
ADD_SERIALIZE_METHODS; | ADD_SERIALIZE_METHODS; | ||||
template <typename Stream, typename Operation> | template <typename Stream, typename Operation> | ||||
inline void SerializationOp(Stream &s, Operation ser_action) { | inline void SerializationOp(Stream &s, Operation ser_action) { | ||||
READWRITE(blockhash); | READWRITE(blockhash); | ||||
uint64_t indices_size = uint64_t(indices.size()); | uint64_t indices_size = uint64_t(indices.size()); | ||||
▲ Show 20 Lines • Show All 196 Lines • Show Last 20 Lines |