<p>Yes, it will match. <code>getblockcount</code> is the number of blocks that you have already synced to, regardless of pruning.</p>

CC BY-SA 4.0
2019-11-22T01:02:01.183Z
2019-11-22T01:02:01.183Z
Ava Chow
<p>I am currently running a bitcoin node with prune=550. </p>

<p>The getBlockCount from <code>$ bitcoin-cli getblockcount</code> does not match <code>https://blockexplorer.com/api/status?q=getBlockCount</code>.  As I understand it, the bitcoind is still syncing the node since the bitcoin-cli getblockcount is rising at a steady pace.</p>

<p>Will the getblockcount from a node running with prune=550 eventually match the official getblockcount? </p>

CC BY-SA 4.0
2019-11-21T14:16:16.613Z
Yes, because bitcoin-core must be rescan the network to build the actual status of blockchain
vincenzopalazzo
<bitcoin-core><blockchain><bitcoind><bitcoin-cli>
Does getblockcount return the correct block count when running in prune mode?
zuury
# Does getblockcount return the correct block count when running in prune mode?

(Asked by: username_0 on 2019-11-21)

I am currently running a bitcoin node with prune=550.

The getBlockCount from `$ bitcoin-cli getblockcount` does not match `https://blockexplorer.com/api/status?q=getBlockCount`. As I understand it, the bitcoind is still syncing the node since the bitcoin-cli getblockcount is rising at a steady pace.

Will the getblockcount from a node running with prune=550 eventually match the official getblockcount?

**Tags:** bitcoin-core, blockchain, bitcoind, bitcoin-cli

> **Comments:**
> **username_1**: Yes, because bitcoin-core must be rescan the network to build the actual status of blockchain  

---

## 1 answers

### Answer by username_2 on 2019-11-22. Score: 0 | Accepted answer

Yes, it will match. `getblockcount` is the number of blocks that you have already synced to, regardless of pruning.


---

