aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
Commit message (Collapse)AuthorAgeFilesLines
* build: Split hardening/fPIE options outCory Fields2015-11-091-1/+2
| | | | This allows for fPIE to be used selectively.
* leveldbwrapper file rename to dbwrapper.*Jeff Garzik2015-10-221-1/+1
|
* Merge pull request #6720Wladimir J. van der Laan2015-10-071-0/+1
|\ | | | | | | 1534d9a Creates unittests for addrman, makes addrman testable. Adds several unittests for addrman to verify it works as expected. Makes small modifications to addrman to allow deterministic and targeted tests. (EthanHeilman)
| * Creates unittests for addrman, makes addrman testable.EthanHeilman2015-09-241-0/+1
| | | | | | | | | | Adds several unittests for addrman to verify it works as expected. Makes small modifications to addrman to allow deterministic and targeted tests.
* | Merge pull request #6650Wladimir J. van der Laan2015-10-061-0/+2
|\ \ | | | | | | | | | 42cb388 Add chainstate obfuscation to avoid spurious antivirus detection (James O'Beirne)
| * | Add chainstate obfuscation to avoid spurious antivirus detectionJames O'Beirne2015-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Adds an `obfuscate` parameter to `CLevelDBWrapper` and makes use of it for all new chainstate stores built via `CCoinsViewDB`. Also adds an `Xor` method to `CDataStream`. Thanks to @sipa @laanwj @pstratem @dexX7 @KyrosKrane @gmaxwell.
* | | [Univalue] add univalue over subtreeJonas Schnelli2015-10-011-1/+2
| |/ |/| | | | | similar to secp256k1 include and compile univalue over a subtree
* | Add ZeroMQ support. Notify blocks and transactions via ZeroMQJeff Garzik2015-09-161-0/+4
| | | | | | | | | | | | | | | | | | Continues Johnathan Corgan's work. Publishing multipart messages Bugfix: Add missing zmq header includes Bugfix: Adjust build system to link ZeroMQ code for Qt binaries
* | Replace boost::reverse_lock with our own.Casey Rodarmor2015-09-031-0/+1
|/
* Add limitedmap testCasey Rodarmor2015-08-171-0/+1
|
* Add support for data-based outputs (OP_RETURN) to bitcoin-tx.Pavel Janík2015-08-061-0/+2
|
* Unit test doublespends in new blocksGavin Andresen2015-07-271-0/+1
| | | | | | | As suggested by Greg Maxwell-- unit test to make sure a block with a double-spend in it doesn't pass validation if half of the double-spend is already in the memory pool (so full-blown transaction validation is skipped) when the block is received.
* Merge pull request #5964Gavin Andresen2015-05-141-0/+1
|\ | | | | | | | | | | | | | | | | | | 9a1dcea Use CScheduler for net's DumpAddresses (Gavin Andresen) ddd0acd Create a scheduler thread for lightweight tasks (Gavin Andresen) 68d370b CScheduler unit test (Gavin Andresen) cfefe5b scheduler: fix with boost <= 1.50 (Cory Fields) ca66717 build: make libboost_chrono mandatory (Cory Fields) 928b950 CScheduler class for lightweight task scheduling (Gavin Andresen) e656560 [Qt] add defaultConfirmTarget constant to sendcoinsdialog (Philip Kaufmann)
| * CScheduler unit testGavin Andresen2015-05-141-0/+1
| |
* | Merge pull request #5159Wladimir J. van der Laan2015-05-131-0/+1
|\ \ | |/ |/| | | b649e03 Create new BlockPolicyEstimator for fee estimates (Alex Morcos)
| * Create new BlockPolicyEstimator for fee estimatesAlex Morcos2015-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This class groups transactions that have been confirmed in blocks into buckets, based on either their fee or their priority. Then for each bucket, the class calculates what percentage of the transactions were confirmed within various numbers of blocks. It does this by keeping an exponentially decaying moving history for each bucket and confirm block count of the percentage of transactions in that bucket that were confirmed within that number of blocks. -Eliminate txs which didn't have all inputs available at entry from fee/pri calcs -Add dynamic breakpoints and tracking of confirmation delays in mempool transactions -Remove old CMinerPolicyEstimator and CBlockAverage code -New smartfees.py -Pass a flag to the estimation code, using IsInitialBlockDownload as a proxy for when we are still catching up and we shouldn't be counting how many blocks it takes for transactions to be included. -Add a policyestimator unit test
* | fix and enable bip32 unit testJonas Schnelli2015-04-231-0/+1
|/ | | | the bip32 unit test was not included in the make process
* Keep mempool consistent during block-reorgsGavin Andresen2015-03-261-0/+1
| | | | | | | | | | | | | | | | This fixes a subtle bug involving block re-orgs and non-standard transactions. Start with a block containing a non-standard transaction, and one or more transactions spending it in the memory pool. Then re-org away from that block to another chain that does not contain the non-standard transaction. Result before this fix: the dependent transactions get stuck in the mempool without their parent, putting the mempool in an inconsistent state. Tested with a new unit test.
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-1/+1
| | | | could once be renamed from /src/wallet to /src/legacywallet.
* Merge pull request #5852Wladimir J. van der Laan2015-03-091-0/+1
|\ | | | | | | 51598b2 Reinitialize state in between individual unit tests. (Pieter Wuille)
| * Reinitialize state in between individual unit tests.Pieter Wuille2015-03-031-0/+1
| | | | | | | | | | This changes the TestingSetup fixture to be per-unit-test rather than global. Most tests don't need it, so it's only invoked in a few.
* | Add unit tests for next difficulty calculationsRoss Nicoll2015-02-211-0/+1
|/ | | | | | | Split GetNextWorkRequired() into two functions to allow the difficulty calculations to be tested without requiring a full blockchain. Add unit tests to cover basic difficulty calculation, plus each of the min/max actual time, and maximum difficulty target conditions.
* remove sig_canonical.json and sig_noncanonical.jsonManuel Araoz2015-01-311-2/+0
|
* tests: run sanity checks in tests tooCory Fields2015-01-051-0/+1
| | | | If these are going to fail in bitcoind, they should fail in the tests as well.
* Add tests for new uint256Wladimir J. van der Laan2015-01-051-0/+1
|
* uint256->arith_uint256 blob256->uint256Wladimir J. van der Laan2015-01-051-1/+1
| | | | | Introduce new opaque implementation of `uint256`, move old "arithmetic" implementation to `arith_uint256.
* Merge #5528 fromJeff Garzik2014-12-311-1/+2
|\ | | | | | | branch 'bitcoin-tx-copy-paste' of git://github.com/ers35/bitcoin into merge-5528
| * bitcoin-tx: Add test case for signing a txEric R. Schulz2014-12-241-1/+2
| |
* | build: fix 'make distcheck'Cory Fields2014-12-191-1/+3
|/ | | | | Rather than treating the .py as a regular built test, run it from check-local so that we can better control the paths used.
* build: fix link error on some platforms. Fixes #5235Cory Fields2014-11-201-1/+1
| | | | | | | | | | | Some users may have libtool libs (.la) installed in their linker search paths. In this case, using -static-libtool-libs would try to link in .a's instead of shared libs. That would be harmless unless the .a was built in a way that would break linking, like non-fpic. What we really want is "-static" here. Despite its name, it's actually less aggressive than -static-libtool-libs. It causes only internal libs to be linked statically (libbitcoinconsensus is the one were'a after).
* build: add --with-libs so that libs are optionalCory Fields2014-11-191-1/+1
|
* build: add libbitcoinconsensus files and hook up the lib buildCory Fields2014-11-191-1/+1
| | | | Credit BlueMatt for libbitcoinsonsensus.h/cpp
* build: make a distinction between static app ldflags and static lib ldflagsCory Fields2014-11-191-1/+1
| | | | | For windows builds, exe's are always static, but libs should still conform to --enabled-shared and --enable-static.
* build: secp256k1 as a subdir, since it's requiredCory Fields2014-11-181-0/+3
|
* Always build and link libsecp256k1Pieter Wuille2014-11-181-5/+1
|
* minor cleanup: include orders, end comments etc.Philip Kaufmann2014-10-311-4/+4
| | | | - no code changes
* build: quit abusing LIBS for Windows builds.Cory Fields2014-10-131-1/+1
| | | | | | | | Similar to the INCLUDES changes in 6b099402b40, split out LIBS into individual entries for more fine-grained control. Also add MINIUPNPC_LIBS which was missing before, and hook it up to executables.
* Make SCRIPT_VERIFY_STRICTENC compatible with BIP62Pieter Wuille2014-10-081-1/+0
| | | | | | | | * Delete canonical_tests.cpp, and move the tests to script_tests.cpp. * Split off SCRIPT_VERIFY_DERSIG from SCRIPT_VERIFY_STRICTENC (the BIP62 part of it). * Change signature STRICTENC/DERSIG semantics to fail the script entirely rather than the CHECKSIG result (softfork safety, and BIP62 requirement). * Add many autogenerated tests for several odd cases. * Mention specific BIP62 rules in the script verification flags.
* Add coins_tests with a large randomized CCoinViewCache test.Pieter Wuille2014-09-231-0/+1
|
* bitcoin-util-test: Test bitcoin-tx with null scriptPubKeyLuke Dashjr2014-09-141-1/+2
|
* Move CMedianFilter to timedata.cppWladimir J. van der Laan2014-08-261-0/+1
| | | | | Now that we no longer use the median filter to keep track of the number of blocks of peers, that's the only place it is used.
* Merge pull request #4733Jeff Garzik2014-08-221-1/+6
|\
| * Add bitcoin-tx testsJeff Garzik2014-08-191-1/+6
| | | | | | | | | | Testing: delin, delout, locktime, and basic createrawtransaction-like functionality.
* | UniValue: add unit testsJeff Garzik2014-08-201-0/+1
|/
* Add "it works" test for bitcoin-txJeff Garzik2014-08-191-1/+8
|
* build: add option for reducing exports (v2)Cory Fields2014-08-181-0/+1
| | | | | | | | | | | | This was committed previously as 4975ae172 and reverted, because the flags were applied even if the checks didn't pass. This is the same commit, fixed up to actually disable the functionality when necessary. Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
* Revert "build: add option for reducing exports"Wladimir J. van der Laan2014-08-181-1/+0
| | | | | | | | | Revert #4663 for now. It still breaks the pulltester. This reverts commit 4975ae1722cd8af63eda2f02ef64a98091b6fb58. Conflicts: configure.ac
* build: add option for reducing exportsCory Fields2014-08-151-0/+1
| | | | | | | | Enabled automatically if boost >= 1.49. See: https://svn.boost.org/trac/boost/ticket/2309 Also, check for a default visibility attribute, so that we can mark future api functions correctly.
* build: fix automake warnings about the use of INCLUDESCory Fields2014-08-151-1/+1
| | | | | | | | | | | While we're at it, reduce the use of LIBS as well. This makes dependencies explicit. Fixes building with (the not-yet-merged) libsecp256k1 as well. Github-Pull: #4689 Rebased-By: Wladimir J. van der laan <[email protected]> Rebased-From: 909b347 c0e5dda
* Add "bitcoin-tx" command line utility and supporting modules.Jeff Garzik2014-07-291-1/+1
| | | | | | | | | | | | | This is a simple utility that provides command line manipulation of a hex-encoded TX. The utility takes a hex string on the command line as input, performs zero or more mutations, and outputs a hex string to standard output. This utility is also an intentional exercise of the "bitcoin library" concept. It is designed to require minimal libraries, and works entirely without need for any RPC or P2P communication. See "bitcoin-tx --help" for command and options summary.