[#ChainstateManager-nBlockSequenceId] = xref:ChainstateManager.adoc[ChainstateManager]::nBlockSequenceId :relfileprefix: ../ :mrdocs: Every received block is assigned a unique and increasing identifier, so we know which one to give priority in case of a fork. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[guarded_by(0x7f2e1bc16b28), guarded_by(0x7f2e146b4e78), guarded_by(0x7f2e298fa248), guarded_by(0x7f2e360b79a8)]] int32_t nBlockSequenceId = SEQ_ID_INIT_FROM_DISK + 1; ---- == Description Blocks loaded from disk are assigned id SEQ_ID_INIT_FROM_DISK{1} (SEQ_ID_BEST_CHAIN_FROM_DISK{0} if they belong to the best chain loaded from disk), so start the counter after that. * [.small]#Created with https://www.mrdocs.com[MrDocs]#