#define HAS_RLP_FIELDS
Definition encoding_rlp.hpp:208
static constexpr size_t kNoSigRlpSize
Definition pillar_vote.hpp:19
PbftPeriod period_
Definition pillar_vote.hpp:67
static PillarVote decodeSolidity(const bytes &enc)
Decodes solidity encoded representation of pillar vote.
Definition pillar_vote.cpp:37
bytes encodeSolidity(bool inc_sig=true) const
Definition pillar_vote.cpp:29
static constexpr size_t kStandardRlpSize
Definition pillar_vote.hpp:20
PbftPeriod getPeriod() const
Definition pillar_vote.cpp:51
vote_hash_t sha3(bool inc_sig) const override
Secure Hash Algorithm 3.
Definition pillar_vote.cpp:53
bytes rlp() const
Recursive Length Prefix.
Definition pillar_vote.cpp:27
PillarVote class.
Definition pillar_vote.hpp:17
Vote class is a vote class that includes vote hash, vote on PBFT block hash, vote signature,...
Definition vote.hpp:15
std::vector< byte > bytes
Definition types.hpp:53
EthBlockNumber PbftPeriod
Definition types.hpp:25