aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
Commit message (Collapse)AuthorAgeFilesLines
* Remove rpc_wallet_tests.cppPatrick Strateman2016-08-071-2/+1
|
* Merge #8275: Remove bad chain alert partition checkWladimir J. van der Laan2016-07-061-1/+0
|\ | | | | | | ab8be98 Remove bad chain alert partition check (BtcDrak)
| * Remove bad chain alert partition checkBtcDrak2016-06-141-1/+0
| | | | | | | | | | | | | | | | | | As per meeting 2016-03-31 https://bitcoincore.org/en/meetings/2016/03/31/#bad-chain-alerts The partition checker was producing huge number of false-positives and was disabled in 0.12.1 on the understanding it would either be fixed in 0.13 or removed entirely from master if not.
* | Add some blockencodings testsMatt Corallo2016-06-191-0/+1
|/
* Merge #8133: build: Finish up out-of-tree changesWladimir J. van der Laan2016-06-101-0/+3
|\ | | | | | | | | | | | | | | | | | | d1a3d57 bulid: fix "make translate" when out-of-tree (Cory Fields) 340012d build: add temporary fix for "bad magic number" error in out-of-tree builds (Cory Fields) 142ffc7 travis: use out-of-tree build (Cory Fields) 92e37a3 build: fix out-of-tree 'make deploy' for osx (Cory Fields) ab95d5d build: a few ugly hacks to get the rpc tests working out-of-tree (Cory Fields) fc4ad0c build: more out-of-tree fixups (Cory Fields) 0cb0f26 build: out-of-tree fixups (Cory Fields)
| * build: add temporary fix for "bad magic number" error in out-of-tree buildsCory Fields2016-06-031-0/+3
| | | | | | | | | | | | | | This was caused by an pyc files hanging around from previous python2 invocations, when the matching .py missing from that path. This should not be a problem with python3's tagged caches.
* | [Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issueJonas Schnelli2016-06-071-1/+3
|/
* Merge #7689: Replace OpenSSL AES with ctaes-based versionPieter Wuille2016-06-011-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 723779c build: Enumerate ctaes rather than globbing (Cory Fields) 34ed64a crypter: add tests for crypter (Cory Fields) 0a36b9a crypter: shuffle Makefile so that crypto can be used by the wallet (Cory Fields) 976f9ec crypter: add a BytesToKey clone to replace the use of openssl (Cory Fields) 9049cde crypter: hook up the new aes cbc classes (Cory Fields) fb96831 crypter: constify encrypt/decrypt (Cory Fields) 1c391a5 crypter: fix the stored initialization vector size (Cory Fields) daa3841 crypto: add aes cbc tests (Cory Fields) 27a212d crypto: add AES 128/256 CBC classes (Cory Fields) 6bec172 Add ctaes-based constant time AES implementation (Pieter Wuille) a545127 Squashed 'src/crypto/ctaes/' content from commit cd3c3ac (Pieter Wuille)
| * crypter: add tests for crypterCory Fields2016-05-131-0/+1
| | | | | | | | | | | | | | Verify that results correct (match known values), consistent (encrypt->decrypt matches the original), and compatible with the previous openssl implementation. Also check that failed encrypts/decrypts fail the exact same way as openssl.
* | Merge #7696: Fix de-serialization bug where AddrMan is left corruptedPieter Wuille2016-05-171-0/+1
|\ \ | |/ |/| | | 1475ecf Fix de-serialization bug where AddrMan is corrupted after exception * CAddrDB modified so that when de-serialization code throws an exception Addrman is reset to a clean state * CAddrDB modified to make unit tests possible * Regression test created to ensure bug is fixed * StartNode modifed to clear adrman if CAddrDB::Read returns an error code. (EthanHeilman)
| * Fix de-serialization bug where AddrMan is corrupted after exceptionEthanHeilman2016-05-041-0/+1
| | | | | | | | | | | | | | * CAddrDB modified so that when de-serialization code throws an exception Addrman is reset to a clean state * CAddrDB modified to make unit tests possible * Regression test created to ensure bug is fixed * StartNode modifed to clear adrman if CAddrDB::Read returns an error code.
* | test: Create test fixture for walletWladimir J. van der Laan2016-04-181-0/+2
| | | | | | | | | | Removes all the `#ifdef ENABLE_WALLET` from `test_bitcoin` by making the wallet tests use their own fixture.
* | test: move accounting_tests and rpc_wallet_tests to wallet/testWladimir J. van der Laan2016-04-181-2/+2
| | | | | | | | Move the two other wallet tests to where they belong.
* | Merge script_valid and script_invalid testsPieter Wuille2016-04-051-2/+1
| |
* | Merge #7723: build: python 3 compatibilityWladimir J. van der Laan2016-03-291-1/+1
|\ \ | | | | | | | | | 18f05c7 build: python 3 compatibility (Wladimir J. van der Laan)
| * | build: python 3 compatibilityWladimir J. van der Laan2016-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ubuntu 16.04 "xenial xerus" does not come with Python 2.x by default. It is possible to install a python-2.7 package, but this has its own problem: no `python` or `python2` symlink (see #7717). This fixes the following scripts to work with python 3: - `make check` (bctest,py, bitcoin-util-test.py) - `make translate` (extract_strings_qt.py) - `make symbols-check` (symbol-check.py) - `make security-check` (security-check.py) Explicitly call the python commands using $(PYTHON) instead of relying on the interpreter line at the top of the scripts.
* | | Merge #7692: Remove p2p alert systemWladimir J. van der Laan2016-03-211-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfd519e Add release note documentation (BtcDrak) 6601ce5 protocol.h/cpp: Removes NetMsgType::ALERT (Thomas Kerin) ad72104 Formatting (BtcDrak) 1b77471 Remove alert keys (BtcDrak) 01fdfef Remove `-alerts` option (BtcDrak) 9206634 Update alert notification and GUI (BtcDrak) bbb9d1d Remove p2p alert handling (BtcDrak)
| * | | Remove p2p alert handlingBtcDrak2016-03-181-1/+1
| |/ /
* | | Merge #7705: [amount] Add tests and make GetFee() monotonicWladimir J. van der Laan2016-03-211-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | fad13b1 [amount] Preempt issues with negative fee rates (MarcoFalke) faf756a [amount] Make GetFee() monotonic (MarcoFalke) fab6880 [qa] Add amount tests (MarcoFalke)
| * | [qa] Add amount testsMarcoFalke2016-03-171-0/+1
| | |
* | | Versionbits testsPieter Wuille2016-03-151-0/+1
|/ /
* | Move GetTempPath() to testutil.Mustafa2016-03-111-0/+2
| |
* | tests: Remove May15 testWladimir J. van der Laan2016-02-091-1/+0
|/ | | | | | | | | | | | | | This test is no longer relevant. It was introduced in 8c222dca4f961ad13ec64d690134a40d09b20813 to check the switch to 1MB blocks after the BDB too-many-locks issue back in 2013. The switching code has been long since removed. It also needs a specific data file that is hard to find. I've verified in #6320 that it still passes, however I think there is zero reason to keep it. Closes #6320.
* Merge #7349: Build against system UniValue when availableWladimir J. van der Laan2016-02-041-0/+2
|\ | | | | | | | | | | | | | | | | | | 42407ed build-unix: Update UniValue build conditions (Luke Dashjr) cdcad9f LDADD dependency order shuffling (Luke Dashjr) 62f7f2e Bugfix: Always include univalue in DIST_SUBDIRS (Luke Dashjr) 2356515 Change default configure option --with-system-univalue to "no" (Luke Dashjr) 5d3b29b doc: Add UniValue to build instructions (Luke Dashjr) ab22705 Build against system UniValue when available (Luke Dashjr) 2adf7e2 Bugfix: The var is LIBUNIVALUE,not LIBBITCOIN_UNIVALUE (Luke Dashjr)
| * Build against system UniValue when availableLuke Dashjr2016-01-151-0/+2
| |
* | Merge #7091: Consensus build packageWladimir J. van der Laan2016-02-021-1/+1
|\ \ | | | | | | | | | | | | | | | cf82d05 Build: Consensus: Make libbitcoinconsensus_la_SOURCES fully dynamic and dependend on both crypto and consensus packages (Jorge Timón) 4feadec Build: Libconsensus: Move libconsensus-ready files to the consensus package (Jorge Timón) a3d5eec Build: Consensus: Move consensus files from common to its own module/package (Jorge Timón)
| * | Build: Consensus: Move consensus files from common to its own module/packageJorge Timón2015-12-081-1/+1
| |/
* | Merge pull request #7133Wladimir J. van der Laan2015-12-031-1/+0
|\ \ | |/ |/| | | | | | | | | | | | | aa4b0c2 When not filtering blocks, getdata sends more in one test (Pieter Wuille) d41e44c Actually only use filterInventoryKnown with MSG_TX inventory messages. (Gregory Maxwell) b6a0da4 Only use filterInventoryKnown with MSG_TX inventory messages. (Patick Strateman) 6b84935 Rename setInventoryKnown filterInventoryKnown (Patick Strateman) e206724 Remove mruset as it is no longer used. (Gregory Maxwell) ec73ef3 Replace setInventoryKnown with a rolling bloom filter. (Gregory Maxwell)
| * Remove mruset as it is no longer used.Gregory Maxwell2015-11-301-1/+0
| |
* | Merge pull request #6914Wladimir J. van der Laan2015-12-011-0/+1
|\ \ | |/ |/| | | 114b581 Prevector type (Pieter Wuille)
| * Prevector typePieter Wuille2015-11-131-0/+1
| |
* | Switch blocks to a constant-space Merkle root/branch algorithm.Pieter Wuille2015-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | This switches the Merkle tree logic for blocks to one that runs in constant (small) space. The old code is moved to tests, and a new test is added that for various combinations of block sizes, transaction positions to compute a branch for, and mutations: * Verifies that the old code and new code agree for the Merkle root. * Verifies that the old code and new code agree for the Merkle branch. * Verifies that the computed Merkle branch is valid. * Verifies that mutations don't change the Merkle root. * Verifies that mutations are correctly detected.
* | Replace scriptnum_test's normative ScriptNum implementationWladimir J. van der Laan2015-11-251-1/+1
|/ | | | | Compare against the scriptnum from Bitcoin Core 0.10 instead of OpenSSL. Closes #7086.
* 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