Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::deferred_transaction_generation_context Struct Reference

#include <transaction.hpp>

Inheritance diagram for sysio::chain::deferred_transaction_generation_context:
Collaboration diagram for sysio::chain::deferred_transaction_generation_context:

Public Member Functions

 deferred_transaction_generation_context ()=default
 
 deferred_transaction_generation_context (const transaction_id_type &sender_trx_id, uint128_t sender_id, account_name sender)
 
void reflector_init ()
 

Static Public Member Functions

static constexpr uint16_t extension_id ()
 
static constexpr bool enforce_unique ()
 

Public Attributes

transaction_id_type sender_trx_id
 
uint128_t sender_id
 
account_name sender
 

Detailed Description

Definition at line 8 of file transaction.hpp.

Constructor & Destructor Documentation

◆ deferred_transaction_generation_context() [1/2]

sysio::chain::deferred_transaction_generation_context::deferred_transaction_generation_context ( )
default

◆ deferred_transaction_generation_context() [2/2]

sysio::chain::deferred_transaction_generation_context::deferred_transaction_generation_context ( const transaction_id_type & sender_trx_id,
uint128_t sender_id,
account_name sender )
inline

Member Function Documentation

◆ enforce_unique()

static constexpr bool sysio::chain::deferred_transaction_generation_context::enforce_unique ( )
inlinestaticconstexpr

Definition at line 10 of file transaction.hpp.

10{ return true; }

◆ extension_id()

static constexpr uint16_t sysio::chain::deferred_transaction_generation_context::extension_id ( )
inlinestaticconstexpr

Definition at line 9 of file transaction.hpp.

9{ return 0; }
Here is the caller graph for this function:

◆ reflector_init()

void sysio::chain::deferred_transaction_generation_context::reflector_init ( )

Definition at line 16 of file transaction.cpp.

16 {
18 "deferred_transaction_generation_context expects FC to support reflector_init" );
19
20
21 SYS_ASSERT( sender != account_name(), ill_formed_deferred_transaction_generation_context,
22 "Deferred transaction generation context extension must have a non-empty sender account",
23 );
24}
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
Definition exceptions.hpp:7
constexpr bool has_feature_reflector_init_on_unpacked_reflected_types
Definition raw.hpp:440
name account_name
Definition types.hpp:120

Member Data Documentation

◆ sender

account_name sysio::chain::deferred_transaction_generation_context::sender

Definition at line 24 of file transaction.hpp.

◆ sender_id

uint128_t sysio::chain::deferred_transaction_generation_context::sender_id

Definition at line 23 of file transaction.hpp.

◆ sender_trx_id

transaction_id_type sysio::chain::deferred_transaction_generation_context::sender_trx_id

Definition at line 22 of file transaction.hpp.


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