aboutsummaryrefslogtreecommitdiff
path: root/src/test/data
Commit message (Collapse)AuthorAgeFilesLines
* really s/doge/dis/g this timeTomo Ueda2021-09-021-60/+60
|
* dogecoin-tx: fix testsPatrick Lodder2020-07-221-20/+22
| | | | | - explicitly specify v1 and v2 transactions due to 140cc1db - fix "exec: bitcoin-tx" misses
* rebrand dogecoin-tx test (#1450)Ross Nicoll2019-03-251-56/+56
|
* Re-introduce alert functionality (#1470)Ross Nicoll2018-09-191-0/+0
| | | Re-introduce alert functionality removed from Bitcoin upstream
* Update dogecoin-tx tests (#1409)Ross Nicoll2018-09-1917-37/+37
| | | Update Python test address and key values to match Dogecoin format
* Replace test data with Dogecoin valuesRoss Nicoll2018-09-192-608/+608
| | | | | | | | | | | | | | | | | | | Replace test data with Dogecoin equivalents in the folowing tests: * base58 * bip32 * keys * miner * pow Replace RPC and deterministic signatures in unit tests with Dogecoin values. While conventionally I'd use an alternative implementation for these, as RFC 6979 compliant signature generation isn't terribly common, and there's no reason to suspect we've modified this code, I'm going to assert that it's good enough to test that the code doesn't provide different values. Disabled Bitcoin PoW tests, but left code in place to simplify later merges. These are replaced by the Dogecoin PoW tests.
* Add tests for bitcoin-tx input checkingJohn Newbery2017-03-311-0/+32
| | | | | Github-Pull: #10130 Rebased-From: 19ecd1e2e13514c8a92a2a4337c2568c3d5d13e5
* Check stderr when testing bitcoin-txJohn Newbery2017-03-311-0/+4
| | | | | Github-Pull: #10130 Rebased-From: 21704f6334d2a4bd140c6e3260c4bfa3f3157bad
* testcases: explicitly specify transaction version 1John Newbery2017-01-091-22/+22
|
* Add test cases to test new bitcoin-tx functionalityjnewbery2016-12-2923-0/+377
| | | | | | | | | | | | | | | | This commit add testcases to test the following functions in bitcoin-tx: - add a pay to non-standard script output - add a P2SH output - add a P2WSH output - add a P2WSH wrapped in a P2SH output - add a pay to pub key output - add a P2WPKH output - add a P2WPKH wrapped in a P2SH output - add a bare multisig output - add a multisig in P2SH output - add a multisig in a P2WSH output - add a multisig in a P2WSH wrapped in as P2SH output
* Re-enable a blank v1 Tx JSON testDouglas Roark2016-12-212-3/+8
|
* Remove unused test files and referencesBtcDrak2016-12-191-33/+0
|
* Merge #7562: Bump transaction version default to 2Wladimir J. van der Laan2016-12-1516-39/+96
|\ | | | | | | | | | | | | c5c92c4 Update python tests for default tx version=2 (BtcDrak) dab207e Preserve tx version=1 for certain tests (BtcDrak) c5d746a tiny test fix for mempool_tests (Alex Morcos) 1f0ca1a Bump default transaction version to 2 (BtcDrak)
| * Update python tests for default tx version=2BtcDrak2016-12-0816-39/+96
| |
* | Fix spelling.Richard Kiss2016-12-121-1/+1
|/
* Merge #9100: tx_valid: re-order inputs to how they are encodedMarcoFalke2016-11-251-9/+9
|\ | | | | | | 5262a15 tx_valid: re-order inputs to how they are encoded (Daniel Cousens)
| * tx_valid: re-order inputs to how they are encodedDaniel Cousens2016-11-081-9/+9
| |
* | Allow bitcoin-tx to parse partial transactionsjnewbery2016-11-041-0/+10
|/ | | | Restore pre V0.13.1 functionality to bitcoin-tx and allow it to parse 0-input partial transactions.
* Merge #8927: Add script tests for FindAndDelete in pre-segwit and segwit scriptsWladimir J. van der Laan2016-10-192-0/+49
|\ | | | | | | acf853d Add script tests for FindAndDelete in pre-segwit and segwit scripts (Johnson Lau)
| * Add script tests for FindAndDelete in pre-segwit and segwit scriptsJohnson Lau2016-10-162-0/+49
| |
* | test segwit uncompressed key fixesJohnson Lau2016-10-171-1/+367
|/
* Merge #8817: update bitcoin-tx to output witness dataWladimir J. van der Laan2016-10-1311-0/+11
|\ | | | | | | 4408558 Update bitcoin-tx to output witness data. (jonnynewbs)
| * Update bitcoin-tx to output witness data.jonnynewbs2016-10-0511-0/+11
| |
* | add verbose mode to bitcoin-util-test.pyjnewbery2016-10-051-28/+56
|/
* bitcoin-util-test.py should fail if the output file is emptyjnewbery2016-09-291-0/+19
|
* Merge #8829: Add bitcoin-tx JSON testsMarcoFalke2016-09-2912-1/+997
|\ | | | | | | 54e5d7c Add bitcoin-tx JSON tests (jnewbery)
| * Add bitcoin-tx JSON testsjnewbery2016-09-2812-1/+997
| |
* | Add policy: null signature for failed CHECK(MULTI)SIGJohnson Lau2016-09-271-1/+32
| |
* | Make non-minimal OP_IF/NOTIF argument non-standard for P2WSHJohnson Lau2016-09-231-1/+84
|/
* Rename OP_NOP3 to OP_CHECKSEQUENCEVERIFYBtcDrak2016-06-283-54/+54
|
* [qa] script_tests: witness tests can specify tx amountSuhas Daftuar2016-06-221-28/+95
| | | | Add tests that witness signatures cover value
* [qa] p2p segwit testsSuhas Daftuar2016-06-221-0/+84
| | | | | | | | | | | | mininode now supports witness transactions/blocks, blocktools has a helper for adding witness commitments to blocks, and script has a function to calculate hashes for signature under sigversion 1, used by segwit. Py3 conversion by Marco Falke Test to make sure upgraded nodes don't ask for non-wit blocks by Gregory Sanders.
* [qa] Autogeneration support for witness in script_testsPieter Wuille2016-06-221-0/+132
|
* [qa] Add segwit support to script_testsPieter Wuille2016-06-221-1/+7
| | | | Contains fix by Johnson Lau.
* [qa] Add transaction tests for segwitNicolasDorier2016-06-222-0/+233
| | | | Including BIP143 P2WSH examples by jl2012.
* BIP144: Serialization, hashes, relay (sender side)Pieter Wuille2016-06-221-4/+0
| | | | | | Contains refactorings by Eric Lombrozo. Contains fixup by Nicolas Dorier. Contains cleanup of CInv::GetCommand by Alex Morcos
* Merge #7957: [RPC][Bitcoin-TX] Add support for sequence numberWladimir J. van der Laan2016-06-073-0/+15
|\ | | | | | | | | | | ae357d5 [Bitcoin-Tx] Add tests for sequence number support (Jonas Schnelli) e59336f [bitcoin-tx] allow to set nSequence number over the in= command (Jonas Schnelli) a946bb6 [RPC] createrawtransaction: add option to set the sequence number per input (Jonas Schnelli)
| * [Bitcoin-Tx] Add tests for sequence number supportJonas Schnelli2016-06-073-0/+15
| |
* | Adding P2SH(p2pkh) script test caseChris Stewart2016-05-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Fixing formatting Adding test case into automatically generated test case set Clean up commits removing extra whitespace from eol Removing extra whitespace on macro line
* | Adding basic tests for OP_CSV inside of script_tests.jsonChris Stewart2016-05-111-1/+10
|/ | | | | | | | | | | | Changing NOP3 op name to OP_CHECKSEQUENCEVERIFY, renaming instances of OP_NOP3 in script_tests.json to CHECKSEQUENCEVERIFY Cleaning up NOP3 comment Re-adding test cases that were accidentally deleted, removing dupicated test case, fixing formatting Removing re-labeling of OP_NOP3 to OP_CSV Fixing whitespace issues
* Fixing comment in script_test.json test caseChris Stewart2016-04-251-1/+1
|
* Merge script_valid and script_invalid testsPieter Wuille2016-04-052-877/+865
|
* Make script_error a mandatory 4th field for script_testsPieter Wuille2016-04-052-1158/+1194
|
* Fix some misconstructed testsPieter Wuille2016-04-052-8/+20
| | | | | | | | They claimed to be testing P2SH scripts with non-push scriptSigs, but 1) they were not enabling P2SH 2) they have push-only scriptSigs Fix this, and add a few more related cases.
* Remove p2p alert handlingBtcDrak2016-03-181-0/+0
|
* Merge #7517: test: script_error checking in script_invalid testsWladimir J. van der Laan2016-03-141-496/+559
|\ | | | | | | | | | | 0ecb340 test: Script_error checking in script_invalid tests (Wladimir J. van der Laan) 2317ad7 test: Re-introduce JSON pretty printing in test builder (Wladimir J. van der Laan) b0ff857 test: Move non-generated script_invalid test to the correct place (Wladimir J. van der Laan)
| * test: Script_error checking in script_invalid testsWladimir J. van der Laan2016-02-111-491/+554
| | | | | | | | | | | | | | | | | | | | Check the returned script_error. Add expected script_error for generated as well as custom tests. The specific error is not part of consensus, however it could avoid unclear reporting issues such as #6862 in the future. Fixes #7513.
| * test: Move non-generated script_invalid test to the correct placeWladimir J. van der Laan2016-02-111-6/+6
| | | | | | | | | | This test was introduced in 9fadf1c874f938f87395495776dbae896551873d, but accidentally added in the autogenerated area.
* | BIP112: Implement CHECKSEQUENCEVERIFYMark Friedenbach2016-02-142-0/+138
|/ | | | | | | | | | - Replace NOP3 with CHECKSEQUENCEVERIFY (BIP112) <nSequence> CHECKSEQUENCEVERIFY -> <nSequence> - Fails if txin.nSequence < nSequence, allowing funds of a txout to be locked for a number of blocks or a duration of time after its inclusion in a block. - Pull most of CheckLockTime() out into VerifyLockTime(), a local function that will be reused for CheckSequence() - Add bitwise AND operator to CScriptNum - Enable CHECKSEQUENCEVERIFY as a standard script verify flag - Transactions that fail CSV verification will be rejected from the mempool, making it easy to test the feature. However blocks containing "invalid" CSV-using transactions will still be accepted; this is *not* the soft-fork required to actually enable CSV for production use.
* Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.mb300sd2015-12-154-32/+32
|