CatapultServer  v0.5.0.1 (Elephant)
catapult::parsers Namespace Reference

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...
 

Function Documentation

◆ ParseBlockElement()

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.

Here is the call graph for this function:

◆ TryParseTransactionElements()

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).

Here is the call graph for this function: