Kagome
Polkadot Runtime Engine in C++17
kagome::primitives::ValidTransaction Struct Reference

Information concerning a valid transaction. More...

#include <transaction_validity.hpp>

Collaboration diagram for kagome::primitives::ValidTransaction:

Public Member Functions

 SCALE_TIE (5)
 

Public Attributes

Transaction::Priority priority {}
 Priority of the transaction. Priority determines the ordering of two transactions that have all their dependencies (required tags) satisfied. More...
 
std::vector< Transaction::Tagrequires
 Transaction dependencies A non-empty list signifies that some other transactions which provide given tags are required to be included before that one. More...
 
std::vector< Transaction::Tagprovides
 Provided tags A list of tags this transaction provides. Successful transaction import will enable other transactions that depend on (require) those tags to be included as well. Provided and requried tags allow Substrate to build a dependency graph of transactions and import them in the right (linear) order. More...
 
Transaction::Longevity longevity {}
 Transaction longevity Longevity describes minimum number of blocks the validity is correct. After this period transaction should be removed from the pool or revalidated. More...
 
bool propagate {}
 A flag indicating if the transaction should be propagated to other peers. By setting false here the transaction will still be considered for including in blocks that are authored on the current node, but will never be sent to other peers. More...
 

Detailed Description

Member Function Documentation

kagome::primitives::ValidTransaction::SCALE_TIE ( )

Member Data Documentation

Transaction::Longevity kagome::primitives::ValidTransaction::longevity {}

Transaction longevity Longevity describes minimum number of blocks the validity is correct. After this period transaction should be removed from the pool or revalidated.

Definition at line 83 of file transaction_validity.hpp.

Transaction::Priority kagome::primitives::ValidTransaction::priority {}

Priority of the transaction. Priority determines the ordering of two transactions that have all their dependencies (required tags) satisfied.

Definition at line 57 of file transaction_validity.hpp.

bool kagome::primitives::ValidTransaction::propagate {}

A flag indicating if the transaction should be propagated to other peers. By setting false here the transaction will still be considered for including in blocks that are authored on the current node, but will never be sent to other peers.

Definition at line 91 of file transaction_validity.hpp.

std::vector<Transaction::Tag> kagome::primitives::ValidTransaction::provides

Provided tags A list of tags this transaction provides. Successful transaction import will enable other transactions that depend on (require) those tags to be included as well. Provided and requried tags allow Substrate to build a dependency graph of transactions and import them in the right (linear) order.

Definition at line 75 of file transaction_validity.hpp.

std::vector<Transaction::Tag> kagome::primitives::ValidTransaction::requires

Transaction dependencies A non-empty list signifies that some other transactions which provide given tags are required to be included before that one.

Definition at line 65 of file transaction_validity.hpp.


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