[#CTxMemPool-totalTxSize]
= xref:CTxMemPool.adoc[CTxMemPool]::totalTxSize
:relfileprefix: ../
:mrdocs:

sum of all mempool tx&apos;s virtual sizes&period; Differs from serialized tx size since witness data is discounted&period; Defined in BIP 141&period;

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;guarded&lowbar;by(0x7f2e1b5a0d08), guarded&lowbar;by(0x7f2e27219d18), guarded&lowbar;by(0x7f2e421cb428), guarded&lowbar;by(0x7f2e2880a3e8), guarded&lowbar;by(0x7f2e3212d778), guarded&lowbar;by(0x7f2e347f5e08), guarded&lowbar;by(0x7f2e2b05a278), guarded&lowbar;by(0x7f2e2bee1918)&rsqb;&rsqb;
uint64&lowbar;t totalTxSize = &lcub;0&rcub;;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
