30 std::optional<std::vector<std::shared_ptr<PillarVote>>>&& pillar_votes = {});
static bytes ToOldPeriodData(const bytes &rlp)
Definition: period_data.cpp:105
void clear()
Clear PBFT block, certify votes, DAG blocks, and transactions.
Definition: period_data.cpp:72
std::vector< std::shared_ptr< PbftVote > > previous_block_cert_votes
Definition: period_data.hpp:38
std::vector< DagBlock > dag_blocks
Definition: period_data.hpp:40
static PeriodData FromOldPeriodData(const dev::RLP &rlp)
Definition: period_data.cpp:80
SharedTransactions transactions
Definition: period_data.hpp:41
std::shared_ptr< PbftBlock > pbft_blk
Definition: period_data.hpp:37
constexpr static size_t kBaseRlpItemCount
Definition: period_data.hpp:47
std::optional< std::vector< std::shared_ptr< PillarVote > > > pillar_votes_
Definition: period_data.hpp:44
constexpr static size_t kExtendedRlpItemCount
Definition: period_data.hpp:50
bytes rlp() const
Recursive Length Prefix.
Definition: period_data.cpp:42
PeriodData class is for block execution, that includes PBFT block, certify votes, DAG blocks,...
Definition: period_data.hpp:25
std::vector<::byte > bytes
Definition: Common.h:46
std::vector< SharedTransaction > SharedTransactions
Definition: transaction.hpp:81
std::ostream & operator<<(std::ostream &strm, NodeConfig const &conf)
Definition: config.cpp:205