Browse Source

Bugfix: Instead of reporting "bitcoin-qt" for both bitcoind and Bitcoin-Qt, report "Satoshi" which is at least correct

0.8
Luke Dashjr 13 years ago
parent
commit
c170d03e03
  1. 2
      src/main.cpp

2
src/main.cpp

@ -21,7 +21,7 @@ using namespace boost;
// Name of client reported in the 'version' message. Report the same name // Name of client reported in the 'version' message. Report the same name
// for both bitcoind and bitcoin-qt, to make it harder for attackers to // for both bitcoind and bitcoin-qt, to make it harder for attackers to
// target servers or GUI users specifically. // target servers or GUI users specifically.
const std::string CLIENT_NAME("bitcoin-qt"); const std::string CLIENT_NAME("Satoshi");
CCriticalSection cs_setpwalletRegistered; CCriticalSection cs_setpwalletRegistered;
set<CWallet*> setpwalletRegistered; set<CWallet*> setpwalletRegistered;

Loading…
Cancel
Save