Skip to content

Commit

Permalink
Merge pull request #179 from BTCPrivate/BlueSilver22-patch-1
Browse files Browse the repository at this point in the history
Update sendalert.cpp to BTCP specifics
  • Loading branch information
BlueSilver22 authored Apr 28, 2018
2 parents d6e7245 + cff4bc5 commit 4045199
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/sendalert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,10 @@ void ThreadSendAlert()
alert.strRPCError = alert.strStatusBar;

// Set specific client version/versions here. If setSubVer is empty, no filtering on subver is done:
// alert.setSubVer.insert(std::string("/MagicBean:0.7.2/"));
const std::vector<std::string> useragents = {"MagicBean", "BeanStalk", "AppleSeed", "EleosZcash"};
// alert.setSubVer.insert(std::string("/BTCP:1.0.12/"));
const std::vector<std::string> useragents = {"BTCP"};

BOOST_FOREACH(const std::string& useragent, useragents) {
alert.setSubVer.insert(std::string("/"+useragent+":1.0.3/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.4/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.5/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.6/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.7/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.7-1/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.8/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.10-1/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.10-2/"));
alert.setSubVer.insert(std::string("/"+useragent+":1.0.11/"));
Expand Down

0 comments on commit 4045199

Please sign in to comment.