Wladimir J. van der Laan
56c1093dae
fix tests for #5655
2015-01-14 09:50:00 -08:00
Wladimir J. van der Laan
e3f5727590
Merge pull request #5612
...
84d9199
[QA] fix zapwallettxes test (Jonas Schnelli)
2015-01-08 11:51:51 +01:00
Jonas Schnelli
84d919974b
[QA] fix zapwallettxes test
...
- remove shell test script and add a python equivalent
2015-01-07 16:41:12 +01:00
Suhas Daftuar
1eb1e65f09
Fix smartfees test for change to relay policy
2015-01-07 10:11:23 -05:00
Jonas Schnelli
12d927a391
RPC test for immature balance
2014-12-25 20:15:10 -08:00
Wladimir J. van der Laan
111a7d45f1
Merge pull request #5470
...
78253fc
Remove references to X11 licence (Michael Ford)
2014-12-19 19:23:23 +01:00
Jonas Schnelli
7a3b83269e
[QA] fix httpbasics RPC test typo
2014-12-17 22:40:20 +01:00
Michael Ford
78253fcbad
Remove references to X11 licence
2014-12-16 15:56:50 +08:00
Pieter Wuille
f676c80f43
Add /rest/headers
2014-12-12 16:37:00 +01:00
Wladimir J. van der Laan
41cced2106
Merge pull request #5267
...
34318d7
RPC-test based on invalidateblock for mempool coinbase spends (Gavin Andresen)
7fd6219
Make CTxMemPool::remove more effecient by avoiding recursion (Matt Corallo)
b7b4318
Make CTxMemPool::check more thourough by using CheckInputs (Matt Corallo)
723d12c
Remove txn which are invalidated by coinbase maturity during reorg (Matt Corallo)
868d041
Remove coinbase-dependant transactions during reorg. (Matt Corallo)
2014-12-11 15:24:00 +01:00
Jonas Schnelli
73351c3686
[REST] /rest/block response with full tx details
...
- rest block request returns full unfolded tx details
- /rest/block/notxdetails/<HASH> returns block where transactions are only represented by its hash
2014-12-09 16:05:50 +01:00
mrbandrews
1577df986e
Port of walletbackup.sh to Python.
2014-12-09 10:57:51 +01:00
Gavin Andresen
34318d7fad
RPC-test based on invalidateblock for mempool coinbase spends
2014-12-08 14:09:58 -08:00
Jonas Schnelli
11d7a7d505
[RPC] add rpc-test for http keep-alive (persistent connections)
2014-12-06 23:15:22 +01:00
Matt Corallo
db0916bd13
Fix missing python2 in rpc-tests
2014-12-05 16:04:05 -08:00
Wladimir J. van der Laan
c2d7c6134e
Merge pull request #5407
...
9e56532
Coinbases-in-mempool regression test (Gavin Andresen)
2014-12-03 10:51:36 +01:00
Gavin Andresen
9e56532959
Coinbases-in-mempool regression test
...
Immature coinbase spends are allowed in the memory pool if they can be mined in the next block.
They are not allowed in the memory pool if they cannot be mined in the next block.
This regression test tests those edge cases.
2014-12-02 19:07:39 -05:00
Gavin Andresen
1c7e09f0b9
Merge pull request #5369
...
b2d0162
Test resurrecting memory pool transactions during chain re-org (Gavin Andresen)
3dd8ed7
Delay writing block indexes in invalidate/reconsider (Pieter Wuille)
798faec
Add 'invalidateblock' and 'reconsiderblock' RPC commands. (Pieter Wuille)
2014-12-02 11:59:41 -05:00
Gavin Andresen
b2d0162ba4
Test resurrecting memory pool transactions during chain re-org
...
Builds on #5316 .
2014-12-02 11:09:25 -05:00
Wladimir J. van der Laan
90f7aa7778
Fix rest.py test after #5376
2014-12-02 15:57:20 +01:00
Jonas Schnelli
01dc2d83f8
[REST] add REST interface tests in rpc-test section
2014-12-01 12:52:21 +01:00
Wladimir J. van der Laan
0ddf4416cc
Merge pull request #5386
...
1b91be4
Report status of chain tips (Pieter Wuille)
2014-12-01 11:49:35 +01:00
Pieter Wuille
1b91be49f5
Report status of chain tips
2014-11-27 11:50:14 +01:00
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
2014-11-27 00:02:28 -05:00
Gavin Andresen
fe042dbe9f
Merge pull request #5335
...
7e615f5
Fixed mempool sync after sending a transaction (Suhas Daftuar)
2014-11-24 10:27:37 -05:00
Wladimir J. van der Laan
f24bcce2ac
Merge pull request #1816
...
b867e40
CreateNewBlock: Stick height in coinbase so we pass template sanity check (Luke Dashjr)
60755db
submitblock: Check for duplicate submissions explicitly (Luke Dashjr)
bc6cb41
QA RPC tests: Add tests block block proposals (Luke Dashjr)
9765a50
Implement BIP 23 Block Proposal (Luke Dashjr)
3dcbb9b
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock (Luke Dashjr)
132ea9b
miner_tests: Disable checkpoints so they don't fail the subsidy-change test (Luke Dashjr)
df08a62
TestBlockValidity function for CBlock proposals (used by CreateNewBlock) (Luke Dashjr)
4ea1be7
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock (Luke Dashjr)
a48f2d6
Abstract context-dependent block checking from acceptance (Luke Dashjr)
2014-11-24 14:43:10 +01:00
Wladimir J. van der Laan
37c47e1809
Merge pull request #5333
...
e4ef724
Edited rpc-tests to run python script not shell script. (mrbandrews)
189fb52
Port of wallet.sh to python (wallet.py). (mrbandrews)
2014-11-21 13:48:41 +01:00
Suhas Daftuar
7e615f5228
Fixed mempool sync after sending a transaction
2014-11-20 15:49:07 -05:00
mrbandrews
189fb526f1
Port of wallet.sh to python (wallet.py).
...
Also included are minor edits to util.py to create a clean blockchain and add a parameter to gather_inputs to specify number of confirmations.
2014-11-20 14:11:44 -05:00
Luke Dashjr
bc6cb4177b
QA RPC tests: Add tests block block proposals
2014-11-20 00:15:17 +00:00
Gavin Andresen
8656dbb095
Port/fix txnmall.sh regression test
...
Ported txnmall.sh to Python, and updated to match
recent transaction malleability changes.
I also modified it so it tests both double-spending
confirmed and unconfirmed (only-in-mempool) transactions.
Renamed to txn_doublespend, since that is really what is
being tested. And told the pull-tester to run both
variations on this test.
2014-11-19 15:36:10 -05:00
Gavin Andresen
fd3777b0b2
Merge pull request #5280
...
3c30f27
travis: disable rpc tests for windows until they're not so flaky (Cory Fields)
daf03e7
RPC tests: create initial chain with specific timestamps (Gavin Andresen)
a8b2ce5
regression test only setmocktime RPC call (Gavin Andresen)
2014-11-18 14:31:29 -05:00
Gavin Andresen
daf03e7c92
RPC tests: create initial chain with specific timestamps
...
Use setmocktime to create the initial block chain with
10-minute-apart-blocks starting 1 Jan 2014.
2014-11-17 14:13:32 -05:00
Wladimir J. van der Laan
20e4f654f5
Merge pull request #5237
...
2db4c8a
Fix node ranges in the test framework. (Daniel Kraft)
2014-11-17 17:20:32 +01:00
Bryan Bishop
a7af9839d6
don't override dir() in qa rpc tests
...
Replace "dir" with "dirname" in util.py in qa/rpc-tests/ because "dir"
is the name of a function in python.
2014-11-14 09:12:41 -06:00
dexX7
5e2dcaebc4
gather_inputs: use correct variable in error message
...
"amount" and "fee" do not exist (anymore?).
2014-11-07 15:47:29 +01:00
Daniel Kraft
2db4c8a24d
Fix node ranges in the test framework.
2014-11-07 10:23:21 +01:00
Cory Fields
5122ea7190
tests: fix forknotify.py on windows
...
Windows interprets 'foo.txt' as a literal filename while "foo.txt" is treated
as expected.
2014-10-31 00:05:55 -04:00
Cory Fields
7a41614aa2
tests: allow rpc-tests to get filenames for bitcoind and bitcoin-cli from the environment
...
This will allow for windows tests to run with bitcoind.exe and bitcoin-cli.exe
2014-10-31 00:05:55 -04:00
Gavin Andresen
e4f79c0219
Merge pull request #5139
...
9f87325
Start with tidier cache directories (Gavin Andresen)
Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
2014-10-27 13:39:25 -04:00
Wladimir J. van der Laan
b6c99efe9c
Merge pull request #5121
...
214091d
Update license in pull-tester and rpc-tests (Michael Ford)
2014-10-27 13:48:45 +01:00
Gavin Andresen
9f87325b22
Start with tidier cache directories
...
Remove more files from the cached, 200-block-chain data directories.
2014-10-24 15:48:06 -04:00
Gavin Andresen
e401a2c557
Merge pull request #5132
...
2290ed0
Work around #5113 . (Daniel Kraft)
dcb9846
Extend getchaintips RPC test. (Daniel Kraft)
Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
2014-10-24 15:13:41 -04:00
Gavin Andresen
ec01243c14
--tracerpc option for regression tests
...
Run tests with --tracerpc and all RPC calls will dump to the console.
Very helpful for debugging.
2014-10-24 11:27:22 -04:00
Daniel Kraft
2290ed01bc
Work around #5113 .
2014-10-24 09:06:37 +02:00
Daniel Kraft
dcb98466b4
Extend getchaintips RPC test.
...
Add the capability to simulate network splits to the RPC test framework
and use it to do more extensive testing of 'getchaintips'.
2014-10-24 08:53:04 +02:00
Michael Ford
214091d584
Update license in pull-tester and rpc-tests
...
Add missing copyright/license header where necessary
2014-10-23 09:48:19 +08:00
Cory Fields
005b5af6e2
rpc-tests: don't spew non-errors to stdout
...
There's a brief race here, the process might've already exited and cleaned up
after itself. If that's the case, reading from the pidfile will harmlessly
fail. Keep those quiet.
2014-10-10 13:11:49 -04:00
Gavin Andresen
dbca89b74b
Trigger -alertnotify if network is upgrading without you
...
This adds a -regetest-only undocumented (for regression testing only)
command-line option -blockversion=N to set block.nVersion.
Adds to the "has the rest of the network upgraded to a
block.nVersion we don't understand" code so it calls
-alertnotify when 51 of the last 100 blocks are up-version.
But it only alerts once, not with every subsequent new, upversion
block.
And adds a forknotify.py regression test to make sure it works.
Tested using forknotify.py:
Before adding CAlert::Notify, get:
Assertion failed: -alertnotify did not warn of up-version blocks
Before adding code to only alert once:
Assertion failed: -alertnotify excessive warning of up-version blocks
After final code in this pull:
Tests successful
2014-10-09 10:28:27 -04:00
Luke Dashjr
0b17964131
Bugfix: Replace bashisms with standard sh in tests/tools
2014-10-03 23:45:26 +00:00