diff options
| author | Matt Corallo <[email protected]> | 2017-12-04 18:31:36 -0500 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2017-12-26 11:54:49 -0500 |
| commit | 5a933cefcc5e0595a1ec46fc5ea287aa163ecd3f (patch) | |
| tree | 63bcb653e77c838a7e511dcdd6eb1d49cd125c5c /src/validationinterface.h | |
| parent | Require no cs_main lock for ProcessNewBlock/ActivateBestChain (diff) | |
| download | discoin-5a933cefcc5e0595a1ec46fc5ea287aa163ecd3f.tar.xz discoin-5a933cefcc5e0595a1ec46fc5ea287aa163ecd3f.zip | |
Add an interface to get the queue depth out of CValidationInterface
Diffstat (limited to 'src/validationinterface.h')
| -rw-r--r-- | src/validationinterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/validationinterface.h b/src/validationinterface.h index 7b5d13841..164059e3b 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.h @@ -131,6 +131,8 @@ public: /** Call any remaining callbacks on the calling thread */ void FlushBackgroundCallbacks(); + size_t CallbacksPending(); + /** Register with mempool to call TransactionRemovedFromMempool callbacks */ void RegisterWithMempoolSignals(CTxMemPool& pool); /** Unregister with mempool */ |