Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 bitcoin#29623
- Loading branch information