John Newbery
c9cc76dcaa
[tests] Remove is_network_split from funtional test cases
8 years ago
Gregory Sanders
7c588637d4
[Wallet] unset change position when there is no change on exact match
8 years ago
NicolasDorier
dd5be2c7b3
[QA] Renaming rawTx into rawtx
8 years ago
Nicolas Dorier
803e6a3503
[QA] Fix typo in fundrawtransaction test
...
Ping @jnewbery introduced on dab804c18a
8 years ago
Jonas Schnelli
1b3b5c6f8f
Slightly modify fundrawtransaction.py test (change getnewaddress() into getrawchangeaddress())
8 years ago
Jonas Schnelli
79df9df348
Switch to 100% for the HD internal keypool size
8 years ago
Jonas Schnelli
02592f4c5e
[Wallet] split the keypool in an internal and external part
8 years ago
practicalswift
389745901a
[tests] Remove unused variables
8 years ago
John Newbery
c28ee91db0
Rename rpc-tests directory to functional
8 years ago
John Newbery
00902c48cd
Rename qa directory to test
8 years ago
John Newbery
64c080051b
Use logging in individual tests
8 years ago
John Newbery
dab804c18a
Return correct error codes in fundrawtransaction().
...
The fundrawtransaction() RPC was returning misleading or incorrect error
codes (for example RPC_INTERNAL_ERROR when funding the transaction
failed). This commit fixes those error codes:
- RPC_INTERNAL_ERROR should not be returned for application-level
errors, only for genuine internal errors such as corrupted data.
That error code has been replaced with RPC_WALLET_ERROR.
This commit also updates the test cases to explicitly test the error code.
8 years ago
John Newbery
3f95a806b1
Fix docstrings in qa tests
...
This commit fixes the module-level docstrings for the tests and helper
modules in qa. Many of these tests were uncommented previously - this
commit ensures that every test case has at least a minimum level of
commenting.
8 years ago
MarcoFalke
fa4cd2e998
qa: Check return code when stopping nodes
...
This includes work by jnewbery
8 years ago
practicalswift
5cdf10611f
Remove redundant semicolons in Python code
8 years ago
Jonas Schnelli
9eb325d079
[QA] Add test for fundrawtransactions new reserveChangeKey option
8 years ago
Chris Moore
453bda63dd
Add 'subtractFeeFromOutputs' option to 'fundrawtransaction'.
8 years ago
Alex Morcos
9359f8ad3b
Wallet needs to stay unlocked for whole test
8 years ago
Jonas Schnelli
1a6eacbf3b
[QA] add fundrawtransaction test on a locked wallet with empty keypool
8 years ago
MarcoFalke
fa7c35c4ec
[qa] util: Move wait_bitcoinds() into stop_nodes()
8 years ago
MarcoFalke
fa324653ab
[qa] fundrawtransaction: Create get_unspent()
9 years ago
MarcoFalke
fa8ce3b670
[qa] assert 'changePosition out of bounds'
9 years ago
MarcoFalke
fae1d063fc
[qa] fundrawtransaction: Fix race, assert amounts
9 years ago
MarcoFalke
fa7f4f577c
[rpc] fundrawtransaction feeRate: Use BTC/kB
...
Also introduce UniValueType
UniValueType is a wrapper for UniValue::VType which allows setting
a typeAny flag. This flag indicates the type does not matter.
(Used by RPCTypeCheckObj)
9 years ago
MarcoFalke
faf82e8fc8
[rpc] fundrawtransaction: Fix help text and interface
9 years ago
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
Jonas Schnelli
3b35e4896b
[RPC] add feerate option to fundrawtransaction
9 years ago
João Barbosa
af4fe7fd12
Add change options to fundrawtransaction
9 years ago
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
MarcoFalke
fa2cea163b
[qa] rpc-tests: Properly use integers, floats
9 years ago
MarcoFalke
fa524d9ddb
[qa] Use python2/3 syntax
9 years ago
MarcoFalke
fab3890156
[qa] rpc-test: Normalize assert()
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
Alex Morcos
bebe58b748
SQUASHME: Fix rpc tests that assumed fallback to minRelayTxFee
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
MarcoFalke
0d8b1759d2
[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase
9 years ago
Matt Corallo
6bdb474dc9
Implement watchonly support in fundrawtransaction
...
Some code and test cases stolen from
Bryan Bishop <bryan@ledgerx.com> (pull #5524 ).
9 years ago
zathras-crypto
0aad1f13b2
Exempt unspendable transaction outputs from dust checks
...
Since unspendable outputs can't be spent, there is no threshold at which it would be uneconomic to spend them.
This primarily targets transaction outputs with `OP_RETURN`.
---
Initially based on:
commit 9cf0ae26350033d43d5dd3c95054c0d1b1641eda
Author: zathras-crypto <zathrasc@gmail.com>
Date: Wed Mar 25 02:04:02 2015 -0700
Changes:
- cherry-picked on top of bitcoin:master
- added RPC test for fundrawtransaction
9 years ago
Jonas Schnelli
9da8fc8f26
[QA] remove rawtransactions.py from the extended test list
...
rawtransactions.py is already in the standard test list
9 years ago
Jonas Schnelli
6ed38b0b8f
[QA] fix possible reorg issue in rawtransaction.py/fundrawtransaction.py RPC test
...
- added missing mempool sync between block generations
9 years ago
Jonas Schnelli
208589514c
fundrawtransaction tests
10 years ago