aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorstickies-v <stickies-v@protonmail.com>2024-03-22 14:20:39 +0000
committerstickies-v <stickies-v@protonmail.com>2024-03-22 14:36:52 +0000
commit032a59748295859845b2a9181ceb1c4ae70bae5c (patch)
treedf68663e227bb984e1d60f3ef8eeb4963eb3227e /src/qt/guiutil.h
parent71b63195b30b2fa0dff20ebb262ce7566dd5d673 (diff)
downloadbitcoin-032a59748295859845b2a9181ceb1c4ae70bae5c.tar.xz
test: make p2p_handshake robust against timeoffset warnings
The test requires that limited nodes are not peered with when the node's system time exceeds ~ 24h of the node's chaintip timestamp, as per PeerManagerImpl::GetDesirableServiceFlags. By patching this test to modify the timestamp of the chaintip as opposed to mocking the node's system time, we make it resilient to future commits where the node raises a warning if it detects its system time is too much out of sync with its outbound peers. See https://github.com/bitcoin/bitcoin/pull/29623
Diffstat (limited to 'src/qt/guiutil.h')
0 files changed, 0 insertions, 0 deletions