Kagome
Polkadot Runtime Engine in C++17
tagged_transaction_queue.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_TAGGED_TRANSACTION_QUEUE_HPP
7 #define KAGOME_TAGGED_TRANSACTION_QUEUE_HPP
8 
9 #include "primitives/common.hpp"
10 #include "primitives/extrinsic.hpp"
12 
13 namespace kagome::runtime {
14 
19  public:
20  virtual ~TaggedTransactionQueue() = default;
21 
28  virtual outcome::result<primitives::TransactionValidity>
30  const primitives::Extrinsic &ext) = 0;
31  };
32 
33 } // namespace kagome::runtime
34 
35 #endif // KAGOME_TAGGED_TRANSACTION_QUEUE_HPP
virtual outcome::result< primitives::TransactionValidity > validate_transaction(primitives::TransactionSource source, const primitives::Extrinsic &ext)=0
Extrinsic class represents extrinsic.
Definition: extrinsic.hpp:24