Pieter Wuille
c7075c4b65
Fix tests after cache tweaks
12 years ago
Pieter Wuille
7fea484674
Add -reindex, to perform in-place reindexing of block chain files
...
Flushes the blktree/ and coins/ databases, and reindexes the
block chain files, as if their contents was loaded via -loadblock.
Based on earlier work by Jeff Garzik.
12 years ago
Pieter Wuille
4ca60bba5c
Remove BDB block database support
12 years ago
Pieter Wuille
e1bfbab802
Add LevelDB MemEnv support
...
Support LevelDB memory-backed environments, and use them in unit tests.
12 years ago
Pieter Wuille
d979e6e36a
Use singleton block tree database instance
12 years ago
Gavin Andresen
4d51be1cf3
Suppress output when running unit tests.
...
This does two things:
1) Now does not output to debug.log if -printtodebugger flag is passed
2) Unit tests set -printtodebugger so only test results are output to stdout
Note that -printtodebugger only actually prints to the debugger on Windows.
12 years ago
Luke Dashjr
148e107da6
Run BDB disk-less for test_bitcoin
13 years ago
Wladimir J. van der Laan
641cfb1456
Fix build of testcases after commit 0f10b21719
13 years ago
Wladimir J. van der Laan
239c11d0dd
Make testcases build, prevent windows symbol collision
13 years ago
Gavin Andresen
922e8e2929
Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).
13 years ago
Gavin Andresen
cc40ba2151
Global fixture to send output to console instead of debug.log
13 years ago
Gavin Andresen
1466b8b78a
Rework unit tests so test_bitcoin.cpp does not #include them all
13 years ago
Gavin Andresen
eb5fff9e16
Moved checkpoints out of main, to prep for using them to help prevent DoS attacks
13 years ago
Wladimir J. van der Laan
2f7f2a5fca
remove possibility of 63 bit overflow in ParseMoney
...
- also, add unit tests for various functions in util.cpp/util.h
13 years ago
Nils Schneider
6ccff2cbde
remove cryptopp dependency, add simple unittest for SHA256Transform()
13 years ago
Pieter Wuille
e93bf37e86
Test case for base64 encode/decode
13 years ago
Gavin Andresen
15f3ad4dbd
Framework for banning mis-behaving peers
13 years ago
Matt Corallo
2c3691d53d
Cleanup test suite output to be more useful.
13 years ago
Matt Corallo
3c8cecda1f
Add file for transaction tests.
13 years ago
Vegard Nossum
a8330e0049
Add a file for script tests
13 years ago
Vegard Nossum
e707d29dd6
Fix testing setup
...
There were some problems with the existing testing setup:
- Makefile rules for test-file compilation used CFLAGS instead of
CXXFLAGS in makefile.unix
13 years ago
Gavin Andresen
8baf865c94
Boost unit-testing framework.
...
make -f makefile.{unix,osx,mingw} test_bitcoin
to compile dumb, do-almost-nothing placeholder unit tests.
14 years ago