sgns::primitives::ValidTransaction¶
Information concerning a valid transaction. More...
#include <transaction_validity.hpp>
Public Functions¶
| Name | |
|---|---|
| bool | operator==(const ValidTransaction & rhs) const |
| bool | operator!=(const ValidTransaction & rhs) const |
Public Attributes¶
| Name | |
|---|---|
| Transaction::Priority | priority Priority of the transaction. Priority determines the ordering of two transactions that have all their dependencies (required tags) satisfied. |
| std::vector< Transaction::Tag > | provides Provided tags A list of tags this transaction provides. Successfuly importing the transaction 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. |
| 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. |
| 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. |
Friends¶
| Name | |
|---|---|
| std::ostream & | operator<<(std::ostream & out, const ValidTransaction & v) |
Detailed Description¶
Information concerning a valid transaction.
This is the same structure as in
Public Functions Documentation¶
function operator==¶
function operator!=¶
Public Attributes Documentation¶
variable priority¶
Priority of the transaction. Priority determines the ordering of two transactions that have all their dependencies (required tags) satisfied.
variable provides¶
Provided tags A list of tags this transaction provides. Successfuly importing the transaction 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.
variable 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.
variable 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.
Friends¶
friend operator<<¶
Updated on 2026-03-04 at 13:10:43 -0800