6 #ifndef KAGOME_POOL_MODERATOR_HPP 7 #define KAGOME_POOL_MODERATOR_HPP 14 using primitives::Transaction;
37 const Transaction &tx) = 0;
57 #endif // KAGOME_POOL_MODERATOR_HPP
virtual bool banIfStale(primitives::BlockNumber current_block, const Transaction &tx)=0
virtual void ban(const common::Hash256 &tx_hash)=0
virtual ~PoolModerator()=default
virtual bool isBanned(const Transaction::Hash &tx_hash) const =0
virtual size_t bannedNum() const =0
virtual void updateBan()=0