mirror of
https://github.com/monero-project/monero.git
synced 2026-01-27 06:44:33 +01:00
Bitmonero namespace renamed Monero. Bitmonero namespace alias added so that third party uses of the wallet api can transition.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
AddressBook::~AddressBook() {}
|
||||
|
||||
@@ -126,4 +126,6 @@ AddressBookImpl::~AddressBookImpl()
|
||||
clearRows();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "wallet/wallet2_api.h"
|
||||
#include "wallet/wallet2.h"
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
class AddressBookRow;
|
||||
class WalletImpl;
|
||||
@@ -65,3 +65,5 @@ private:
|
||||
|
||||
}
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
PendingTransaction::~PendingTransaction() {}
|
||||
|
||||
@@ -149,3 +149,5 @@ uint64_t PendingTransactionImpl::txCount() const
|
||||
|
||||
}
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
class WalletImpl;
|
||||
class PendingTransactionImpl : public PendingTransaction
|
||||
@@ -64,3 +64,5 @@ private:
|
||||
|
||||
|
||||
}
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
using namespace epee;
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
TransactionHistory::~TransactionHistory() {}
|
||||
|
||||
@@ -209,3 +209,5 @@ void TransactionHistoryImpl::refresh()
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "wallet/wallet2_api.h"
|
||||
#include <boost/thread/shared_mutex.hpp>
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
class TransactionInfo;
|
||||
class WalletImpl;
|
||||
@@ -57,3 +57,5 @@ private:
|
||||
|
||||
}
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
TransactionInfo::~TransactionInfo() {}
|
||||
|
||||
@@ -110,3 +110,5 @@ const std::vector<TransactionInfo::Transfer> &TransactionInfoImpl::transfers() c
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
class TransactionHistoryImpl;
|
||||
|
||||
@@ -73,3 +73,5 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
namespace Utils {
|
||||
|
||||
|
||||
@@ -81,3 +81,5 @@ bool isAddressLocal(const std::string &address)
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
using namespace std;
|
||||
using namespace cryptonote;
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
namespace {
|
||||
// copy-pasted from simplewallet
|
||||
@@ -1059,3 +1059,5 @@ void WalletImpl::doInit(const string &daemon_address, uint64_t upper_transaction
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <boost/thread/condition_variable.hpp>
|
||||
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
class TransactionHistoryImpl;
|
||||
class PendingTransactionImpl;
|
||||
class AddressBookImpl;
|
||||
@@ -156,5 +156,7 @@ private:
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace epee {
|
||||
unsigned int g_test_dbg_lock_sleep = 0;
|
||||
}
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
Wallet *WalletManagerImpl::createWallet(const std::string &path, const std::string &password,
|
||||
const std::string &language, bool testnet)
|
||||
@@ -375,3 +375,5 @@ void WalletManagerFactory::setLogLevel(int level)
|
||||
|
||||
|
||||
}
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "wallet/wallet2_api.h"
|
||||
#include <string>
|
||||
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
class WalletManagerImpl : public WalletManager
|
||||
{
|
||||
@@ -61,3 +61,5 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <iostream>
|
||||
|
||||
// Public interface for libwallet library
|
||||
namespace Bitmonero {
|
||||
namespace Monero {
|
||||
|
||||
namespace Utils {
|
||||
bool isAddressLocal(const std::string &hostaddr);
|
||||
@@ -576,3 +576,5 @@ struct WalletManagerFactory
|
||||
|
||||
}
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user