Block index versus Block height

2017-09-23 15:06:39

When I start up my Bitcoin core, it says "loading block index". Does this indexing occur on my local machine or does this mean my wallet fetches the latest block info, more specifically the block height?

What is the purpose of this block indexing?

Thanks

When I start up my Bitcoin core, it says "loading block index".

The Bitcoin Core node software maintains several pieces of data on disk (excluding the wallet):

The actual blocks in append-only data files.

The block index (which block headers exist, how they interconnect, and where on disk they are stored)

The chain state (the set of unspent outputs with amount, txid and address) at the current best block in the index.

Because this information about what blocks are known and where they are on disk is so frequently needed, it is loaded entirely into memory.

During the "loading block index", the full block index is loaded into memory (it's pretty small, 60 MB at the time of writing), and several consistency c

  • When I start up my Bitcoin core, it says "loading block index".

    The Bitcoin Core node software maintains several pieces of data on disk (excluding the wallet):

    The actual blocks in append-only data files.

    The block index (which block headers exist, how they interconnect, and where on disk they are stored)

    The chain state (the set of unspent outputs with amount, txid and address) at the current best block in the index.

    Because this information about what blocks are known and where they are on disk is so frequently needed, it is loaded entirely into memory.

    During the "loading block index", the full block index is loaded into memory (it's pretty small, 60 MB at the time of writing), and several consistency checks are done (including verifying all difficulties and proof of work).

    Does this indexing occur on my local machine

    Yes.

    or does this mean my wallet fetches the latest block info, more specifically the block height?

    No, fetching information about new blocks a

    2017-09-23 15:42:44
  • this means "init database engine. load data from disk to memory"

    2017-09-23 15:46:32
  • What is the work done by the bitcoin core client during the initialization process? Is the block index created locally or downloaded at other partner nodes?

    2017-09-23 16:32:21