diff options
| author | Jorge Timón <[email protected]> | 2015-04-03 17:42:06 +0200 |
|---|---|---|
| committer | Jorge Timón <[email protected]> | 2015-04-04 12:58:14 +0200 |
| commit | f14e687feb554e64bf38715c001da0c0954be694 (patch) | |
| tree | 390dd0216e1b94411e36a80f94864f9d160a00fe /src/alert.h | |
| parent | Docs: Use new Bitcoin.org download URLs (diff) | |
| download | discoin-f14e687feb554e64bf38715c001da0c0954be694.tar.xz discoin-f14e687feb554e64bf38715c001da0c0954be694.zip | |
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 af42171af..746967c4a 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); /* |