Please describe the feature you’d like to see added.
While preparing the little ter.gz file for https://github.com/fjahr/test_chain_init/issues/1 I stumbled upon the fact that one is unable to download just a couple of blocks in the beginning without synchronizing the full header chain.
I would be happy if the stopatheight
option was respected also header-wise. This is a feature request.
Using 28.0 x86_64 Linux release binaries from bitcoincore.org
0$ bitcoind -help -help-debug | grep -A 2 stopatheight
1 -stopatheight
2 Stop running after reaching the given height in the main chain (default:
3 0)
Version tested:
0 bitcoind -version
1Bitcoin Core version v28.0.0
2Copyright (C) 2009-2024 The Bitcoin Core developers
3
4Please contribute if you find Bitcoin Core useful. Visit
5<https://bitcoincore.org/> for further information about the software.
6The source code is available from <https://github.com/bitcoin/bitcoin>.
7
8This is experimental software.
9Distributed under the MIT software license, see the accompanying file COPYING
10or <https://opensource.org/licenses/MIT>
Thank you!
Is your feature related to a problem, if so please describe it.
No response
Describe the solution you’d like
No response
Describe any alternatives you’ve considered
No response
Please leave any additional context
No response