# Odarhom Bootstrap FAQ ❔

{% hint style="info" %}
IMPORTANT: This guide (blockchain fix) only works if you have followed the [Masternode Quick Guide](https://bitcore-btx.gitbook.io/bitcore-btx/bitcore-masternode-guide). Personal configurations are not considered in this guide.
{% endhint %}

#### Stop your BitCore Daemon <a href="#wiki_stop_your_bitcore_daemon" id="wiki_stop_your_bitcore_daemon"></a>

`bitcore-cli stop`

#### Remove Data <a href="#wiki_remove_data" id="wiki_remove_data"></a>

`cd ~/.bitcore`\
`rm -r blocks/ chainstate/ indexes/ sporks/ *.dat *.log .lock masternode.conf`

#### Download, Extract and Copy Bootstrap Files <a href="#wiki_download.2c_extract_and_copy_bootstrap_files" id="wiki_download.2c_extract_and_copy_bootstrap_files"></a>

`cd ..`\
`apt install unzip`\
`wget https://github.com/bitcore-btx/BitCore/releases/tag/0.90.9.8.12/bootstrap.zip`\
`unzip bootstrap.zip`\
`cp -r blocks/ chainstate/ .bitcore/`

#### Start your BitCore Daemon <a href="#wiki_start_your_bitcore_daemon" id="wiki_start_your_bitcore_daemon"></a>

`bitcored -daemon`

#### Check Headers and Block Height <a href="#wiki_check_headers_and_block_height" id="wiki_check_headers_and_block_height"></a>

`bitcore-cli getblockchaininfo| grep -i "headers" -B 1`

#### Compare your Blockhash <a href="#wiki_compare_your_blockhash" id="wiki_compare_your_blockhash"></a>

`bitcore-cli getblockhash 660958`\
must be identical with ---> `e79f12b7c6c103bb7d2c4753700b8e0e9247f45f4367e8bddf92b1ffafb5a117`

#### Check Masternode Sync <a href="#wiki_check_masternode_sync" id="wiki_check_masternode_sync"></a>

`bitcore-cli mnsync status`

and wait until these values are "true"

`"IsBlockchainSynced": true,`\
`"IsMasternodeListSynced": true,`\
`"IsWinnersListSynced": true,`

Now you can start your Masternode from your BitCore QT Wallet.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bitcore-btx.gitbook.io/bitcore-btx/privatekey-1/odarhom-bitcore-wallet-qt/odarhom-bootstrap-faq.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
