aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-03-04Copyright: Update to 2022mj-xmr2-2/+2
2020-10-28Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr1-1/+1
monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-05-06Update copyright year to 2020SomaticFanatic2-2/+2
Update copyright year to 2020
2019-04-03tests: add a few try/catch in main to shut coverity upmoneromooo-monero1-0/+3
2019-03-05Update 2019 copyrightbinaryFate2-2/+2
2018-11-15libwallet_api_tests: add missing dependency on Boost Locale and ICUstoffu1-0/+2
2018-03-15Fix typos in various filesDimitris Apostolou1-3/+3
2018-03-06Wallet API: make nettype non-defaulted to disambiguate from deprecated ↵stoffu1-51/+51
versions (and make libwallet_api_tests compilable)
2018-03-05Correct spelling mistakes.Edward Betts2-2/+2
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-0/+2
The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
2018-01-26Update 2018 copyrightxmr-eric2-2/+2
2017-11-16split wallet and wallet_apimoneromooo-monero2-1/+2
This speeds up building a lot when wallet2.h (or something it includes) changes, since all the API includes wallet2.h
2017-10-29fix libwallet api test after api changeJaquee1-8/+8
2017-10-21Initialize openssl on startupmoneromooo-monero1-0/+2
2017-10-07Subaddresseskenshi841-55/+59
2017-09-25libwallet_api_tests: initialize newblock_triggered on resetmoneromooo-monero1-1/+1
CID 161873
2017-09-21build: auto update version info without manually deleting version.hstoffu1-0/+1
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni2-2/+2
2017-02-16switch to boost::thread for mingw buildLee Clagett2-29/+32
2017-02-04update wallet api testsJaquee1-7/+8
2017-01-16Change logging to easylogging++moneromooo-monero1-0/+1
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
2017-01-12Wallet2 + API: Callbacks for unconfirmed transfersJaquee1-0/+10
2016-12-13Bitmonero namespace renamed Monero. Bitmonero namespace alias added so that ↵Randi Joseph1-136/+136
third party uses of the wallet api can transition.
2016-10-06libwallet_api: test: adjusted mixin_count=4 as it's minumum allowedIlya Kitaev1-3/+4
2016-10-06libwallet_api: some renamingsIlya Kitaev1-6/+8
2016-10-01libwallet_api: do not use fast-refresh on recoveryIlya Kitaev1-11/+53
2016-09-30libwallet_api: fast-refresh in case of opening non-synced walletIlya Kitaev1-1/+25
2016-09-30libwallet_api: fast-refresh for new walletIlya Kitaev1-3/+28
2016-09-28libwallet_api: test for create/init wallet on mainnetIlya Kitaev1-3/+50
2016-09-28libwallet_api: tests: fixed WalletCallbackReceived testIlya Kitaev1-3/+7
2016-09-27libwallet_api: tests: test fixed according implementationIlya Kitaev1-1/+0
2016-09-27libwallet_api: tests: compilation errors fixedIlya Kitaev1-2/+2
2016-09-26wallet2_api: added Wallet::daemonBlockChainHeight()Ilya Kitaev2-5/+21
2016-09-26libwallet_api: Wallet::blockChainHeight, WalletListener::newBlockIlya Kitaev1-2/+49
2016-09-23libwallet_api: simple documentation on testing environmentIlya Kitaev2-3/+25
2016-09-22libwallet_api: tests: env variables for WALLETS_ROOT_DIR andIlya Kitaev1-13/+36
TESTNET_DAEMON_ADDRESS
2016-09-22libwallet_api: tests: changed testwallets path, uncommitted all testsIlya Kitaev1-12/+14
2016-09-20wallet2_api: getter and setter for "refresh interval"Ilya Kitaev1-6/+13
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-1/+5
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2016-09-03fix remaining bitmonero and simplewallet bitsRiccardo Spagni10-10/+10
2016-08-30tests: cmake: fix building with system gtestredfish1-1/+1
Issues #980 #983
2016-08-23libwallet_api: tests: checking for result while opening walletIlya Kitaev1-4/+6
2016-08-23libwallet_api: Wallet::amountFromString fixedIlya Kitaev1-0/+23
2016-08-22libwallet_api: tests: removed logged passwordsIlya Kitaev1-2/+2
2016-08-22libwallet_api: do not store wallet on close if status is not okIlya Kitaev1-2/+67
2016-07-18wallet_api: async init, Wallet::connected status, log levelIlya Kitaev1-20/+81
2016-07-18WalletListener functionalityIlya Kitaev2-39/+90
2016-07-18Transaction fee multiplier aka priority integragedIlya Kitaev1-0/+42
2016-06-23Wallet: payment id and integrated addressIlya Kitaev1-3/+76
2016-06-23Wallet::createTransaction: added mixin_count paramIlya Kitaev1-1/+40
2016-06-23double/string to monero integer convertion methodsIlya Kitaev1-2/+14
2016-06-23wallet::default_mixin exposed to public interface asIlya Kitaev1-0/+2
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
2016-06-23Wallet::filename, Wallet::keysFilename, tests for move walletIlya Kitaev1-0/+29
2016-06-23Wallet API : WalletManager::findWallets() addedIlya Kitaev4-15/+29
2016-06-23scripts for faster test wallets generationIlya Kitaev11-19/+120
2016-06-23regenerated test wallets, basic functions got brokenIlya Kitaev1-17/+20
2016-06-23WalletListener::moneyReceived testIlya Kitaev1-12/+38
2016-06-23WalletListener::moneySpent testIlya Kitaev1-53/+154
2016-06-23TransactionHistory continuedIlya Kitaev1-11/+55
2016-06-23Wallet API : transaction history in progressIlya Kitaev1-0/+28
2016-06-23Wallet::createTransaction API introducedIlya Kitaev1-3/+11
Transaction API continued TODOs for Transaction/Transfer interface
2016-06-23Wallet::transfer in progressIlya Kitaev1-0/+16
2016-06-23Wallet::refresh + testsIlya Kitaev1-0/+12
2016-06-23testnet option, Wallet::balance(), Wallet::unlockedBalance()Ilya Kitaev1-11/+12
2016-06-23- testnet option added to api;Ilya Kitaev1-24/+44
2016-06-23wallet2::store() implemented within wallet2::store_toIlya Kitaev1-0/+25
2016-06-20Wallet::createTransaction: added mixin_count paramIlya Kitaev1-1/+40
2016-06-16double/string to monero integer convertion methodsIlya Kitaev1-2/+14
2016-06-10wallet::default_mixin exposed to public interface asIlya Kitaev1-0/+2
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
2016-06-10Wallet::filename, Wallet::keysFilename, tests for move walletIlya Kitaev1-0/+29
2016-06-03Wallet API : WalletManager::findWallets() addedIlya Kitaev4-15/+29
2016-06-01scripts for faster test wallets generationIlya Kitaev11-19/+120
2016-05-27regenerated test wallets, basic functions got brokenIlya Kitaev1-17/+20
2016-05-17WalletListener::moneyReceived testIlya Kitaev1-12/+38
2016-05-16WalletListener::moneySpent testIlya Kitaev1-53/+154
2016-04-29TransactionHistory continuedIlya Kitaev1-11/+55
2016-04-22Wallet API: transaction history in progressIlya Kitaev1-4/+4
2016-04-22Wallet API : transaction history in progressIlya Kitaev1-0/+28
2016-04-12TODOs for Transaction/Transfer interfaceIlya Kitaev1-4/+4
2016-04-06Transaction API continuedIlya Kitaev1-0/+2
2016-04-05Wallet::createTransaction API introducedIlya Kitaev1-2/+8
2016-04-04Wallet::transfer() continuedIlya Kitaev1-0/+16
2016-03-31Wallet::refresh + testsIlya Kitaev1-0/+12
2016-03-31testnet option, Wallet::balance(), Wallet::unlockedBalance()Ilya Kitaev1-11/+12
2016-03-25- testnet option added to api;Ilya Kitaev1-24/+44
2016-03-21wallet2::store() implemented within wallet2::store_toIlya Kitaev1-0/+25
2016-03-16Wallet::store_to(path, password) implemented;Ilya Kitaev1-1/+64
2016-03-16Wallet::address implementedIlya Kitaev1-0/+8
2016-03-16WalletManager::recoveryWallet implementedIlya Kitaev1-5/+14
2016-03-16Wallet::setPassword() method for wallet2_apiIlya Kitaev1-4/+22
2016-03-16changes in wallet2_api + implemented WalletManager::openWalletIlya Kitaev1-5/+25
2016-03-16get_seed() included to interfaceIlya Kitaev1-9/+34
2016-03-16tests for wallet2_apiIlya Kitaev2-0/+128