mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-03 17:30:25 +01:00
add node interface method for getting maximum mempool size
This commit is contained in:
@@ -162,6 +162,9 @@ public:
|
||||
//! Get mempool dynamic usage.
|
||||
virtual size_t getMempoolDynamicUsage() = 0;
|
||||
|
||||
//! Get mempool maximum memory usage.
|
||||
virtual size_t getMempoolMaxUsage() = 0;
|
||||
|
||||
//! Get header tip height and time.
|
||||
virtual bool getHeaderTip(int& height, int64_t& block_time) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user