diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-03-27 16:04:31 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-03-27 16:23:22 +0200 |
commit | 8d8f28dd52fc9f78f57842f94842c8433f1811be (patch) | |
tree | ec17b8d97cbff8c525453f2079ba1223f0500ddf /src/rpc/blockchain.h | |
parent | e6dcfeec05d6527ab148550836937ff435e6449c (diff) |
refactor: Move RPCNotifyBlockChange out of `rpc/server.h`
Diffstat (limited to 'src/rpc/blockchain.h')
-rw-r--r-- | src/rpc/blockchain.h | 3 |
1 files changed, 3 insertions, 0 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 |