[#TxIndex-01-CustomAppend]
= xref:TxIndex-01.adoc[TxIndex]::CustomAppend
:relfileprefix: ../
:mrdocs:

Record the transactions of a newly connected block in the index&period;

== Synopsis

Declared in `&lt;index&sol;txindex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
CustomAppend(xref:interfaces/BlockInfo.adoc[interfaces::BlockInfo] const& block) override;
----

== Return Value

True on success&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block*
| Information about the block being appended&period;
|===


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