[#CTxMemPool-2constructor] = xref:CTxMemPool.adoc[CTxMemPool]::CTxMemPool :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit CTxMemPool( xref:CTxMemPool/Options.adoc[Options] opts, xref:bilingual_str.adoc[bilingual_str]& error); ---- == Parameters [cols="1,4"] |=== | Name| Description | *opts* | The configuration options for the new mempool. | *error* | Set to a descriptive message if construction fails. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#