aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_basic.py
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Add wallet_balance.pyJohn Newbery2018-11-301-13/+0
| | | | | | | | Adds a test specifically to test the wallet's getbalance and getunconfirmedbalance RPCs. Github-Pull: #14845 Rebased-From: c1825b9d398b31967887c459c0fad9cf56cf95c6
* qa: Run all tests even if wallet is not compiledMarcoFalke2018-10-241-0/+3
| | | | | Github-Pull: #14180 Rebased-From: fac95398366f644911b58f1605e6bc37fb76782d
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* Merge #13566: Fix get balancePieter Wuille2018-07-131-0/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 702ae1e21a [RPC] [wallet] allow getbalance to use min_conf and watch_only without accounts. (John Newbery) cf15761f6d [wallet] GetBalance can take a min_depth argument. (John Newbery) 0f3d6e9ab7 [wallet] factor out GetAvailableWatchOnlyBalance() (John Newbery) 7110c830f8 [wallet] deduplicate GetAvailableCredit logic (John Newbery) ef7bc8893c [wallet] Factor out GetWatchOnlyBalance() (John Newbery) 4279da4785 [wallet] GetBalance can take an isminefilter filter. (John Newbery) Pull request description: #12953 inadvertently removed the functionality to call `getbalance "*" <int> <bool>` to get the wallet's balance with either minconfs or include_watchonly. This restores that functionality (when `-deprecatedrpc=accounts`), and also makes it possible to call ``getbalance minconf=<int> include_watchonly=<bool>` when accounts are not being used. Tree-SHA512: 67e84de9291ed6d34b23c626f4dc5988ba0ae6c99708d02b87dd3aaad3f4b6baa6202a66cc2dadd30dd993a39de8036ee920fcaa8cbb1c5dfe606e6fac183344
| * [RPC] [wallet] allow getbalance to use min_conf and watch_only without accounts.John Newbery2018-06-291-0/+9
| |
* | [qa] wallet_basic: Specify minimum required amount for listunspentMarcoFalke2018-06-251-2/+2
|/
* Merge #13160: wallet: Unlock spent outputsWladimir J. van der Laan2018-06-241-0/+9
|\ | | | | | | | | | | | | | | | | | | | | fd9b3a71824e33728f267e6f288b6224ad1047e1 test: Output should be unlocked when spent (João Barbosa) 54c3bb4cf805ccee91efb9f8cdadea87e0797989 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes #12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
| * test: Output should be unlocked when spentJoão Barbosa2018-05-251-0/+9
| |
* | [tests] Remove 'account' API from wallet functional testsJohn Newbery2018-05-021-17/+15
|/ | | | | | | | | | | | | Removes usage of account API from the following functional tests: - wallet_listreceivedby.py - wallet_basic.py - wallet_keypool_topup.py - wallet_txn_clone.py - wallet_listsinceblock.py - wallet_import_rescan.py - wallet_listtransactions.py - wallet_txn_doublespend.py
* [tests] Fix flake8 warnings in several wallet functional testsJohn Newbery2018-05-011-77/+88
| | | | | | | | | | | | | This commit fixes flake8 warnings in the following functional tests: - wallet_listreceivedby.py - wallet_basic.py - wallet_txn_clone.py - wallet_listsinceblock.py - wallet_import_rescan.py - wallet_listtransactions.py - wallet_importprunedfunds.py - wallet_txn_doublspend.py
* [tests] Set -deprecatedrpc=accounts in testsJohn Newbery2018-04-161-5/+6
| | | | | | Future commits will deprecate the accounts RPC methods, arguments and return objects. Set the -deprecatedrpc=accounts switch now so tests don't break in intermediate commits.
* Merge #12716: Fix typos and cleanup in various filesMarcoFalke2018-03-211-1/+1
|\ | | | | | | | | | | | | | | | | | | 4d9b4256d8 Fix typos (Dimitris Apostolou) Pull request description: Unfortunately I messed up my repo while trying to squash #12593 so I created a PR with just the correct fixes. Tree-SHA512: 295d77b51bd2a9381f1802c263de7ffb2edd670d9647391e32f9a414705b3c8b483bb0e469a9b85ab6a70919ea13397fa8dfda2aea7a398b64b187f178fe6a06
| * Fix typosDimitris Apostolou2018-03-211-1/+1
| |
* | test: Use wait_until in tests where time was used for pollingBen Woosley2018-03-151-2/+2
|/
* scripted-diff: change signrawtransaction to signrawtransactionwithwallet in ↵Andrew Chow2018-02-171-3/+3
| | | | | | | | | tests -BEGIN VERIFY SCRIPT- sed -i 's/\<signrawtransaction\>/signrawtransactionwithwallet/g' test/functional/*.py sed -i 's/\<signrawtransaction\>/signrawtransactionwithwallet/g' test/functional/test_framework/*.py -END VERIFY SCRIPT-
* scripted-diff: validateaddress to getaddressinfo in testsAndrew Chow2018-02-161-1/+1
| | | | | | | | | Change all instances of validateaddress to getaddressinfo since it seems that no test actually uses validateaddress for actually validating addresses. -BEGIN VERIFY SCRIPT- find ./test/functional -path '*py' -not -path ./test/functional/wallet_disable.py -not -path ./test/functional/rpc_deprecated.py -not -path ./test/functional/wallet_address_types.py -exec sed -i'' -e 's/validateaddress/getaddressinfo/g' {} \; -END VERIFY SCRIPT-
* Create getaddressinfo RPC and deprecate parts of validateaddressAndrew Chow2018-02-161-1/+10
| | | | | | | | | | | | | Moves the parts of validateaddress which require the wallet into getaddressinfo which is part of the wallet RPCs. Mark those parts of validateaddress which require the wallet as deprecated. Validateaddress will call getaddressinfo for the data that both share for right now. Moves IsMine functions to libbitcoin_common and then links libbitcoin_wallet before libbitcoin_common in order to prevent linker errors since IsMine is no longer used in libbitcoin_server.
* [tests] Rename wallet_* functional tests.Anthony Towns2018-01-251-0/+446