mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-01 08:24:21 +01:00
Merge bitcoin-core/gui#825: Show maximum mempool size in information window
4a028cf54cgui: show maximum mempool size in information window (Sebastian Falbesoner)bbde6ffefeadd node interface method for getting maximum mempool size (Sebastian Falbesoner) Pull request description: This PR adds the maximum mempool size to the information window (Menu "Window" -> "Information" -> section "Memory Pool" -> line "Memory usage"). master:  PR:  ACKs for top commit: MarnixCroes: tested ACK4a028cf54cpablomartin4btc: tACK4a028cf54cluke-jr: tACK4a028cf54c& in Knots hebasto: ACK4a028cf54c, tested on Ubuntu 24.04. Tree-SHA512: c10fb23605d060cea19a86d11822fc4d12496b19547870052aace503670e62e4c4e19ae4c2c4fbf7420a472adb071c9ddebe82447e0cfbce5a6fb9fcd7b9eda3
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