MarcoFalke
dad8c67d38
Merge #9768 : [qa] Add logging to test_framework.py
...
64c0800 Use logging in individual tests (John Newbery)
38ad281 Use logging in test_framework/comptool.py (John Newbery)
ff19073 Use logging in test_framework/blockstore.py (John Newbery)
2a9c7c7 Use logging in test_framework/util.py (John Newbery)
b0dec4a Remove manual debug settings in qa tests. (John Newbery)
af1363c Always enable debug log and microsecond logging for test nodes. (John Newbery)
6d0e325 Use logging in mininode.py (John Newbery)
553a976 Add logging to p2p-segwit.py (John Newbery)
0e6d23d Add logging to test_framework.py (John Newbery)
Tree-SHA512: 42ee2acbf444ec32d796f930f9f6e272da03c75e93d974a126d4ea9b2dbaa77cc57ab5e63ce3fd33d609049d884eb8d9f65272c08922d10f8db69d4a60ad05a3
2019-02-26 15:54:32 -06:00
PastaPastaPasta
07dcddb4ca
Backports 0.15 pr2 ( #2597 )
...
* Merge #9815 : Trivial: use EXIT_ codes instead of magic numbers
a87d02a use EXIT_ codes instead of magic numbers (Marko Bencun)
* Merge #9801 : Removed redundant parameter from mempool.PrioritiseTransaction
eaea2bb Removed redundant parameter from mempool.PrioritiseTransaction (gubatron)
* remove extra parameter (see 3a3745bb) in dash specific code
* Merge #9819 : Remove harmless read of unusued priority estimates
bc8fd12 Remove harmless read of unusued priority estimates (Alex Morcos)
* Merge #9766 : Add --exclude option to rpc-tests.py
c578408 Add exclude option to rpc-tests.py (John Newbery)
* Merge #9577 : Fix docstrings in qa tests
3f95a80 Fix docstrings in qa tests (John Newbery)
* Merge #9823 : qa: Set correct path for binaries in rpc tests
3333ad0 qa: Set correct path for binaries in rpc tests (MarcoFalke)
* Merge #9833 : Trivial: fix comments referencing AppInit2
ef9f495 Trivial: fix comments referencing AppInit2 (Marko Bencun)
* Merge #9612 : [trivial] Rephrase the definition of difficulty.
dc222f8 Trivial: Rephrase the definition of difficulty in the code. (Karl-Johan Alm)
* Merge #9847 : Extra test vector for BIP32
30aedcb BIP32 extra test vector (Pieter Wuille)
* Merge #9839 : [qa] Make import-rescan.py watchonly check reliable
864890a [qa] Make import-rescan.py watchonly check reliable (Russell Yanofsky)
Tree-SHA512: ea0e2b1d4fc8f35174c3d575fb751b428daf6ad3aa944fad4e3ddcc9195e4f17051473acabc54203b1d27cca64cf911b737ab92e986c40ef384410652e2dbea1
* Change back file params
2019-01-07 12:55:35 +03:00
UdjinM6
806d7f0496
Fix rpc tests broken by 2110 ( #2118 )
2018-06-12 21:37:31 +03:00
Alexander Block
bb20b4e7b5
Few cleanups after backporting ( #1903 )
...
* Remove remains of workaround that was needed while backporting
* Add missing closing round bracket to help string
* Remove now unnecessary .encode() calls in wallet.py
Now that we only support python3, we can fix this TODO.
2018-02-08 08:43:50 +03:00
Wladimir J. van der Laan
767f5e436b
Merge #9532 : Remove unused variables
...
90fd29b Remove unused int64_t nSinceLastSeen (practicalswift)
ac4a095 Remove unused Python variables (practicalswift)
2018-01-23 09:24:27 +01:00
MarcoFalke
d2a8ecc8db
Merge #9395 : Add test for -walletrejectlongchains
...
ffeb195 add test for -walletrejectlongchains (Alex Morcos)
2018-01-18 07:33:44 +01:00
Wladimir J. van der Laan
dc1df137e3
Merge #9262 : Prefer coins that have fewer ancestors, sanity check txn before ATMP
...
cee1612 reduce number of lookups in TransactionWithinChainLimit (Gregory Sanders)
af9bedb Test for fix of txn chaining in wallet (Gregory Sanders)
5882c09 CreateTransaction: Don't return success with too-many-ancestor txn (Gregory Sanders)
0b2294a SelectCoinsMinConf: Prefer coins with fewer ancestors (Gregory Sanders)
2018-01-18 07:31:22 +01:00
MarcoFalke
a9a2db9a53
Merge #9168 : [qa] add assert_raises_message to check specific error message
...
307acdd [qa] add assert_raises_message to check specific error message (mrbandrews)
2018-01-15 06:14:16 +01:00
MarcoFalke
23ac000008
Merge #8860 : [qa] util: Move wait_bitcoinds() into stop_nodes()
...
fa7c35c [qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
2018-01-12 09:57:56 +01:00
Alexander Block
205ff3519e
Fix wallet.py test by redirecting stderr to stdout
...
Changes in start_node args result in warnings being printed to stderr
2018-01-11 14:47:10 +01:00
Wladimir J. van der Laan
699db99321
Merge #8716 : [qa] wallet: Check legacy wallet as well
...
fa644d0 [qa] wallet: Check legacy wallet as well (MarcoFalke)
2018-01-11 13:19:32 +01:00
Wladimir J. van der Laan
2e51d82735
Merge #8201 : [qa] fundrawtransaction: Fix race, assert amounts
...
fae1d06 [qa] fundrawtransaction: Fix race, assert amounts (MarcoFalke)
fa26c42 [qa] util: Move check_fee_amount out of wallet.py (MarcoFalke)
2017-12-22 17:20:43 +01:00
MarcoFalke
bcecdcd8e9
Merge #8056 : [qa] Remove hardcoded "4 nodes" from test_framework
...
fad68f7 [qa] Reduce node count for some tests (MarcoFalke)
fac9349 [qa] Remove hardcoded "4 nodes" from test_framework (MarcoFalke)
2017-12-21 18:50:13 +01:00
MarcoFalke
a0afc3ee01
Merge #8038 : [qa, doc] Various minor fixes
...
fa83a5d [qa] wallet: Temporarily disable salvagewallet test (MarcoFalke)
fadd048 [doc] Link to clang-format in the developer notes (MarcoFalke)
fa72f7d [doc] Remove outdated line from listunspent RPC help, fix typo (MarcoFalke)
ac40ed7 Increase timeout waiting for pruned blk00000.dat (error10)
2017-12-21 18:50:13 +01:00
Wladimir J. van der Laan
25147c9dc7
Merge #7814 : [qa] Switch to py3
...
fa389d4 [qa] Switch to py3 (MarcoFalke)
2017-12-21 17:31:54 +01:00
Wladimir J. van der Laan
a8aeff143b
Merge #7801 : [qa] Remove misleading "errorString syntax"
...
ffff866 [qa] Remove misleading "errorString syntax" (MarcoFalke)
2017-12-20 14:45:12 +01:00
Wladimir J. van der Laan
760d58e3dc
Merge #7671 : [RPC] Add generatetoaddress rpc to mine to an address
...
d5c5c71 RPC tests for generatetoaddress (Andrew C)
fe00ca7 Create generatetoaddress rpc (Andrew C)
2017-12-19 13:18:30 +01:00
UdjinM6
3028af19f1
post-DIP0001 cleanup ( #1763 )
...
* post-DIP0001 cleanup
also fixes tests
* bump nMinimumChainWork and defaultAssumeValid
2017-12-07 12:43:23 +03:00
Ilya Savinov
b41f8d3dd6
fix instantsend-related RPC output ( #1628 )
...
* revert confirmations to its original meaning ("Blockchain Confirmations") and also remove bcconfirmations completely
* add new field instantlock (bool) to the RPC output of gettransaction, listtransactions and listsinceblock commands to indicate that tx was locked via InstantSend
* add optional `addlockconf` in addition to `minconf` parameter to all the commands where it makes sense
* fix `wallet.py` test and `vRPCConvertParams` set
* add addlockconf parameter for listreceivedbyaccount/listreceivedbyaddress commands
2017-09-20 23:34:54 +03:00
UdjinM6
790607b060
Fix wallet.py iand util.py after merging bitcoin 0.12
2016-08-26 13:42:52 +03:00
UdjinM6
6af7a58d92
Merge remote-tracking branch 'bitcoin/0.12' into mergebtc12, fix/dashify
...
NOTE: .travis.yml was mostly preserved, probably needs additional attention
2016-08-26 04:09:20 +03:00
Wladimir J. van der Laan
bf35424406
test: test utf-8 for labels in wallet
2016-05-31 04:31:20 +03:00
Joao Fonseca
6862627ce6
Add listunspent() test for spendable/unspendable UTXO
...
Github-Pull: #7822
Rebased-From: fa942c755ab513829dcab27487ba1e7ab5a806ee 5d217decc1145823a3c126658c82c60cf7dbfec8
2016-04-19 16:37:14 +02:00
MarcoFalke
28ba22c202
[qa] Remove misleading "errorString syntax"
...
Github-Pull: #7801
Rebased-From: ffff866da83209dcaa463d8b9539d3f539f83a97
2016-04-19 16:36:41 +02:00
MarcoFalke
ff9b436163
[qa] Bug fixes and refactor
...
Github-Pull: #7778
Rebased-From: fa524d9ddbad0a03f9eb974100fb3b6001045645 fa2cea163b49a97e2a18aa125e41170d60ce59cc faaa3c9b6546d9a64cece4ff0223f0b167feb6ff 444480649f08e6037f8ac178224b30a82e9ad72e
2016-04-05 11:55:07 +02:00
MarcoFalke
b1dd64bffe
[qa] wallet: Wait for reindex to catch up
...
Github-Pull: #7757
Rebased-From: fa3fafc96076afb15fa77e01d5f6aff88a333a7e
2016-04-05 11:53:51 +02:00
MarcoFalke
f23cb7c944
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock
...
Github-Pull: #7702
Rebased-From: fa4a52254178655f50e73b50153730a60ffafd32
2016-04-05 11:53:50 +02:00
MarcoFalke
6aae129a60
[qa] wallet: Print maintenance
...
Github-Pull: #7372
Rebased-From: facd288c31c387bb3582c32f767a730ece6e408a
2016-04-05 11:53:50 +02:00
MarcoFalke
ad8c743421
[qa] Extend tests
...
Github-Pull: #7684
Rebased-From: fa3a81af18347a1d3fed41aa89ee643cbf0e7abc fad7dc8a6c0ca9c067a249cf8896dd2e64703e48 fad8cfb893ac0ba83c6fc2367ade55bfe4fa75f6
2016-04-05 11:53:50 +02:00
MarcoFalke
d89fbfe899
[qa] rpc-test: Normalize assert()
...
Github-Pull: #7720
Rebased-From: fab3890156c849e6b04309152d7a9bfcfcb98396
2016-04-05 11:53:50 +02:00
UdjinM6
31ff9c2ff8
Fix rpc-tests, relies on PRs #715-#719
...
Closes #720
2016-03-06 18:16:02 +01:00
MarcoFalke
d8b062d752
[qa] Fix pyton syntax in rpc tests
...
Github-Pull: #7335
Rebased-From: 7777994846cdb9b9cf69e391a33eeed30393bbcf
2016-01-18 10:46:46 +01:00
MarcoFalke
1ed938b5fe
[qa] wallet: Check if maintenance changes the balance
...
- [qa] Cleanup wallet.py test
- [qa] check if wallet or blochchain maintenance changes the balance
- [walletdb] Add missing LOCK() in Recover() for dummyWallet
Github-Pull: #7229
Rebased-From: fa0765d433eb6d44a5cbec44f136b62814c663e5 fa14d994843fe2d700c977653cd3133d0a77cb67 fa33d9740c9b0d1071094ab6c1736f27a7090c95
2016-01-07 09:19:25 +01:00
MarcoFalke
333e1eaeea
Bump copyright headers to 2015
...
- Bump copyright headers to 2015
- [devtools] Rewrite fix-copyright-headers.py
- [devtools] Use git pretty-format for year parsing
Github-Pull: #7205
Rebased-From: fa6ad855e9159b2247da4fa0054f32fa181499ab fa24439ff3d8ab5b9efaf66ef4dae6713b88cb35 fa71669452e57039e4270fd2b33a0e0e1635b813
2016-01-05 14:13:33 +01:00
MarcoFalke
fa506c0c9b
[wallet] Add rpc tests to verify fee calculations
2015-11-28 22:52:13 +01:00
Jonas Schnelli
7d226b7ca0
[QA] add testcases for parsing strings as values
2015-07-27 13:55:46 +02:00
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
2015-05-18 15:25:45 +02:00
Corinne Dashjr
7e6d23b171
Bugfix: Grammar fixes
2015-05-01 11:21:27 +00:00
Jonas Schnelli
f89b092d75
add rpc test for listunspents support for zero value txouts
2015-04-21 02:25:35 -07:00
Wladimir J. van der Laan
4ac79f99b0
Fix travis after merging #5957
...
New wallet tests have been added in the meantime and need to be updated
to use `generate` instead of `setgenerate`.
2015-04-09 17:36:10 +02:00
Wladimir J. van der Laan
57026a29bc
Merge pull request #5957
...
e2edf95
Bugfix: make CreateNewBlock return pindexPrev (Pieter Wuille)
6b04508
Introduce separate 'generate' RPC call (Pieter Wuille)
0df67f1
Simplify hash loop code (Pieter Wuille)
2015-04-09 15:23:09 +02:00
Pieter Wuille
6b04508e37
Introduce separate 'generate' RPC call
2015-04-01 11:47:10 -07:00
Jonas Schnelli
77650cc9f4
add -walletbroadcast=0 rpc test
2015-04-01 13:03:39 +02:00
Gavin Andresen
0f5954c434
Regression test for ResendWalletTransactions
...
Adds a regression test for the wallet's ResendWalletTransactions function, which uses a new, hidden RPC command "resendwallettransactions."
I refactored main's Broadcast signal so it is passed the best-block time, which let me remove a global variable shared between main.cpp and the wallet (nTimeBestReceived).
I also manually tested the "rebroadcast unconfirmed every half hour or so" functionality by:
1. Running bitcoind -connect=0.0.0.0:8333
2. Creating a couple of send-to-self transactions
3. Connect to a peer using -addnode
4. Waited a while, monitoring debug.log, until I see:
```2015-03-23 18:48:10 ResendWalletTransactions: rebroadcast 2 unconfirmed transactions```
One last change: don't bother putting ResendWalletTransactions messages in debug.log unless unconfirmed transactions were actually rebroadcast.
2015-03-24 15:29:20 -04:00
Luke Dashjr
1d9b378c30
qa/rpc-tests/wallet: Tests for sendmany
2015-03-13 11:04:25 +01:00
Cozz Lovan
292623adf5
Subtract fee from amount
...
Fixes #2724 and #1570 .
Adds the
automatically-subtract-the-fee-from-the-amount-and-send-whats-left
feature to the GUI and RPC (sendtoaddress,sendmany).
2015-03-13 11:04:18 +01:00
bikinibabe
ee932025c1
Changed pronouns for correctness and inclusivity
2015-01-31 17:38:28 -05:00
Jonas Schnelli
12d927a391
RPC test for immature balance
2014-12-25 20:15:10 -08:00
Michael Ford
78253fcbad
Remove references to X11 licence
2014-12-16 15:56:50 +08:00
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
2014-11-27 00:02:28 -05:00