Obfuscated the bitmessage stuff for release builds.
This commit is contained in:
parent
6f776a6be7
commit
c5bb8547e0
@ -12,7 +12,11 @@ namespace Components
|
||||
|
||||
BitMessage::BitMessage()
|
||||
{
|
||||
Logger::Print("Initializing BitMessage...\n");
|
||||
#ifdef DEBUG
|
||||
Logger::Print("Initializing BitMessage...\n");
|
||||
#endif // DEBUG
|
||||
|
||||
|
||||
|
||||
BitMessage::BMClient = new BitMRC(BITMESSAGE_OBJECT_STORAGE_FILENAME, BITMESSAGE_KEYS_FILENAME);
|
||||
BitMessage::BMClient->init();
|
||||
@ -343,8 +347,9 @@ namespace Components
|
||||
|
||||
bool BitMessage::InitAddr()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
Logger::Print("Generating BM address...\n");
|
||||
|
||||
#endif
|
||||
Addr myAddress;
|
||||
if (!myAddress.generateRandom())
|
||||
{
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
#ifndef DISABLE_BITMESSAGE
|
||||
|
||||
#define BITMESSAGE_KEYS_FILENAME std::string("players/bmkeys.dat")
|
||||
#define BITMESSAGE_OBJECT_STORAGE_FILENAME std::string("players/bmstore.dat")
|
||||
#define BITMESSAGE_KEYS_FILENAME std::string("players/bmk.dat")
|
||||
#define BITMESSAGE_OBJECT_STORAGE_FILENAME std::string("players/storage.dat")
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user