mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
75656adfd2test: add functional test for `-maxtipage` parameter (Sebastian Falbesoner) Pull request description: This PR adds a missing test for the `-maxtipage` parameter which controls what is the allowed maximum tip age for leaving IBD:792d0d8d51/src/init.cpp (L540)Relevant code path in the `CChainState::IsInitialBlockDownload` method:792d0d8d51/src/validation.cpp (L1479-L1480)The test is pretty simple and should be self-explanatory. ACKs for top commit: MarcoFalke: review ACK75656adfd2Tree-SHA512: 0a10dca13cb18c29e64fc8412f4c8f2bcaff1bab8645bd85266c242ba88ce036a150c03cbbe9810c3bb44649810af0aa9cb3584dbae886a7bdb16b72150d08de
32 KiB
Executable File
32 KiB
Executable File