diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2015-04-03 17:42:06 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2015-04-04 12:58:14 +0200 |
commit | f14e687feb554e64bf38715c001da0c0954be694 (patch) | |
tree | 390dd0216e1b94411e36a80f94864f9d160a00fe /src/alert.h | |
parent | 2dc679d22f821d26a9f8a7eef6d095ef21d1b27c (diff) |
Chainparams: Decouple CAlert from CChainParams
Diffstat (limited to 'src/alert.h')
-rw-r--r-- | src/alert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alert.h b/src/alert.h index af42171af5..746967c4af 100644 --- a/src/alert.h +++ b/src/alert.h @@ -100,8 +100,8 @@ public: bool AppliesTo(int nVersion, std::string strSubVerIn) const; bool AppliesToMe() const; bool RelayTo(CNode* pnode) const; - bool CheckSignature() const; - bool ProcessAlert(bool fThread = true); // fThread means run -alertnotify in a free-running thread + bool CheckSignature(const std::vector<unsigned char>& alertKey) const; + bool ProcessAlert(const std::vector<unsigned char>& alertKey, bool fThread = true); // fThread means run -alertnotify in a free-running thread static void Notify(const std::string& strMessage, bool fThread); /* |