Create a new CTxMemPool. Sanity checks will be off by default for performance, because otherwise accepting transactions becomes O(Nˆ2) where N is the number of transactions in the pool.

Synopsis

Declared in <txmempool.h>

explicit
CTxMemPool(
    Options opts,
    bilingual_str& error);

Parameters

Name

Description

opts

The configuration options for the new mempool.

error

Set to a descriptive message if construction fails.

Created with MrDocs