CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
35 void WriteBlockElement(
const model::BlockElement& blockElement, OutputStream& outputStream);
39 std::shared_ptr<model::BlockElement>
ReadBlockElement(InputStream& inputStream);
Hash256 EntityHash
Entity hash.
Definition: Elements.h:66
const model::Block & Block
Block entity.
Definition: Elements.h:63
catapult::GenerationHash GenerationHash
Generation hash of the block.
Definition: Elements.h:69
auto Read32(TIo &input)
Reads value from input.
Definition: PodIoUtils.h:74
std::vector< Hash256 > SubCacheMerkleRoots
Merkle roots for all sub caches at the current block.
Definition: Elements.h:72
virtual void write(const RawBuffer &buffer)=0
std::vector< TransactionElement > Transactions
Transaction elements.
Definition: Elements.h:75
uint64_t size
Definition: MemoryCounters.cpp:65
std::shared_ptr< model::BlockElement > ReadBlockElement(InputStream &inputStream)
Definition: BlockElementSerializer.cpp:110
void WriteBlockElement(const model::BlockElement &blockElement, OutputStream &outputStream)
Writes blockElement into outputStream.
Definition: BlockElementSerializer.cpp:51
Processing element for a block composed of a block and metadata.
Definition: Elements.h:55
Definition: AddressExtractionExtension.cpp:28
constexpr size_t Hash256_Size
Definition: src/catapult/types.h:34
void Write32(TIo &output, uint32_t value)
Writes value into output.
Definition: PodIoUtils.h:42
Writer interface.
Definition: Stream.h:41
uint32_t Size
Entity size.
Definition: SizePrefixedEntity.h:33