aboutsummaryrefslogtreecommitdiff
path: root/src/test/data
AgeCommit message (Collapse)Author
2013-06-05Removed AcceptToMemoryPool method from CTransaction. This method belongs to ↵Eric Lombrozo
the mempool instance. Removed AreInputsStandard from CTransaction, made it a regular function in main. Moved CTransaction::GetOutputFor to CCoinsViewCache. Moved GetLegacySigOpCount and GetP2SHSigOpCount out of CTransaction into regular functions in main. Moved GetValueIn and HaveInputs from CTransaction into CCoinsViewCache. Moved AllowFree, ClientCheckInputs, CheckInputs, UpdateCoins, and CheckTransaction out of CTransaction and into main. Moved IsStandard and IsFinal out of CTransaction and put them in main as IsStandardTx and IsFinalTx. Moved GetValueOut out of CTransaction into main. Moved CTxIn, CTxOut, and CTransaction into core. Added minimum fee parameter to CTxOut::IsDust() temporarily until CTransaction is moved to core.h so that CTxOut needn't know about CTransaction.
2013-06-02Add new data-driven test-case.Matt Corallo
2013-05-21Add a few data-driven tests for SIGHASH_ANYONECANPAYMatt Corallo
2013-03-19-alertnotify=<cmd>Gavin Andresen
Runs a shell command when an AppliesToMe() alert is received. %s in the <cmd> string is replaced with the alert.strStatusBar message.
2013-03-19Some unit tests for CAlertGavin Andresen
2013-03-01Test canonical prunable txout format explicitlyPeter Todd
2013-03-01Add coverage for all invalid opsPeter Todd
0xba thru 0xff
2012-10-20Merge pull request #1742 from sipa/canonicalJeff Garzik
Check for canonical public keys and signatures
2012-10-01data-driven base58 CBitcoinAddress/CBitcoinSecret testsWladimir J. van der Laan
Arbitrary numbers of test vectors can be generated using the script `gen_base58_test_vectors.py`.
2012-09-21Check for canonical public keys and signaturesPieter Wuille
Only enabled inside tests for now.
2012-09-05Add various tests for CTransaction::CheckTransaction()Matt Corallo
2012-08-20Add data-driven transaction tests.Matt Corallo
2012-08-20Add a few test cases to data-driven script tests.Matt Corallo
2012-05-25Remove newlines from JSON stringsGavin Andresen
Newlines in JSON strings are against the JSON spec, so remove them from the script*.json unit tests to make python's jsonrpc happy (json::spirit didn't care).
2012-05-25Unit tests for transaction size limitsGavin Andresen
2012-05-24Lots more Script unit test cases.Gavin Andresen
2012-05-24More CScript unit tests.Gavin Andresen
2012-04-21Data-drive script evaluation unit tests.Gavin Andresen