interfaces: Add helper function for wallet on pruning

This commit is contained in:
Fabian Jahr
2024-09-30 01:42:47 +02:00
parent 228aba2c4d
commit 42d5d53363
2 changed files with 9 additions and 0 deletions

View File

@@ -289,6 +289,9 @@ public:
//! Check if any block has been pruned.
virtual bool havePruned() = 0;
//! Get the current prune height.
virtual std::optional<int> getPruneHeight() = 0;
//! Check if the node is ready to broadcast transactions.
virtual bool isReadyToBroadcast() = 0;