Kagome
Polkadot Runtime Engine in C++17
pool_moderator_impl.hpp File Reference
#include "transaction_pool/pool_moderator.hpp"
#include <map>
#include "clock/clock.hpp"
Include dependency graph for pool_moderator_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kagome::transaction_pool::PoolModeratorImpl
 
struct  kagome::transaction_pool::PoolModeratorImpl::Params
 

Namespaces

 kagome::transaction_pool
 

Class Documentation

struct kagome::transaction_pool::PoolModeratorImpl::Params
Parameters
ban_foramount of time for which a transaction is banned
expected_sizeexpected maximum number of banned transactions. If significantly exceeded, some transactions will be removed from ban list

Definition at line 37 of file pool_moderator_impl.hpp.

Collaboration diagram for kagome::transaction_pool::PoolModeratorImpl::Params:
Class Members
Duration ban_for
size_t expected_size