aboutsummaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2012-02-20Fix tests after 38067c18Pieter Wuille
2012-02-07New GetArg features: allow --, and booleans can be -foo or -nofooGavin Andresen
2012-02-07Unit tests for the GetArg() methodsGavin Andresen
2012-02-07Merge branch 'standardScriptSigs' of github.com:gavinandresen/bitcoin-gitGavin Andresen
2012-01-20Simplify counting of P2SH sigops to match BIP 16 (thanks to Matt Corallo for ↵Gavin Andresen
prompting this). This also removes an un-needed sigops-per-byte check when accepting transactions to the memory pool (un-needed assuming only standard transactions are being accepted). And it only counts P2SH sigops after the switchover date.
2012-01-19Make transactions with extra data in their scriptSig's non-standard.Gavin Andresen
2012-01-13Refactored ConnectInputs, so valid-transaction-checks are done before ↵Gavin Andresen
ECDSA-verifying signatures.
2012-01-13Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).Gavin Andresen
2012-01-09Unit tests for EC key routinesPieter Wuille
This tests: * creation of keys from base58-encoded strings * extracting public keys and addresses * compressed public keys * compact signatures and key recovery
2012-01-06Network stack refactorPieter Wuille
This introduces CNetAddr and CService, respectively wrapping an (IPv6) IP address and an IP+port combination. This functionality used to be part of CAddress, which also contains network flags and connection attempt information. These extra fields are however not always necessary. These classes, along with logic for creating connections and doing name lookups, are moved to netbase.{h,cpp}, which does not depend on headers.h. Furthermore, CNetAddr is mostly IPv6-ready, though IPv6 functionality is not yet enabled for the application itself.
2012-01-03make sure IsMine only returns true when we own all keyscoderrr
2011-12-27Fixed OP_EVAL recursion unit test, checks for both infinite and ↵Gavin Andresen
exactly-3-deep recursion
2011-12-22Fix broken ExtractAddress (refactored, made callers check for addresses in ↵Gavin Andresen
keystore if they care)
2011-12-21Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
2011-12-20Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr
2011-12-19Use block times for 'hard' OP_EVAL switchover, and refactored EvalScriptGavin Andresen
so it takes a flag for how to interpret OP_EVAL. Also increased IsStandard size of scriptSigs to 500 bytes, so a 3-of-3 multisig transaction IsStandard.
2011-12-19Interpret OP_EVAL as OP_NOP until Feb 1, 2012Gavin Andresen
2011-12-19OP_EVAL implementationGavin Andresen
OP_EVAL is a new opcode that evaluates an item on the stack as a script. It enables a new type of bitcoin address that needs an arbitrarily complex script to redeem.
2011-12-19Global fixture to send output to console instead of debug.logGavin Andresen
2011-12-19Support 3 new multisignature IsStandard transactionsGavin Andresen
Initial support for (a and b), (a or b), and 2-of-3 escrow transactions (where a, b, and c are keys).
2011-12-19Rework unit tests so test_bitcoin.cpp does not #include them allGavin Andresen
2011-12-01Orphan block fill-up-memory attack preventionGavin Andresen
2011-12-01Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen
attacks
2011-11-02Added simple critical section test cases.Clark Gaebel
2011-10-05Fix miner_test unit test bugGavin Andresen
2011-10-05Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoinGavin Andresen
2011-10-03Declare integer constant LLGavin Andresen
2011-10-01remove possibility of 63 bit overflow in ParseMoneyWladimir J. van der Laan
- also, add unit tests for various functions in util.cpp/util.h
2011-09-30remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider
2011-09-30Merge pull request #524 from sipa/signandverifGavin Andresen
Sign and verify message with bitcoin address
2011-09-28Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: .gitignore (used upstream version) bitcoin-qt.pro
2011-09-28use median filter for peer-reported reported number of blocksWladimir J. van der Laan
- fixes problem that one misconfigured or malicious node can mess up progress bar - implementation in src/util.h - testcase in src/test/util_tests.cpp
2011-09-27Test case for base64 encode/decodePieter Wuille
2011-09-21Framework for banning mis-behaving peersGavin Andresen
2011-08-26CHECKMULTISIG unit tests.Gavin Andresen
2011-08-08Cleanup test suite output to be more useful.Matt Corallo
2011-08-08Add file for transaction tests.Matt Corallo
2011-08-08Add a file for script testsVegard Nossum
2011-08-08Fix testing setupVegard Nossum
There were some problems with the existing testing setup: - Makefile rules for test-file compilation used CFLAGS instead of CXXFLAGS in makefile.unix
2011-06-27Boost unit-testing framework.Gavin Andresen
make -f makefile.{unix,osx,mingw} test_bitcoin to compile dumb, do-almost-nothing placeholder unit tests.