mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 11:13:02 +02:00
refactor: Move RPCNotifyBlockChange out of rpc/server.h
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user