TARAXA
votes_bundle_rlp.cpp File Reference

Namespaces

 taraxa
 

Functions

dev::bytes taraxa::encodePbftVotesBundleRlp (const std::vector< std::shared_ptr< PbftVote >> &votes)
 Encodes pbft votes into optimized votes bundle rlp. More...
 
std::vector< std::shared_ptr< PbftVote > > taraxa::decodePbftVotesBundleRlp (const dev::RLP &votes_bundle_rlp)
 Decodes pbft votes from optimized votes bundle rlp. More...
 
dev::bytes taraxa::encodePillarVotesBundleRlp (const std::vector< std::shared_ptr< PillarVote >> &votes)
 Encodes pillar votes into optimized votes bundle rlp. More...
 
std::vector< std::shared_ptr< PillarVote > > taraxa::decodePillarVotesBundleRlp (const dev::RLP &votes_bundle_rlp)
 Decodes pillar votes from optimized votes bundle rlp. More...