|
Kagome
Polkadot Runtime Engine in C++17
|
#include <babe_block_header.hpp>
Public Member Functions | |
| SlotType | slotType () const |
| bool | needVRFCheck () const |
| bool | needVRFWithThresholdCheck () const |
| bool | isProducedInSecondarySlot () const |
Public Attributes | |
| SlotType | slot_assignment_type {} |
| primitives::AuthorityIndex | authority_index |
| authority index of the producer More... | |
| BabeSlotNumber | slot_number |
| slot, in which the block was produced More... | |
| crypto::VRFOutput | vrf_output {} |
| output of VRF function More... | |
Friends | |
| friend::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const BabeBlockHeader &bh) |
| outputs object of type BabeBlockHeader to stream More... | |
| friend::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, BabeBlockHeader &bh) |
| decodes object of type BabeBlockHeader from stream More... | |
Contains specific data, needed in BABE for validation
Definition at line 24 of file babe_block_header.hpp.
|
inline |
Definition at line 49 of file babe_block_header.hpp.
|
inline |
Definition at line 40 of file babe_block_header.hpp.
|
inline |
Definition at line 45 of file babe_block_header.hpp.
|
inline |
Definition at line 36 of file babe_block_header.hpp.
|
friend |
outputs object of type BabeBlockHeader to stream
| s | stream reference |
| v | value to output |
Definition at line 60 of file babe_block_header.hpp.
|
friend |
decodes object of type BabeBlockHeader from stream
| s | stream reference |
| v | value to output |
Definition at line 75 of file babe_block_header.hpp.
| primitives::AuthorityIndex kagome::consensus::BabeBlockHeader::authority_index |
authority index of the producer
Definition at line 28 of file babe_block_header.hpp.
| SlotType kagome::consensus::BabeBlockHeader::slot_assignment_type {} |
Definition at line 25 of file babe_block_header.hpp.
| BabeSlotNumber kagome::consensus::BabeBlockHeader::slot_number |
slot, in which the block was produced
Definition at line 31 of file babe_block_header.hpp.
| crypto::VRFOutput kagome::consensus::BabeBlockHeader::vrf_output {} |
output of VRF function
Definition at line 34 of file babe_block_header.hpp.