aboutsummaryrefslogtreecommitdiff
path: root/src/test/main_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* really s/doge/dis/g this timeTomo Ueda2021-09-021-4/+4
|
* Replace test data with Dogecoin valuesRoss Nicoll2018-09-191-27/+31
| | | | | | | | | | | | | | | | | | | Replace test data with Dogecoin equivalents in the folowing tests: * base58 * bip32 * keys * miner * pow Replace RPC and deterministic signatures in unit tests with Dogecoin values. While conventionally I'd use an alternative implementation for these, as RFC 6979 compliant signature generation isn't terribly common, and there's no reason to suspect we've modified this code, I'm going to assert that it's good enough to test that the code doesn't provide different values. Disabled Bitcoin PoW tests, but left code in place to simplify later merges. These are replaced by the Dogecoin PoW tests.
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|
* Move network-msg-processing code out of main to its own fileMatt Corallo2016-12-021-0/+1
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Switch blocks to a constant-space Merkle root/branch algorithm.Pieter Wuille2015-11-271-1/+0
| | | | | | | | | | | 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.
* Chainparams: Refactor: Decouple main::GetBlockValue() from Params() [renamed ↵Jorge Timón2015-05-151-3/+36
| | | | | | GetBlockSubsidy] Remove redundant getter CChainParams::SubsidyHalvingInterval()
* Merge pull request #5859Wladimir J. van der Laan2015-03-121-0/+17
|\ | | | | | | 9519a9a Add correct bool combiner for net signals (Pieter Wuille)
| * Add correct bool combiner for net signalsPieter Wuille2015-03-061-0/+17
| |
* | tests: change main and wallet tests to BOOST_FIXTURE_TEST_SUITEWladimir J. van der Laan2015-03-091-1/+3
|/ | | | | | | | | | Avoid this travis error: test_bitcoin: chainparams.cpp:330: const CChainParams& Params(): Assertion `pCurrentParams' failed. unknown location(0): fatal error in "subsidy_limit_test": signal: SIGABRT (application abort requested) test/allocator_tests.cpp(116): last checkpoint
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* MOVEONLY: core/ -> primitives/Luke Dashjr2014-12-031-1/+1
|
* MOVEONLY: Separate CTransaction and dependencies from corejtimon2014-10-271-1/+1
|
* Use a typedef for monetary valuesMark Friedenbach2014-09-261-2/+2
|
* Merge pull request #3842 from ditto-b/masterGavin Andresen2014-04-021-1/+1
|\ | | | | Fix for GetBlockValue() after block 13,440,000
| * Edit subsidy_limit_test to account for BIP42ditto-b2014-04-021-1/+1
| | | | | | Because no one wants 4 gold mines being discovered every mibillenium.
* | Add licenses for tests and test dataWladimir J. van der Laan2014-03-181-0/+4
|/ | | | | | | | - Add license headers to source files (years based on commit dates) in `src/test` as well as `qa` - Add `README.md` to `src/test/data` specifying MIT license Fixes #3848
* Total money limit testPieter Wuille2014-03-051-0/+20
Added bounds check by @il--ya. Updated-by: Wladimir van der Laan <[email protected]>