HomePhabricator

test: add functional test for `-maxtipage` parameter

Description

test: add functional test for -maxtipage parameter

Summary:
This PR adds a missing test for the -maxtipage parameter which controls what is the allowed maximum tip age for leaving IBD.

This is a backport of core#24154 and a partial backport of core#26477
https://github.com/bitcoin/bitcoin/pull/26477/commits/e4be0e9b0661a8af49c4e6d5472804913f04b8fc

The commit from core#26477 should allow catching of the introduced regression when backporting core#25704

Test Plan:

cmake .. -GNinja
ninja check-functional

Check that the new test is detected by the test runner and completes successfully.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien, bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D15688

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Jan 25 2022, 12:28
PiRKCommitted on Mar 13 2024, 08:36
PiRKPushed on Mar 13 2024, 08:36
Reviewer
Restricted Project
Differential Revision
D15688: test: add functional test for `-maxtipage` parameter
Parents
rABC996e154ec774: [Cashtab] Consolidate send xec validation functions
Branches
Unknown
Tags
Unknown