aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-09-08 15:21:08 -0400
committerRyan Ofsky <ryan@ofsky.org>2023-10-20 10:30:16 -0400
commit4978754c0058bbdfbcd492f25fa49ef211e11d6e (patch)
tree1956f6b064ca2657b7608e3dcb05ded5c4908882 /src/interfaces
parent924327eaf3ada45a603e80aa4a3ab38a0f8c8673 (diff)
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.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/chain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index dea868f844..18d5b8f4a3 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -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.