diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-07-01 16:06:49 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-07-01 16:09:58 +0200 |
commit | a7b9623d189eb4a7d37ff7ad706d6385c3a38e80 (patch) | |
tree | 5c8e0ff2ebbc89c965c4a5869332cae6b45489ea /src/validationinterface.h | |
parent | 5496253966abec287ea61a648cb518d14903f91f (diff) |
miner: rename UpdateRequestCount signal to ResetRequestCount
Diffstat (limited to 'src/validationinterface.h')
-rw-r--r-- | src/validationinterface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validationinterface.h b/src/validationinterface.h index 34acd40165..fb0ce0bdaa 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.h @@ -37,7 +37,7 @@ protected: virtual void ResendWalletTransactions(int64_t nBestBlockTime) {} virtual void BlockChecked(const CBlock&, const CValidationState&) {} virtual void GetScriptForMining(boost::shared_ptr<CReserveScript>&) {}; - virtual void UpdateRequestCount(const CBlock&) {}; + virtual void ResetRequestCount(const uint256 &hash) {}; friend void ::RegisterValidationInterface(CValidationInterface*); friend void ::UnregisterValidationInterface(CValidationInterface*); friend void ::UnregisterAllValidationInterfaces(); @@ -59,7 +59,7 @@ struct CMainSignals { /** Notifies listeners that a key for mining is required (coinbase) */ boost::signals2::signal<void (boost::shared_ptr<CReserveScript>&)> ScriptForMining; /** Notifies listeners that a block has been successfully mined */ - boost::signals2::signal<void (const CBlock&)> BlockFound; + boost::signals2::signal<void (const uint256 &)> BlockFound; }; CMainSignals& GetMainSignals(); |