Suhas Daftuar
da5fdbb3a2
Test relay of version 2 transactions
9 years ago
Suhas Daftuar
5cb1d8a207
Tests: move get_bip9_status to util.py
9 years ago
Wladimir J. van der Laan
3bc71e1572
Merge #7802 : [qa] httpbasics: Actually test second connection
...
fa24456
[qa] httpbasics: Actually test second connection (MarcoFalke)
9 years ago
Wladimir J. van der Laan
401c65c6b3
Merge #7803 : [qa] maxblocksinflight: Actually enable test
...
fac724c
[qa] maxblocksinflight: Actually enable test (MarcoFalke)
9 years ago
Wladimir J. van der Laan
70ac71b877
Merge #7801 : [qa] Remove misleading "errorString syntax"
...
ffff866
[qa] Remove misleading "errorString syntax" (MarcoFalke)
9 years ago
mruddy
92107d574d
RPC: add versionHex in getblock and getblockheader JSON results; expand data in getblockchaininfo bip9_softforks field.
9 years ago
MarcoFalke
ffff866da8
[qa] Remove misleading "errorString syntax"
9 years ago
MarcoFalke
fac724c78f
[qa] maxblocksinflight: Actually enable test
9 years ago
MarcoFalke
fa24456d0c
[qa] httpbasics: Actually test second connection
9 years ago
Wladimir J. van der Laan
ff5874bcf7
Merge #7778 : [qa] Bug fixes and refactor
...
4444806
[qa] mininode: Combine struct.pack format strings (MarcoFalke)
faaa3c9
[qa] mininode: Catch exceptions in got_data (MarcoFalke)
fa2cea1
[qa] rpc-tests: Properly use integers, floats (MarcoFalke)
fa524d9
[qa] Use python2/3 syntax (MarcoFalke)
9 years ago
MarcoFalke
444480649f
[qa] mininode: Combine struct.pack format strings
9 years ago
MarcoFalke
faaa3c9b65
[qa] mininode: Catch exceptions in got_data
9 years ago
MarcoFalke
fa2cea163b
[qa] rpc-tests: Properly use integers, floats
9 years ago
Wladimir J. van der Laan
e9723cb273
Merge #7489 : tests: Make proxy_test work on travis servers without IPv6
...
7539f1a
tests: Make proxy_test work on travis servers without IPv6 (Wladimir J. van der Laan)
9 years ago
MarcoFalke
fa524d9ddb
[qa] Use python2/3 syntax
9 years ago
BtcDrak
40234ba89f
Fix comments in tests
9 years ago
Wladimir J. van der Laan
e8a8f3d4b2
Merge #7648 : BIP9 versionbits softfork for BIP68, BIP112 and BIP113
...
71527a0
Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier)
19d73d5
Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos)
12c89c9
Policy: allow transaction version 2 relay policy. (BtcDrak)
02c2435
Soft fork logic for BIP68 (BtcDrak)
478fba6
Soft fork logic for BIP113 (BtcDrak)
65751a3
Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
9 years ago
Wladimir J. van der Laan
d8e862a5a7
Merge #7744 : test_framework: detect failure of bitcoind startup
...
018b60c
test_framework: detect failure of bitcoind startup (Wladimir J. van der Laan)
9 years ago
MarcoFalke
faa9f01461
[qa] Don't run pruning.py twice
9 years ago
Wladimir J. van der Laan
b35a591793
Merge #7558 : [RPC] Add import/removeprunedfunds rpc call
...
f1bb13c
Added companion removeprunedfunds call. (instagibbs)
7eb7029
Add importprunedfunds rpc call (instagibbs)
9 years ago
MarcoFalke
fa3fafc960
[qa] wallet: Wait for reindex to catch up
9 years ago
Luke Dashjr
e7e48ba66c
test_framework: Py3.4 compat: Specify timeout parameter by name
...
Changed in version 3.4: The strict parameter was removed. HTTP 0.9-style
“Simple Responses” are not longer supported.
(https://docs.python.org/3/library/http.client.html )
Source: 7ebeebb4f6
9 years ago
Wladimir J. van der Laan
d7b80b54fb
test_framework: Avoid infinite loop in encoding Decimal
...
Avoid an infinite loop in encoding, by ensuring EncodeDecimal
returns a string. round(Decimal) used to convert it to
float, but it no longer does in python 3.x. Strings are
supported since #6380 , so just use that.
9 years ago
Wladimir J. van der Laan
018b60c5ea
test_framework: detect failure of bitcoind startup
...
Replace the `bitcoin-cli -rpcwait` after spawning bitcoind
with our own loop that detects when bitcoind exits prematurely.
And if one node fails to start, stop the others.
This prevents a hang in such a case (see #7463 ).
9 years ago
instagibbs
f1bb13c93d
Added companion removeprunedfunds call.
9 years ago
instagibbs
7eb702954e
Add importprunedfunds rpc call
9 years ago
Wladimir J. van der Laan
3bdc583b3f
Merge #7715 : Fix calculation of balances and available coins.
...
68d4282
Fix calculation of balances and available coins. (Alex Morcos)
9 years ago
Wladimir J. van der Laan
e2ebd259fb
Merge #7671 : [RPC] Add generatetoaddress rpc to mine to an address
...
d5c5c71
RPC tests for generatetoaddress (Andrew C)
fe00ca7
Create generatetoaddress rpc (Andrew C)
9 years ago
Alex Morcos
b536a6fc83
Add p2p test for feefilter
9 years ago
Alex Morcos
5fa66e4682
Create SingleNodeConnCB class for RPC tests
9 years ago
Andrew C
d5c5c713e6
RPC tests for generatetoaddress
...
Adds two RPC tests for the generatetoaddress RPC, one in the wallet, and one when the wallet is disabled.
The wallet RPC Test mines Bitcoin to another node's address and checks that that node has received the Bitcoin.
The RPC test without the wallet mines Bitcoin to an arbitrary address and checks that it works. It then mines to an arbitrary invalid address and checks that that fails.
9 years ago
NicolasDorier
71527a0f31
Test of BIP9 fork activation of mtp, csv, sequence_lock
9 years ago
MarcoFalke
fab3890156
[qa] rpc-test: Normalize assert()
9 years ago
Alex Morcos
68d4282774
Fix calculation of balances and available coins.
...
No longer consider coins which aren't in our mempool.
Add test for regression in abandonconflict.py
9 years ago
Wladimir J. van der Laan
29e1131c46
Merge #7702 : [qa] Add tests verifychain, lockunspent, getbalance, listsinceblock
...
fa4a522
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock (MarcoFalke)
9 years ago
Wladimir J. van der Laan
efde86b4aa
Merge #7709 : Tests: fix missing import in mempool_packages
...
e38781d
Tests: fix missing import in mempool_packages (Suhas Daftuar)
9 years ago
Alex Morcos
19d73d540c
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.
9 years ago
Wladimir J. van der Laan
73b7eb501e
Merge #7575 : Minimal BIP9 implementation
...
8c74ced
RPC test for BIP9 warning logic (Suhas Daftuar)
7870deb
Test versionbits deployments (Suhas Daftuar)
532cbb2
Add testing of ComputeBlockVersion (Suhas Daftuar)
d23f6c6
Softfork status report in RPC (Pieter Wuille)
732e774
Versionbits tests (Pieter Wuille)
6851107
BIP9 Implementation (Pieter Wuille)
9 years ago
Suhas Daftuar
e38781da40
Tests: fix missing import in mempool_packages
9 years ago
MarcoFalke
fa4a522541
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock
9 years ago
Suhas Daftuar
ec143391ef
Tests: make prioritise_transaction.py more robust
9 years ago
Wladimir J. van der Laan
3d0dfdbf9f
Merge #7684 : [qa] Extend tests
...
fad8cfb
[qa] mininode: Add and use CONSTs (MarcoFalke)
fa8cd46
[qa] Move create_tx() to util.py (MarcoFalke)
fad7dc8
[qa] wallet: speed up tests (MarcoFalke)
fa3a81a
[tests] Extend util_ParseMoney test case (MarcoFalke)
9 years ago
Suhas Daftuar
8c74cedef5
RPC test for BIP9 warning logic
9 years ago
MarcoFalke
fad8cfb893
[qa] mininode: Add and use CONSTs
9 years ago
MarcoFalke
fa8cd46f39
[qa] Move create_tx() to util.py
9 years ago
MarcoFalke
fad7dc8a6c
[qa] wallet: speed up tests
9 years ago
Elliot Olds
2ab835ae6c
Check if zmq is installed in tests, update docs
...
If ZMQ is enabled, check whether it's installed before running ZMQ tests.
If it isn't, disable ZMQ and print a warning.
Also add dependency info to test docs, so users know ZMQ is required
before running tests, and so they know how to install it.
When following the build instructions before this change then trying
to run the RPC tests, a unix user would get an error when python
tried to import zmq.
There may be other dependencies that should be added to the docs,
particularly ones for non-unix systems. This is the only unlisted
dependency I encountered using linux.
9 years ago
MarcoFalke
fa97f95c15
[doc] Fix markdown
9 years ago
BtcDrak
6ba8b2a6c4
Add bip68-sequence.py to extended rpc tests
9 years ago
Wladimir J. van der Laan
80d1f2e483
Merge #7184 : Implement SequenceLocks functions for BIP 68
...
b043c4b
fix sdaftuar's nits again (Alex Morcos)
a51c79b
Bug fix to RPC test (Alex Morcos)
da6ad5f
Add RPC test exercising BIP68 (mempool only) (Suhas Daftuar)
c6c2f0f
Implement SequenceLocks functions (Alex Morcos)
9 years ago