6 #ifndef KAGOME_TRANSACTION_HPP 7 #define KAGOME_TRANSACTION_HPP 31 using Tag = std::vector<uint8_t>;
70 #endif // KAGOME_TRANSACTION_HPP
std::vector< Tag > provides
Tags that this transaction provides.
std::vector< Tag > requires
Tags required by the transaction.
Longevity valid_till
At which block the transaction becomes invalid?
bool should_propagate
Should that transaction be propagated.
Hash hash
Extrinsic hash (non-unique)
bool operator==(const Transaction &v1, const Transaction &v2)
size_t bytes
Number of bytes encoding of the transaction requires.
Priority priority
Transaction priority (higher = better)
std::vector< uint8_t > Tag
Extrinsic class represents extrinsic.
uint64_t Priority
Priority for a transaction. Additive. Higher is better.
Extrinsic ext
Raw extrinsic representing that transaction.