File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 27
27
#include " policy/policy.h"
28
28
#include " rpc/server.h"
29
29
#include " rpc/register.h"
30
+ #include " rpc/blockchain.h"
30
31
#include " script/standard.h"
31
32
#include " script/sigcache.h"
32
33
#include " scheduler.h"
Original file line number Diff line number Diff line change @@ -16,5 +16,8 @@ class CBlockIndex;
16
16
*/
17
17
double GetDifficulty (const CBlockIndex* blockindex = nullptr );
18
18
19
+ /* * Callback for when block tip changed. */
20
+ void RPCNotifyBlockChange (bool ibd, const CBlockIndex *);
21
+
19
22
#endif
20
23
Original file line number Diff line number Diff line change @@ -198,7 +198,6 @@ bool StartRPC();
198
198
void InterruptRPC ();
199
199
void StopRPC ();
200
200
std::string JSONRPCExecBatch (const UniValue& vReq);
201
- void RPCNotifyBlockChange (bool ibd, const CBlockIndex *);
202
201
203
202
// Retrieves any serialization flags requested in command line argument
204
203
int RPCSerializationFlags ();
You can’t perform that action at this time.
0 commit comments