I am planning on doing some transaction analysis on the blockchain, however, I only want to do it on a small part of the blockchain first and then run it on the full blockchain later on. I have downloaded the bitcoind client, is there any way to only sync up to a certain block?

1 Answer 1


bitcoind supports the argument -stopatheight, which takes the number of blocks to download before halting.

  • Surprising that this flag does not show up while running the bitcoind -? command, could you point me to some documentation I can look at?
    – m0bi5
    Commented Feb 9, 2021 at 0:52
  • 1
    It’s not a normal option. bitcoind -help -help-debug
    – Claris
    Commented Feb 9, 2021 at 1:01

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.