[#TransactionInfo-m_virtual_transaction_size]
= xref:TransactionInfo.adoc[TransactionInfo]::m&lowbar;virtual&lowbar;transaction&lowbar;size
:relfileprefix: ../
:mrdocs:

The virtual transaction size&period;

== Synopsis

Declared in `&lt;kernel&sol;mempool&lowbar;entry&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int64&lowbar;t const m&lowbar;virtual&lowbar;transaction&lowbar;size;
----

== Description

This is a policy field which considers the sigop cost of the transaction as well as its weight, and reinterprets it as bytes&period;

It is the primary metric by which the mining algorithm selects transactions&period;


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