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

This commit is contained in:
Luke Dashjr 2012-02-22 10:36:19 -05:00
parent 0d56f11ada
commit c170d03e03

View File

@ -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;