class eosio::transaction_header
Class List > eosio :: transaction_header
Contains details about the transaction. More...
Inherited by the following classes: eosio::transaction
Public Attributes
Type | Name |
---|---|
time_point_sec | expiration |
uint16_t | ref_block_num |
uint32_t | ref_block_prefix |
unsigned_int | max_net_usage_words |
uint8_t | max_cpu_usage_ms number of 8 byte words this transaction can serialize into after compressions |
unsigned_int | delay_sec number of CPU usage units to bill transaction for |
Public Functions
Type | Name |
---|---|
transaction_header (time_point_sec exp = time_point_sec(current_time_point())+60) Construct a new transaction_header object initialising the transaction header expiration to now + 60 seconds. |
Detailed Description
Class transaction_header contains details about the transaction
Public Attributes Documentation
variable expiration
time_point_sec eosio::transaction_header::expiration;
variable ref_block_num
uint16_t eosio::transaction_header::ref_block_num;
variable ref_block_prefix
uint32_t eosio::transaction_header::ref_block_prefix;
variable max_net_usage_words
unsigned_int eosio::transaction_header::max_net_usage_words;
variable max_cpu_usage_ms
uint8_t eosio::transaction_header::max_cpu_usage_ms;
number of 8 byte words this transaction can serialize into after compressions
variable delay_sec
unsigned_int eosio::transaction_header::delay_sec;
number of CPU usage units to bill transaction for
Public Functions Documentation
function transaction_header
eosio::transaction_header::transaction_header(
time_point_sec exp = time_point_sec(current_time_point())+60
)
Construct a new transaction_header object initialising the transaction header expiration to now + 60 seconds.
Construct a new transaction_header with an expiration of now + 60 seconds.
The documentation for this class was generated from the following file: libraries/eosiolib/contracts/eosio/transaction.hpp