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

(memory only) Sequential id assigned to distinguish order in which blocks are received&period; Initialized to SEQ&lowbar;ID&lowbar;INIT&lowbar;FROM&lowbar;DISK&lcub;1&rcub; when loading blocks from disk, except for blocks belonging to the best chain which overwrite it to SEQ&lowbar;ID&lowbar;BEST&lowbar;CHAIN&lowbar;FROM&lowbar;DISK&lcub;0&rcub;&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int32&lowbar;t nSequenceId = &lcub;SEQ&lowbar;ID&lowbar;INIT&lowbar;FROM&lowbar;DISK&rcub;;
----


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