mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-28 16:36:04 +01:00
interfaces: Add schedulerMockForward method so mockscheduler RPC can work across processes
Needed to fix new wallet_groups.py and wallet_resendwallettransactions.py tests with multiprocess bitcoin-node executable.
This commit is contained in:
@@ -395,6 +395,9 @@ public:
|
||||
|
||||
//! Set mock time.
|
||||
virtual void setMockTime(int64_t time) = 0;
|
||||
|
||||
//! Mock the scheduler to fast forward in time.
|
||||
virtual void schedulerMockForward(std::chrono::seconds delta_seconds) = 0;
|
||||
};
|
||||
|
||||
//! Return implementation of Chain interface.
|
||||
|
||||
Reference in New Issue
Block a user