CatapultServer  v0.5.0.1 (Elephant)
catapult::model::Block Struct Reference

Binary layout for a block. More...

Inheritance diagram for catapult::model::Block:
Collaboration diagram for catapult::model::Block:

Additional Inherited Members

- Public Member Functions inherited from catapult::model::TransactionContainer< BlockHeader, Transaction >
auto Transactions (EntityContainerErrorPolicy errorPolicy=EntityContainerErrorPolicy::Throw)
 
auto Transactions (EntityContainerErrorPolicy errorPolicy=EntityContainerErrorPolicy::Throw) const
 
TransactionTransactionsPtr ()
 Returns a pointer to transactions contained in this container. More...
 
const TransactionTransactionsPtr () const
 Returns a const pointer to transactions contained in this container. More...
 
- Public Member Functions inherited from catapult::model::EntityBody< VerifiableEntityHeader >
NetworkIdentifier Network () const
 Returns network of an entity, as defined in NetworkInfoTraits. More...
 
uint8_t EntityVersion () const
 Returns version of an entity. More...
 
- Public Member Functions inherited from catapult::model::SizePrefixedEntity
bool operator== (const SizePrefixedEntity &rhs) const
 Returns true if this entity is equal to rhs. More...
 
bool operator!= (const SizePrefixedEntity &rhs) const
 Returns true if this entity is not equal to rhs. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 
- Public Attributes inherited from catapult::model::BlockHeader
catapult::Height Height
 Height of a block. More...
 
catapult::Timestamp Timestamp
 Timestamp of a block. More...
 
catapult::Difficulty Difficulty
 Difficulty of a block. More...
 
BlockFeeMultiplier FeeMultiplier
 Fee multiplier applied to transactions contained in block. More...
 
Hash256 PreviousBlockHash
 Hash of the previous block. More...
 
Hash256 BlockTransactionsHash
 Aggregate hash of a block's transactions. More...
 
Hash256 BlockReceiptsHash
 Aggregate hash of a block's receipts. More...
 
Hash256 StateHash
 Hash of the global chain state at this block. More...
 
Key Beneficiary
 Public key of optional beneficiary designated by harvester. More...
 
- Public Attributes inherited from catapult::model::EntityBody< VerifiableEntityHeader >
Key Signer
 Entity signer's public key. More...
 
uint16_t Version
 Entity version. More...
 
EntityType Type
 Entity type. More...
 
- Public Attributes inherited from catapult::model::VerifiableEntityHeader
catapult::Signature Signature
 Entity signature. More...
 
- Public Attributes inherited from catapult::model::SizePrefixedEntity
uint32_t Size
 Entity size. More...
 
- Static Public Attributes inherited from catapult::model::BlockHeader
static constexpr int Current_Version = 3
 Block format version. More...
 
- Static Public Attributes inherited from catapult::model::VerifiableEntityHeader
static constexpr size_t Header_Size = sizeof(uint32_t) + Signature_Size + Key_Size
 Size of the VerifiableEntity part that can be skipped when signing/verifying. More...
 
- Protected Member Functions inherited from catapult::model::SizePrefixedEntity
const uint8_t * ToBytePointer () const
 Returns byte-based const pointer to this entity. More...
 
uint8_t * ToBytePointer ()
 Returns byte-based pointer to this entity. More...
 
- Static Protected Member Functions inherited from catapult::model::SizePrefixedEntity
template<typename T >
static auto PayloadStart (T &entity)
 Gets the start of the variable data part of entity. More...
 

Detailed Description

Binary layout for a block.


The documentation for this struct was generated from the following file: