CatapultServer
v0.5.0.1 (Elephant)
|
Functions | |
model::BlockElement | ParseBlockElement (const RawBuffer &buffer, size_t &numBytesConsumed) |
Parses a block element out of buffer and updates numBytesConsumed with the number of buffer bytes consumed. More... | |
bool | TryParseTransactionElements (const ionet::Packet &packet, const predicate< const model::Transaction & > &isValid, std::vector< model::TransactionElement > &elements) |
Tries to parse transaction elements out of packet and into elements with a validity check (isValid). More... | |
model::BlockElement catapult::parsers::ParseBlockElement | ( | const RawBuffer & | buffer, |
size_t & | numBytesConsumed | ||
) |
Parses a block element out of buffer and updates numBytesConsumed with the number of buffer bytes consumed.
bool catapult::parsers::TryParseTransactionElements | ( | const ionet::Packet & | packet, |
const predicate< const model::Transaction & > & | isValid, | ||
std::vector< model::TransactionElement > & | elements | ||
) |
Tries to parse transaction elements out of packet and into elements with a validity check (isValid).