aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4890Wladimir J. van der Laan2014-10-064-32/+31
|\ | | | | | | | | | | e790c37 Replace SCRIPT_VERIFY_NOCACHE by flag directly to checker (Pieter Wuille) 5c1e798 Make signature cache optional (Pieter Wuille) c7829ea Abstract out SignatureChecker (Pieter Wuille)
| * Replace SCRIPT_VERIFY_NOCACHE by flag directly to checkerPieter Wuille2014-10-024-31/+30
| |
| * Abstract out SignatureCheckerPieter Wuille2014-10-021-1/+1
| |
* | DRY: Avoid repetitions in script_testjtimon2014-10-021-30/+7
|/
* Merge pull request #4985Wladimir J. van der Laan2014-10-021-72/+75
|\ | | | | | | | | bc470c4 Changed mixed indentation to four spaces (Eric Shaw) 31d6390 Fixed setaccount accepting foreign address (Eric Shaw)
| * Changed mixed indentation to four spacesEric Shaw2014-10-021-74/+73
| | | | | | | | Put `test/rpc_wallet_tests.cpp` through clang-format.
| * Fixed setaccount accepting foreign addressEric Shaw2014-10-021-2/+6
| | | | | | | | | | Fixed issue #4209 where using setaccount with a foreign address causes the address to be added to your receiving addresses.
* | Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner2014-10-023-3/+4
| | | | | | | | UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
* | Revert merge of pull #4845Wladimir J. van der Laan2014-10-024-279/+3
| | | | | | | | | | | | | | | | | | | | | | It breaks the new mingw tests! See - https://travis-ci.org/bitcoin/bitcoin/jobs/36845581 - https://travis-ci.org/bitcoin/bitcoin/jobs/36845582 This reverts commit 470590277782cce2fe73275c74523aef59a51eab, 5e2e7fcb99738d9254d4030d53e4f711b2fc5ee0, a25fd6be138ff2bff7e2ad6a1a789db523c0193f.
* | Merge pull request #4845Wladimir J. van der Laan2014-10-024-3/+279
|\ \ | | | | | | | | | | | | | | | 4705902 Avoid introducing a virtual into CChainParams (Wladimir J. van der Laan) 5e2e7fc Suggested corrections on comments, variable names. Also new test case testing the PoW skip in UNITTEST. (SergioDemianLerner) a25fd6b Switch testing framework from MAIN to new UNITTEST network (SergioDemianLerner)
| * | Suggested corrections on comments, variable names.SergioDemianLerner2014-09-291-42/+85
| | | | | | | | | | | | Also new test case testing the PoW skip in UNITTEST.
| * | Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner2014-09-294-3/+236
| | | | | | | | | | | | UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
* | | Merge pull request #4234Wladimir J. van der Laan2014-10-014-7/+7
|\ \ \ | | | | | | | | | | | | | | | | c122f55 qt: Register CAmount metatype (Wladimir J. van der Laan) a372168 Use a typedef for monetary values (Mark Friedenbach)
| * | | Use a typedef for monetary valuesMark Friedenbach2014-09-264-7/+7
| | | |
* | | | Merge pull request #5014Wladimir J. van der Laan2014-10-014-18/+31
|\ \ \ \ | | | | | | | | | | | | | | | 41d67c7 tests: fix python test-runner for windows (Cory Fields)
| * | | | tests: fix python test-runner for windowsCory Fields2014-09-304-18/+31
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows needed a few fixups to get the tests running: 1. bitcoin-tx needs a file extension in Windows. Take this opportunity to add an env file, which pulls variables out of our build config. This can be extended as needed, for now it's very simple. 2. After #1, split the args out of the exec key in the test data. 3. Correct the line-endings from windows stdout
* | | | Merge pull request #5015 from theuni/win64testGavin Andresen2014-09-301-3/+3
|\ \ \ \ | | | | | | | | | | tests: fix false-positive under win64
| * | | | tests: fix false-positive under win64Cory Fields2014-09-301-3/+3
| |/ / / | | | | | | | | | | | | BN_ULONG isn't necessarily an unsigned long, as is the case on win64.
* | | | Fix vector out of bounds in script testsPieter Wuille2014-09-291-8/+8
| | | |
* | | | Merge pull request #4960Pieter Wuille2014-09-294-44/+372
|\ \ \ \ | |_|_|/ |/| | | | | | | 8138cbe Add automatic script test generation, and actual checksig tests (Pieter Wuille)
| * | | Add automatic script test generation, and actual checksig testsPieter Wuille2014-09-264-44/+372
| | |/ | |/|
* | | Merge pull request #4970Wladimir J. van der Laan2014-09-291-1/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93e24dd travis: use debug for one build (Cory Fields) be6d87a script: don't read past the end (Cory Fields) a94496f tests: don't split an empty string (Cory Fields) 00522cd depends: disable reduced exports for debug builds (Cory Fields) 1f7fff2 depends: add docs for debug (Cory Fields) dc66ff5 depends: make LDFLAGS act like the other flags (Cory Fields) b1efba8 depends: give miniupnpc cppflags (Cory Fields) 1d154db depends: teach qt to honor debug/release (Cory Fields) 3b63df5 depends: boost: build for debug or release as requested (Cory Fields) 7e99df7 depends: make sure openssl sees cppflags (Cory Fields) f397304 depends: add debug/release flags for linux/osx/win (Cory Fields) 2027ad3 depends: add the debug/release concept to depends (Cory Fields)
| * | tests: don't split an empty stringCory Fields2014-09-251-1/+2
| |/
* / autofile: don't copy CAutoFile by valueCory Fields2014-09-251-1/+1
|/
* Merge pull request #4968Wladimir J. van der Laan2014-09-251-1/+1
|\ | | | | | | 219372f script: Fix reference into empty vector run time exception (ENikS)
| * script: Fix reference into empty vector run time exceptionENikS2014-09-251-1/+1
| | | | | | | | Edit by laanwj: `begin_ptr(sourcedata) + sourcedata.size()` -> `end_ptr(sourcedata)`
* | Fixing out of bounds asses errorENikS2014-09-231-1/+1
|/
* Add actual signature testsPieter Wuille2014-09-222-2/+33
|
* Use actually valid transactions for script testsPieter Wuille2014-09-223-5/+62
|
* test: Fix DoS tests after c74332cWladimir J. van der Laan2014-09-201-3/+7
| | | | Fix data structure mismatch ... The mind boggles that they were still passing at all.
* Merge pull request #4555Wladimir J. van der Laan2014-09-174-32/+32
|\ | | | | | | | | | | | | 6dcfda2 Don't pass nHashType to EvalScript nor CheckSig (jtimon) 2b23a87 Don't pass nHashType to VerifyScript (jtimon) ce3649fb Remove CScriptCheck::nHashType (was always 0) (jtimon) 358562b Remove unused function main:VerifySignature (jtimon)
| * Don't pass nHashType to EvalScript nor CheckSigjtimon2014-09-121-4/+4
| |
| * Don't pass nHashType to VerifyScriptjtimon2014-09-124-27/+27
| |
| * Remove CScriptCheck::nHashType (was always 0)jtimon2014-09-121-1/+1
| |
| * Remove unused function main:VerifySignaturejtimon2014-09-121-1/+1
| |
* | Move CTxDestination from script/script to script/standardPieter Wuille2014-09-166-39/+35
| |
* | bitcoin-util-test: Test bitcoin-tx with null scriptPubKeyLuke Dashjr2014-09-142-0/+4
|/
* Merge pull request #4876Pieter Wuille2014-09-124-794/+821
|\ | | | | | | 6022b5d Make script_{valid,invalid}.json validation flags configurable (Pieter Wuille)
| * Make script_{valid,invalid}.json validation flags configurablePieter Wuille2014-09-084-794/+821
| |
* | Stricter handling of orphan transactionsGavin Andresen2014-09-101-4/+13
| | | | | | | | | | | | | | Prevent denial-of-service attacks by banning peers that send us invalid orphan transactions and only storing orphan transactions given to us by a peer while the peer is connected.
* | Rename scriptutils.o to wallet_ismine.ojtimon2014-09-102-2/+2
| |
* | Move scriptutils.o to walletjtimon2014-09-102-1/+19
|/
* Separate script/signjtimon2014-09-084-2/+4
|
* Separate script/interpreterjtimon2014-09-083-2/+5
|
* Move CScript class and dependencies to script/scriptjtimon2014-09-089-5/+9
|
* Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes)jtimon2014-09-0811-15/+11
|
* fix comments ExtractAddress() -> ExtractDestination()jtimon2014-08-281-2/+2
|
* Merge pull request #4377Pieter Wuille2014-08-271-5/+1
|\ | | | | | | | | | | 654871d replace ComputeMinWork with CheckMinWork (jtimon) b343c1a Move CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits) (jtimon) c2c02f3 Move UpdateTime to pow (jtimon)
| * replace ComputeMinWork with CheckMinWorkjtimon2014-08-231-5/+1
| |
* | Merge pull request #4748Pieter Wuille2014-08-2611-29/+51
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ad49c25 Split up util.cpp/h (Wladimir J. van der Laan) f841aa2 Move `COIN` and `CENT` to core.h (Wladimir J. van der Laan) 6e5fd00 Move `*Version()` functions to version.h/cpp (Wladimir J. van der Laan) b4aa769 Move `S_I*` constants and `MSG_NOSIGNAL` to compat.h (Wladimir J. van der Laan) af8297c Move functions in wallet.h to implementation file (Wladimir J. van der Laan) 651480c move functions in main and net to implementation files (Wladimir J. van der Laan) 610a8c0 Move SetThreadPriority implementation to util.cpp instead of the header (Wladimir J. van der Laan) f780e65 Remove unused function `ByteReverse` from util.h (Wladimir J. van der Laan) 121d6ad Remove unused `alignup` function from util.h (Wladimir J. van der Laan) d1e26d4 Move CMedianFilter to timedata.cpp (Wladimir J. van der Laan)