[#CBlockIndex-nTx]
= xref:CBlockIndex.adoc[CBlockIndex]::nTx
:relfileprefix: ../
:mrdocs:

Number of transactions in this block&period; This will be nonzero if the block reached the VALID&lowbar;TRANSACTIONS level, and zero otherwise&period; Note&colon; in a potential headers&hyphen;first mode, this number cannot be relied upon

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned int nTx = &lcub;0&rcub;;
----


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