monero/tests/libwallet_api_tests/scripts
2018-03-15 18:25:38 +02:00
..
create_wallets.sh libwallet_api: simple documentation on testing environment 2016-09-23 23:35:57 +03:00
mining_start.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
mining_stop.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
open_wallet_1.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
open_wallet_2.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
open_wallet_3.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
open_wallet_4.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
open_wallet_5.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
open_wallet_miner.sh fix remaining bitmonero and simplewallet bits 2016-09-03 22:03:44 +02:00
README.md Fix typos in various files 2018-03-15 18:25:38 +02:00
send_funds.sh wallet2_api: added Wallet::daemonBlockChainHeight() 2016-09-26 23:19:25 +03:00

Running libwallet_api tests

Environment for the tests

  • Running monero node, linked to private/public testnet. By default, tests expect daemon running at localhost:38081, can be overridden with environment variable TESTNET_DAEMON_ADDRESS=<your_daemon_address> Manual explaining how to run private testnet.

  • Directory with pre-generated wallets (wallet_01.bin, wallet_02.bin,...,wallet_06.bin, some of these wallets might not be used in the tests currently). By default, tests expect these wallets to be in /var/monero/testnet_pvt. Directory can be overriden with environment variable WALLETS_ROOT_DIR=<your_directory_with_wallets>. Directory and files should be writable for the user running tests.

Generating test wallets

  • create_wallets.sh - this script will create wallets (wallet_01.bin, wallet_02.bin,...,wallet_06.bin) in current directory. when running first time, please uncomment line #create_wallet wallet_m to create miner wallet as well. This wallet should be used for mining and all test wallets supposed to be seed from this miner wallet

  • mining_start.sh and mining_stop.sh - helper scripts to start and stop mining on miner wallet

  • send_funds.sh - script for seeding test wallets. Please run this script when you have enough money on miner wallet