aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/blockchain.h3
-rw-r--r--src/rpc/server.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h
index 69cba8f019..8821f297f6 100644
--- a/src/rpc/blockchain.h
+++ b/src/rpc/blockchain.h
@@ -16,5 +16,8 @@ class CBlockIndex;
*/
double GetDifficulty(const CBlockIndex* blockindex = nullptr);
+/** Callback for when block tip changed. */
+void RPCNotifyBlockChange(bool ibd, const CBlockIndex *);
+
#endif
diff --git a/src/rpc/server.h b/src/rpc/server.h
index c3692d91b7..34a9d3c24c 100644
--- a/src/rpc/server.h
+++ b/src/rpc/server.h
@@ -198,7 +198,6 @@ bool StartRPC();
void InterruptRPC();
void StopRPC();
std::string JSONRPCExecBatch(const UniValue& vReq);
-void RPCNotifyBlockChange(bool ibd, const CBlockIndex *);
// Retrieves any serialization flags requested in command line argument
int RPCSerializationFlags();