aboutsummaryrefslogtreecommitdiff
path: root/qa/pull-tester
AgeCommit message (Collapse)Author
2014-12-03Merge pull request #5407Wladimir J. van der Laan
9e56532 Coinbases-in-mempool regression test (Gavin Andresen)
2014-12-02Coinbases-in-mempool regression testGavin Andresen
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-02Merge pull request #5369Gavin Andresen
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-02Test resurrecting memory pool transactions during chain re-orgGavin Andresen
Builds on #5316.
2014-12-01[REST] add REST interface tests in rpc-test sectionJonas Schnelli
2014-11-27Report status of chain tipsPieter Wuille
2014-11-21Merge pull request #5333Wladimir J. van der Laan
e4ef724 Edited rpc-tests to run python script not shell script. (mrbandrews) 189fb52 Port of wallet.sh to python (wallet.py). (mrbandrews)
2014-11-20Edited rpc-tests to run python script not shell script.mrbandrews
2014-11-19Port/fix txnmall.sh regression testGavin Andresen
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-17travis: disable rpc tests for windows until they're not so flakyCory Fields
2014-11-13travis: temporarily disable the forknotify testCory Fields
It appears to be breaking randomly on Windows
2014-10-31tests: replace the old (unused since Travis) tests with new rpc test scriptsCory Fields
2014-10-31tests: remove old pull-tester scriptsCory Fields
They're unused since the switch to Travis
2014-10-23Update license in pull-tester and rpc-testsMichael Ford
Add missing copyright/license header where necessary
2014-10-14Fix large reorgsPieter Wuille
2014-10-09Trigger -alertnotify if network is upgrading without youGavin Andresen
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-01travis: If the comparison-tool fails, dump the tail of the debug logCory Fields
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.
2014-08-15tests: fix test-runner for osx. Closes ##4708Cory Fields
Use the more portable $$ rather than $BASHPID
2014-07-31test: don't let the port number exceed the legal rangeCory Fields
2014-07-09Introduce whitelisted peers.Pieter Wuille
This adds a -whitelist option to specify subnet ranges from which peers that connect are whitelisted. In addition, there is a -whitebind option which works like -bind, except peers connecting to it are also whitelisted (allowing a separate listen port for trusted connections). Being whitelisted has two effects (for now): * They are immune to DoS disconnection/banning. * Transactions they broadcast (which are valid) are always relayed, even if they were already in the mempool. This means that a node can function as a gateway for a local network, and that rebroadcasts from the local network will work as expected. Whitelisting replaces the magic exemption localhost had for DoS disconnection (local addresses are still never banned, though), which implied hidden service connects (from a localhost Tor node) were incorrectly immune to DoS disconnection as well. This old behaviour is removed for that reason, but can be restored using -whitelist=127.0.0.1 or -whitelist=::1 can be specified. -whitebind is safer to use in case non-trusted localhost connections are expected (like hidden services).
2014-05-02stop bitcoind/bitcoin-cli processes that might have been left runningGavin Andresen
2014-04-02Have pull-tester run the listtransactions.py regression testGavin Andresen
This should show how to run a python-based regression test successfully in the pull-tester environment.
2014-03-18Add licenses for tests and test dataWladimir J. van der Laan
- Add license headers to source files (years based on commit dates) in `src/test` as well as `qa` - Add `README.md` to `src/test/data` specifying MIT license Fixes #3848
2013-11-27Integration tests via RPC callsGavin Andresen
qa/rpc-tests/wallet.sh runs a three-node -regtest network, generates a fresh blockchain, and then exercises basic wallet sending/receiving functionality using command-line RPC.
2013-11-10Update build docs that refer to old makefile.* files.Brandon Dahler
Also update pull-tester's error message.
2013-11-04Skip comparison tool on win32 since Wine breaks itMatt Corallo
2013-10-28Missed an RPC portMatt Corallo
2013-10-28Fix port binding by listening on port $BASHPIDMatt Corallo
2013-10-28Run block tester and test suite on Windows too (only on Jenkins)Matt Corallo
2013-10-28Gracefully handle the case when a DISTDIR already existsMatt Corallo
2013-10-28pull-tester.py: Re-enable coverage msg, new args to run test scriptMatt Corallo
2013-10-28Make large-reorg tests optional in block-testerMatt Corallo
2013-10-27Re-enable BitcoindComparisonTool:Matt Corallo
* Use the latest version, with limited memory usage, and path to on-disk db (try mouting qa/tmp on a tmpfs)\ * enable -debug=net * re-enable BitcoindComparisonTool in pull-tester
2013-10-11Disable code-coverage builds for nowGavin Andresen
Not working on the pull-tester machine, 'make cov' hangs there.
2013-10-11Rework pull-tester scripts, disable blockchain testerGavin Andresen
Re-organize the pull-tester scripts a bit. And disables running the blockchain tester, it is not working properly on the pull-tester machine for reasons I cannot explain (fails to start).
2013-10-08Re-enable win32 pull-testingGavin Andresen
2013-09-20Tweaks to the top-level pull-tester scriptGavin Andresen
2013-09-20Rename BitcoinjBitcoindComparisonTool just BitcoindComparisonToolGavin Andresen
2013-09-20Master pull-tester-driver python scriptGavin Andresen
2013-09-05autotools: switch to autotools buildsystemCory Fields