Wladimir J. van der Laan
c2d7c6134e
Merge pull request #5407
...
9e56532
Coinbases-in-mempool regression test (Gavin Andresen)
10 years ago
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.
10 years ago
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)
10 years ago
Gavin Andresen
b2d0162ba4
Test resurrecting memory pool transactions during chain re-org
...
Builds on #5316 .
10 years ago
Wladimir J. van der Laan
90f7aa7778
Fix rest.py test after #5376
10 years ago
Jonas Schnelli
01dc2d83f8
[REST] add REST interface tests in rpc-test section
10 years ago
Wladimir J. van der Laan
0ddf4416cc
Merge pull request #5386
...
1b91be4
Report status of chain tips (Pieter Wuille)
10 years ago
Pieter Wuille
1b91be49f5
Report status of chain tips
10 years ago
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
10 years ago
Gavin Andresen
fe042dbe9f
Merge pull request #5335
...
7e615f5
Fixed mempool sync after sending a transaction (Suhas Daftuar)
10 years ago
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)
10 years ago
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)
10 years ago
Suhas Daftuar
7e615f5228
Fixed mempool sync after sending a transaction
10 years ago
mrbandrews
e4ef724493
Edited rpc-tests to run python script not shell script.
10 years ago
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.
10 years ago
Luke Dashjr
bc6cb4177b
QA RPC tests: Add tests block block proposals
10 years ago
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.
10 years ago
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)
10 years ago
Cory Fields
3c30f27f34
travis: disable rpc tests for windows until they're not so flaky
10 years ago
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.
10 years ago
Wladimir J. van der Laan
20e4f654f5
Merge pull request #5237
...
2db4c8a
Fix node ranges in the test framework. (Daniel Kraft)
10 years ago
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.
10 years ago
Cory Fields
c8b115e20b
travis: temporarily disable the forknotify test
...
It appears to be breaking randomly on Windows
10 years ago
dexX7
5e2dcaebc4
gather_inputs: use correct variable in error message
...
"amount" and "fee" do not exist (anymore?).
10 years ago
Daniel Kraft
2db4c8a24d
Fix node ranges in the test framework.
10 years ago
Cory Fields
7667850dbf
tests: replace the old (unused since Travis) tests with new rpc test scripts
10 years ago
Cory Fields
fa7f8cdc1a
tests: remove old pull-tester scripts
...
They're unused since the switch to Travis
10 years ago
Cory Fields
5122ea7190
tests: fix forknotify.py on windows
...
Windows interprets 'foo.txt' as a literal filename while "foo.txt" is treated
as expected.
10 years ago
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
10 years ago
Gavin Andresen
e4f79c0219
Merge pull request #5139
...
9f87325
Start with tidier cache directories (Gavin Andresen)
Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
10 years ago
Wladimir J. van der Laan
b6c99efe9c
Merge pull request #5121
...
214091d
Update license in pull-tester and rpc-tests (Michael Ford)
10 years ago
Gavin Andresen
9f87325b22
Start with tidier cache directories
...
Remove more files from the cached, 200-block-chain data directories.
10 years ago
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>
10 years ago
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.
10 years ago
Daniel Kraft
2290ed01bc
Work around #5113 .
10 years ago
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'.
10 years ago
Michael Ford
214091d584
Update license in pull-tester and rpc-tests
...
Add missing copyright/license header where necessary
10 years ago
Pieter Wuille
e11b2ce4c6
Fix large reorgs
10 years ago
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.
10 years ago
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
10 years ago
Luke Dashjr
0b17964131
Bugfix: Replace bashisms with standard sh in tests/tools
10 years ago
Cory Fields
5ad450a65a
travis: If the comparison-tool fails, dump the tail of the debug log
...
The entire debug log would be huge, and could cause issues for automated tools
like travis. Printing 200 lines is an initial guess at a reasonable number,
more may be required.
10 years ago
Gavin Andresen
3a7c3483b6
Fix make_change to not create half-satoshis
10 years ago
Cory Fields
9322f1a4d9
tests: fix test-runner for osx. Closes ##4708
...
Use the more portable $$ rather than $BASHPID
10 years ago
Wladimir J. van der Laan
ab676c3ac4
Merge pull request #4612
...
6548cc9
test: don't let the port number exceed the legal range (Cory Fields)
a67eef1
test: redirect comparison tool output to stdout (Cory Fields)
10 years ago
Daniel Kraft
b33bd7a3be
Implement "getchaintips" RPC command to monitor blockchain forks.
...
Port over https://github.com/chronokings/huntercoin/pull/19 from
Huntercoin: This implements a new RPC command "getchaintips" that can be
used to find all currently active chain heads. This is similar to the
-printblocktree startup option, but it can be used without restarting
just via the RPC interface on a running daemon.
10 years ago
Cory Fields
6548cc9f90
test: don't let the port number exceed the legal range
10 years ago
Gavin Andresen
4a56345a74
Merge pull request #4522 from dgenr8/set_discover_0
...
Set -discover=0 in regtest framework
10 years ago
Wladimir J. van der Laan
c9bc398ad9
Merge pull request #4378
...
dc942e6
Introduce whitelisted peers. (Pieter Wuille)
10 years ago
Wladimir J. van der Laan
3554df9b99
Merge pull request #4503
...
b45a6e8
Add test for getblocktemplate longpolling (Wladimir J. van der Laan)
ff6a7af
getblocktemplate: longpolling support (Luke Dashjr)
10 years ago