1

I am currently using bitcoind to do some transaction analysis on a small part of the blockchain. However, after the local copy of the blockchain reaches the -stopatheight value, it quits. Is there a way to keep it running at that height? Or do I need to sync the full blockchain to keep it running? I want to keep it running so that I can run the bitcoin-cli and perform a few RPC calls

3
  • 1
    You can use any parser for to analyze any part of blockchain that you need. For example, my script github.com/ragestack/blockchain-parser can do it. If you need chainstate data, you can also calculate it from parser's output data. Feb 9, 2021 at 4:38
  • @DenisLeonov Thanks for that, do you have any benchmarks? I have read in academia that Python would be slow to parse the full blockchain, have you done any sort of testing to see how it compares to parsers built with cpp or others
    – m0bi5
    Feb 9, 2021 at 16:05
  • 1
    i think there is no need for extreme speed for onetime blockchain parsing Feb 9, 2021 at 16:11

1 Answer 1

5

You can run with -connect=0. If it's not connected to anything, it can't sync further.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.