MarcoFalke
dc38a53d56
[qa] Move create_tx() to util.py
...
(cherry picked from commit fa8cd46f39
)
2016-06-10 00:33:26 +02:00
MarcoFalke
c0fe8b5c7d
[qa] smartfees: Properly use ordered dict
...
Github-Pull: #7980
Rebased-From: fa17f93fbd
43bbcd0753
2016-06-10 00:25:22 +02:00
MarcoFalke
493b89e959
[qa] test_framework: Properly print exceptions and assert empty dict
...
Github-Pull: #7951
Rebased-From: 5555528b47
fada064f67
2016-06-10 00:22:41 +02:00
Suhas Daftuar
7a8348994b
Tests: Fix deserialization of reject messages
...
Github-Pull: #7912
Rebased-From: 807fa47a1e
2016-06-10 00:20:33 +02:00
Wladimir J. van der Laan
d5a9de352c
tests: Check Content-Type header returned from RPC server
...
Github-Pull: #7833
Rebased-From: 5078ca4543
2016-06-10 00:03:57 +02:00
MarcoFalke
ed2f0e3ac1
[qa] maxblocksinflight: Actually enable test
...
Github-Pull: #7803
Rebased-From: fac724c78f
2016-06-10 00:01:51 +02:00
MarcoFalke
3036282c7a
[qa] httpbasics: Actually test second connection
...
Github-Pull: #7802
Rebased-From: fa24456d0c
2016-06-10 00:01:08 +02:00
Wladimir J. van der Laan
afbc000b0b
test_framework: python3.4 authproxy compat
...
Github-Pull: #7751
Rebased-From: d7b80b54fb
e7e48ba66c
2016-06-09 23:55:27 +02:00
Wladimir J. van der Laan
80b6bfaeaa
test_framework: detect failure of bitcoind startup
...
Github-Pull: #7744
Rebased-From: 018b60c5ea
2016-06-09 23:51:53 +02:00
Alex Morcos
4ffd309b25
Create SingleNodeConnCB class for RPC tests
...
(cherry picked from commit 5fa66e4682
)
2016-06-09 23:44:55 +02:00
ptschip
90955940d5
Do not download transactions during inital sync
...
Github-Pull: #7164
Rebased-From: 39a525c21f
2016-04-27 22:34:47 +02:00
Wladimir J. van der Laan
9ca957bcd4
tests: Make proxy_test work on travis servers without IPv6
...
Github-Pull: #7489
Rebased-From: 7539f1aae3
2016-04-27 12:29:56 +02:00
MarcoFalke
89ae85484c
Merge #7811 : [0.12.2] qa Backports
...
6862627
Add listunspent() test for spendable/unspendable UTXO (Joao Fonseca)
28ba22c
[qa] Remove misleading "errorString syntax" (MarcoFalke)
f1f1b82
[qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)
c0d9e31
Tests: make prioritise_transaction.py more robust (Suhas Daftuar)
ff9b436
[qa] Bug fixes and refactor (MarcoFalke)
b1dd64b
[qa] wallet: Wait for reindex to catch up (MarcoFalke)
f23cb7c
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock (MarcoFalke)
3316552
[qa] Test walletpassphrase timeout (MarcoFalke)
6aae129
[qa] wallet: Print maintenance (MarcoFalke)
ad8c743
[qa] Extend tests (MarcoFalke)
d89fbfe
[qa] rpc-test: Normalize assert() (MarcoFalke)
2016-04-25 14:59:52 +02:00
Joao Fonseca
6862627ce6
Add listunspent() test for spendable/unspendable UTXO
...
Github-Pull: #7822
Rebased-From: fa942c755a
5d217decc1
2016-04-19 16:37:14 +02:00
MarcoFalke
28ba22c202
[qa] Remove misleading "errorString syntax"
...
Github-Pull: #7801
Rebased-From: ffff866da8
2016-04-19 16:36:41 +02:00
MarcoFalke
f1f1b82033
[qa] py2: Unfiddle strings into bytes explicitly
...
Github-Pull: #7853
Rebased-From: faa41ee204
, fa7abe0a00
Conflicts:
qa/rpc-tests/invalidtxrequest.py
qa/rpc-tests/p2p-feefilter.py
qa/rpc-tests/proxy_test.py
qa/rpc-tests/test_framework/mininode.py
qa/rpc-tests/test_framework/netutil.py
src/test/bctest.py
2016-04-15 09:55:12 +02:00
Suhas Daftuar
c0d9e31611
Tests: make prioritise_transaction.py more robust
...
Github-Pull: #7697
Rebased-From: ec143391ef
2016-04-10 11:46:16 +02:00
Suhas Daftuar
46898e7e94
Version 2 transactions remain non-standard until CSV activates
...
Before activation, such transactions might not be mined, so don't
allow into the mempool.
- Tests: move get_bip9_status to util.py
- Test relay of version 2 transactions
Github-Pull: #7835
Rebased-From: e4ba9f6b04
5cb1d8a207
da5fdbb3a2
2016-04-08 14:22:04 +02:00
MarcoFalke
ff9b436163
[qa] Bug fixes and refactor
...
Github-Pull: #7778
Rebased-From: fa524d9ddb
fa2cea163b
faaa3c9b65
444480649f
2016-04-05 11:55:07 +02:00
MarcoFalke
b1dd64bffe
[qa] wallet: Wait for reindex to catch up
...
Github-Pull: #7757
Rebased-From: fa3fafc960
2016-04-05 11:53:51 +02:00
MarcoFalke
f23cb7c944
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock
...
Github-Pull: #7702
Rebased-From: fa4a522541
2016-04-05 11:53:50 +02:00
MarcoFalke
331655253d
[qa] Test walletpassphrase timeout
...
Github-Pull: #7320
Rebased-From: fa1cb1ae15
2016-04-05 11:53:50 +02:00
MarcoFalke
6aae129a60
[qa] wallet: Print maintenance
...
Github-Pull: #7372
Rebased-From: facd288c31
2016-04-05 11:53:50 +02:00
MarcoFalke
ad8c743421
[qa] Extend tests
...
Github-Pull: #7684
Rebased-From: fa3a81af18
fad7dc8a6c
fad8cfb893
2016-04-05 11:53:50 +02:00
MarcoFalke
d89fbfe899
[qa] rpc-test: Normalize assert()
...
Github-Pull: #7720
Rebased-From: fab3890156
2016-04-05 11:53:50 +02:00
Wladimir J. van der Laan
834aaef7bd
Merge #7543 : [0.12] Backport BIP9, BIP68 and BIP112 with softfork
...
640666b
[qa] rpc-tests: Properly use integers, floats (BtcDrak)
c270b62
Fix comments in tests (BtcDrak)
caf1381
Add bip68-sequence.py to extended rpc tests (BtcDrak)
26e9a05
Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier)
3a99feb
Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos)
159ee3d
Policy: allow transaction version 2 relay policy. (BtcDrak)
9713ed3
Soft fork logic for BIP68 (BtcDrak)
648be9b
Soft fork logic for BIP113 (BtcDrak)
ee40924
Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
6ff0b9f
RPC test for BIP9 warning logic (Suhas Daftuar)
0710b30
Test versionbits deployments (Suhas Daftuar)
8ebc6f2
Add testing of ComputeBlockVersion (Suhas Daftuar)
0bdaacd
Softfork status report in RPC (Pieter Wuille)
5f90d4e
Versionbits tests (Pieter Wuille)
6f83cf2
BIP9 Implementation (Pieter Wuille)
ade85e1
Add LockPoints (Alex Morcos)
c8d309e
Code style fix. (BtcDrak)
6170506
Separate CheckLockTime() and CheckSequence() logic (BtcDrak)
c0c5e09
BIP112: Implement CHECKSEQUENCEVERIFY (Mark Friedenbach)
197c376
fix sdaftuar's nits again (Alex Morcos)
0a79c04
Bug fix to RPC test (Alex Morcos)
0d09af7
Add RPC test exercising BIP68 (mempool only) (Suhas Daftuar)
15ba08c
Implement SequenceLocks functions (Alex Morcos)
2016-04-04 13:08:29 +02:00
BtcDrak
640666b22f
[qa] rpc-tests: Properly use integers, floats
...
partial backport from #7778 using fa2cea1
2016-04-03 18:06:06 +01:00
BtcDrak
c270b62cc2
Fix comments in tests
2016-03-31 10:28:57 +01:00
NicolasDorier
26e9a05cc3
Test of BIP9 fork activation of mtp, csv, sequence_lock
2016-03-26 04:05:42 +00:00
Alex Morcos
19866c1ffc
Fix calculation of balances and available coins.
...
No longer consider coins which aren't in our mempool.
Add test for regression in abandonconflict.py
Github-Pull: #7715
Rebased-From: 68d4282774
2016-03-23 15:11:22 +01:00
Alex Morcos
3a99feba85
Add RPC test for BIP 68/112/113 soft fork.
...
This RPC test will test both the activation mechanism of the first versionbits soft fork as well as testing many code branches of the consensus logic for BIP's 68, 112, and 113.
2016-03-18 09:28:41 +00:00
Suhas Daftuar
6ff0b9f96e
RPC test for BIP9 warning logic
2016-03-18 09:14:53 +00:00
Alex Morcos
0a79c04af3
Bug fix to RPC test
2016-03-18 09:14:52 +00:00
Suhas Daftuar
0d09af77b7
Add RPC test exercising BIP68 (mempool only)
2016-03-18 09:14:52 +00:00
MarcoFalke
f04f4fd2ee
[doc/log] Fix markdown syntax and line terminate LogPrint
...
- Fix doxygen comment for payTxFee
- [doc] Fix markdown
- Make sure LogPrintf strings are line-terminated
Github-Pull: #7617
Rebased-From: fa06ce0949
fa97f95c15
fa26652459
2016-03-11 09:44:17 +01:00
mrbandrews
947c4ff724
[rpc-tests] Change solve() to use rehash
...
Github-Pull: #7468
Rebased-From: 7689041c03
2016-02-10 20:39:52 +01:00
Suhas Daftuar
e25b158ab8
RPC: indicate which transactions are replaceable
...
Add "bip125-replaceable" output field to listtransactions and gettransaction
which indicates if an unconfirmed transaction, or any unconfirmed parent, is
signaling opt-in RBF according to BIP 125.
Github-Pull: #7286
Rebased-From: eaa8d2754b
2016-01-20 13:50:58 +01:00
Suhas Daftuar
51af87f078
Fix error in blockchain.py introduced in merge
...
Github-Pull: #7373
Rebased-From: 4a04879378
2016-01-18 16:01:31 +01:00
James O'Beirne
351ffd8482
Fix help, add RPC tests for getblockheader
...
- Add assert_is_hex_string and assert_is_hash_string to RPC test utils.
- Add RPC documentation for getblockheader[chainwork].
- Add RPC tests for getblockheader.
Github-Pull: #7194
Rebased-From: 16d4fce0b2
4745636126
135d6ec8ce
2016-01-18 12:25:50 +01:00
MarcoFalke
d8b062d752
[qa] Fix pyton syntax in rpc tests
...
Github-Pull: #7335
Rebased-From: 7777994846
2016-01-18 10:46:46 +01:00
Wladimir J. van der Laan
1709cc5cb0
Merge pull request #7338
...
f17b00b
release-notes: Combine NOP2->CLTV asm change into "RPC: Low-level API changes" section (Luke Dashjr)
e20704b
Replace some instances of formatWithUnit with formatHtmlWithUnit (fanquake)
6f8346d
qt5: Use the fixed font the system recommends (MarcoFalke)
605de4a
Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY. (mb300sd)
6191a9b
[RPC-Tests] add option to run rpc test over QT clients (Jonas Schnelli)
6307beb
Note that reviewers should mention the commit hash of the commits they reviewed. (Patrick Strateman)
6092ff2
Set link from http:// to https:// (Suriyaa Kudo)
2016-01-18 10:36:57 +01:00
Suhas Daftuar
1488fc8eac
Eliminate race condition in mempool_packages test
...
Github-Pull: #7368
Rebased-From: 4d10d2e16f
2016-01-18 10:29:32 +01:00
mb300sd
605de4a88a
Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.
...
Github-Pull: #7213
Rebased-From: 37d271d7cc
2016-01-13 21:25:36 +00:00
Jonas Schnelli
6191a9b628
[RPC-Tests] add option to run rpc test over QT clients
...
Github-Pull: #7068
Rebased-From: 979698c171
2016-01-13 21:25:35 +00:00
Alex Morcos
fd4bd5009e
Add RPC call abandontransaction
...
- Make wallet descendant searching more efficient
- Add new rpc call: abandontransaction
Unconfirmed transactions that are not in your mempool either due to eviction or other means may be unlikely to be mined. abandontransaction gives the wallet a way to no longer consider as spent the coins that are inputs to such a transaction. All dependent transactions in the wallet will also be marked as abandoned.
- Add RPC test for abandoned and conflicted transactions.
- [Wallet] Call notification signal when a transaction is abandoned
Github-Pull: #7312
Rebased-From: 9e69717254
01e06d1fa3
df0e2226d9
d11fc1695c
2016-01-13 15:55:00 +01:00
Alex Morcos
a36d79bfe2
Add sane fallback for fee estimation
...
- Always respect GetRequiredFee for wallet txs
- Add sane fallback for fee estimation
- SQUASHME: Fix rpc tests that assumed fallback to minRelayTxFee
Add new commandline option "-fallbackfee" to use when fee estimation does not have sufficient data.
Github-Pull: #7296
Rebased-From: 995b9f3
e420a1b
bebe58b
2016-01-13 11:06:17 +01:00
Suhas Daftuar
d513405cb7
[Tests] Eliminate intermittent failures in sendheaders.py
...
- Add race-condition debugging tool to mininode
- Eliminate race condition in sendheaders.py test
Clear the last block announcement before mining new blocks.
Github-Pull: #7308
Rebased-From: 82a0ce09b4
168915e6de
2016-01-09 16:32:30 +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: fa0765d433
fa14d99484
fa33d9740c
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: fa6ad855e9
fa24439ff3
fa71669452
2016-01-05 14:13:33 +01:00
MarcoFalke
bdd0f9e286
[qa] Move gen_return_txouts() to util.py
...
Github-Pull: #7250
Rebased-From: fa0a9749eb
2016-01-04 11:58:36 +01:00