I have recently set up a bitcoin node using bitcoind and want to perform some historical queries on the blockchain using getblock with verbosity set to 2.

I am using the default bitcoin.conf file but was wondering what's the best configuration to use to be able to query the blockchain historically?

Do I need to download the full blockchain using reindex or can I run a pruned node and still use getblock to get information on the genises block?

I know in order to use getRawTransaction you need to set txindex=1, but can I not get the same information from getblock (verbosity 2) in the tx array?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.