CatapultServer  v0.5.0.1 (Elephant)
catapult::model::HashLockTransactionBody< THeader > Struct Template Reference

Binary layout for a hash lock transaction body. More...

Inheritance diagram for catapult::model::HashLockTransactionBody< THeader >:
Collaboration diagram for catapult::model::HashLockTransactionBody< THeader >:

Static Public Member Functions

static constexpr uint64_t CalculateRealSize (const TransactionType &) noexcept
 

Public Attributes

UnresolvedMosaic Mosaic
 Transaction mosaic. More...
 
BlockDuration Duration
 Number of blocks for which a lock should be valid. More...
 
Hash256 Hash
 Lock hash. More...
 

Private Types

using TransactionType = HashLockTransactionBody< THeader >
 

Detailed Description

template<typename THeader>
struct catapult::model::HashLockTransactionBody< THeader >

Binary layout for a hash lock transaction body.

Member Typedef Documentation

◆ TransactionType

template<typename THeader >
using catapult::model::HashLockTransactionBody< THeader >::TransactionType = HashLockTransactionBody<THeader>
private

Member Function Documentation

◆ CalculateRealSize()

template<typename THeader >
static constexpr uint64_t catapult::model::HashLockTransactionBody< THeader >::CalculateRealSize ( const TransactionType )
inlinestaticconstexprnoexcept

Member Data Documentation

◆ Duration

template<typename THeader >
BlockDuration catapult::model::HashLockTransactionBody< THeader >::Duration

Number of blocks for which a lock should be valid.

◆ Hash

template<typename THeader >
Hash256 catapult::model::HashLockTransactionBody< THeader >::Hash

Lock hash.

◆ Mosaic

template<typename THeader >
UnresolvedMosaic catapult::model::HashLockTransactionBody< THeader >::Mosaic

Transaction mosaic.


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