Definition at line 101 of file main.cpp.
◆ deleteDir()
| void Utils::deleteDir |
( |
const std::string & | path | ) |
|
|
inlinestatic |
Definition at line 111 of file main.cpp.
112 {
113 std::cout << "** removing dir recursively: " << path << std::endl;
114 boost::filesystem::remove_all(path);
115 }
◆ deleteWallet()
| void Utils::deleteWallet |
( |
const std::string & | walletname | ) |
|
|
inlinestatic |
Definition at line 103 of file main.cpp.
104 {
105 std::cout << "** deleting wallet: " << walletname << std::endl;
106 boost::filesystem::remove(walletname);
107 boost::filesystem::remove(walletname + ".address.txt");
108 boost::filesystem::remove(walletname + ".keys");
109 }
◆ get_wallet_address()
| std::string Utils::get_wallet_address |
( |
const std::string & | filename, |
|
|
const std::string & | password ) |
|
inlinestatic |
Definition at line 131 of file main.cpp.
132 {
137 return result;
138 }
std::string mainAddress() const
static WalletManager * getWalletManager()
virtual bool closeWallet(Wallet *wallet, bool store=true)=0
Closes wallet. In case operation succeeded, wallet object deleted. in case operation failed,...
virtual Wallet * openWallet(const std::string &path, const std::string &password, NetworkType nettype, uint64_t kdf_rounds=1, WalletListener *listener=nullptr)=0
Opens existing wallet.
◆ print_transaction()
Definition at line 117 of file main.cpp.
118 {
119
120 std::cout << "d: "
122 <<
", pe: " << (t->
isPending() ?
"true" :
"false")
126 <<
", h: " << t->
hash()
128 << std::endl;
129 }
virtual bool isPending() const =0
virtual std::string paymentId() const =0
virtual uint64_t fee() const =0
virtual std::string hash() const =0
transaction_id
virtual uint64_t blockHeight() const =0
virtual int direction() const =0
virtual uint64_t amount() const =0
static std::string displayAmount(uint64_t amount)
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/libwallet_api_tests/main.cpp