Post
Topic
Board Bitcoin Technical Support
Merits 8 from 2 users
Re: Analyze the blockchain in windows
by
HCP
on 09/07/2021, 21:56:53 UTC
⭐ Merited by Welsh (6) ,ETFbitcoin (2)
Is it possible to analyze the blockchain through some command line?
You'll need to clearly define what you mean by "analyze the blockchain", before any can give you any meaningful advice or links to possible solutions/guides. Without knowing exactly what it is that you're trying to achieve, it's going to be impossible to point you in the right direction.

One thing to check before you begin, if you're wanting to use certain RPC calls (like getrawtransaction etc) that involve transactions that do not relate to your wallet, you'll need to make sure that you have txindex=1 set in your bitcoin.conf file, so that Bitcoin Core is indexing all the transactions.

You'll also want to make sure that your node is not running in "pruned" mode. Make sure there is no prune= value set in your bitcoin.conf and that in the "Settings -> Options -> Main" tab, that the "prune block storage to..." option is not checked:


Both of these are generally required for most analysis tools to work properly.


Note that if your node is currently pruned, you'll need to disable it and then resync your node. You'll need an absolute bare minimum of ~400 GB of free disk space to fully sync Bitcoin Core with transaction indexing turned on... having at least 1TB is better if you indeed to keep and run this node long term.