TARAXA
dag_block_bundle_rlp.hpp File Reference
#include <libdevcore/Common.h>
#include <libdevcore/RLP.h>
#include <vector>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 taraxa
 

Functions

dev::bytes taraxa::encodeDAGBlocksBundleRlp (const std::vector< DagBlock > &blocks)
 Encodes pbft blocks into optimized blocks bundle rlp. More...
 
std::vector< DagBlock > taraxa::decodeDAGBlocksBundleRlp (const dev::RLP &blocks_bundle_rlp)
 Decodes pbft blocks from optimized blocks bundle rlp. More...
 
std::shared_ptr< DagBlock > taraxa::decodeDAGBlockBundleRlp (uint64_t index, const dev::RLP &blocks_bundle_rlp)
 Decodes single dag block from optimized blocks bundle rlp. More...
 

Variables

constexpr static size_t taraxa::kDAGBlocksBundleRlpSize {3}