Options struct containing limit options for a CTxMemPool. Default constructor populates the struct with sane default values which can be modified.

Synopsis

Declared in <kernel/mempool_limits.h>

struct MemPoolLimits;

Description

Most of the time, this struct should be referenced as CTxMemPool::Limits.

Static Member Functions

Name

Description

NoLimits

Build a limits struct that imposes no restrictions.

Data Members

Name

Description

ancestor_count

The maximum allowed number of transactions in a package including the entry and its ancestors.

cluster_count

The maximum number of transactions in a cluster

cluster_size_vbytes

The maximum allowed size in virtual bytes of a cluster.

descendant_count

The maximum allowed number of transactions in a package including the entry and its descendants.

Created with MrDocs