constexpr static size_t kDAGBlocksBundleRlpSize
Definition: dag_block_bundle_rlp.hpp:16
std::shared_ptr< DagBlock > decodeDAGBlockBundleRlp(uint64_t index, const dev::RLP &blocks_bundle_rlp)
Decodes single dag block from optimized blocks bundle rlp.
Definition: dag_block_bundle_rlp.cpp:84
std::vector< DagBlock > decodeDAGBlocksBundleRlp(const dev::RLP &blocks_bundle_rlp)
Decodes pbft blocks from optimized blocks bundle rlp.
Definition: dag_block_bundle_rlp.cpp:51
dev::bytes encodeDAGBlocksBundleRlp(const std::vector< DagBlock > &blocks)
Encodes pbft blocks into optimized blocks bundle rlp.
Definition: dag_block_bundle_rlp.cpp:10
std::vector<::byte > bytes
Definition: Common.h:46