aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge #9349: Make CScript (and prevector) c++11 movable.Pieter Wuille2016-12-271-1/+20
|\ | | | | | | 2ddfcfd Make CScript (and prevector) c++11 movable. (Pieter Wuille)
| * Make CScript (and prevector) c++11 movable.Pieter Wuille2016-12-211-1/+20
| | | | | | | | | | Such moves are used when reallocating vectors that contain them, for example.
* | Merge #9243: Clean up mapArgs and mapMultiArgs UsagePieter Wuille2016-12-273-6/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | c2f61be Add a ForceSetArg method for testing (Matt Corallo) 4e04814 Lock mapArgs/mapMultiArgs access in util (Matt Corallo) 4cd373a Un-expose mapArgs from utils.h (Matt Corallo) 71fde55 Get rid of mapArgs direct access in ZMQ construction (Matt Corallo) 0cf86a6 Introduce (and use) an IsArgSet accessor method (Matt Corallo) 2b5f085 Fix non-const mapMultiArgs[] access after init. (Matt Corallo) c8042a4 Remove arguments to ParseConfigFile (Matt Corallo)
| * | Add a ForceSetArg method for testingMatt Corallo2016-12-272-6/+4
| | |
| * | Un-expose mapArgs from utils.hMatt Corallo2016-12-243-0/+5
| | |
| * | Introduce (and use) an IsArgSet accessor methodMatt Corallo2016-12-231-2/+2
| | |
| * | Fix non-const mapMultiArgs[] access after init.Matt Corallo2016-12-231-1/+1
| | | | | | | | | | | | | | | Swap mapMultiArgs for a const-reference to a _mapMultiArgs which is only accessed in util.cpp
* | | Merge #9435: Removed unused variable in test, fixing warning.MarcoFalke2016-12-271-1/+0
|\ \ \ | |/ / |/| | | | | 35356b4 Remove unused variable in test, fixing warning. (Russell Yanofsky)
| * | Remove unused variable in test, fixing warning.Russell Yanofsky2016-12-271-1/+0
| |/ | | | | | | | | Pointed out by Pavel Janík <[email protected]> in https://github.com/bitcoin/bitcoin/pull/9308.
* / Re-enable a blank v1 Tx JSON testDouglas Roark2016-12-212-3/+8
|/
* Merge #8589: Inline CTxInWitness inside CTxInWladimir J. van der Laan2016-12-213-36/+16
|\ | | | | | | f6fb7ac Move CTxInWitness inside CTxIn (Pieter Wuille)
| * Move CTxInWitness inside CTxInPieter Wuille2016-12-043-36/+16
| |
* | Merge #9308: [test] Add CCoinsViewCache Access/Modify/Write testsWladimir J. van der Laan2016-12-211-0/+364
|\ \ | | | | | | | | | 07df40b [test] Add CCoinsViewCache Access/Modify/Write tests (Russell Yanofsky)
| * | [test] Add CCoinsViewCache Access/Modify/Write testsRussell Yanofsky2016-12-051-0/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add more comprehensive unit tests for CCoinsViewCache. Right now it is hard to refactor caching code or fix bugs in the caching logic because you have to try to mentally enumerate all the different states the cache might be in to make sure a change doesn't cause unintended consequences. The new tests explicitly enumerate relevant cache states, documenting and verifying the behavior in each state, so it will be safer and easier to make changes to the caching code in the future.
* | | Merge #9376: Remove unused test files and referencesWladimir J. van der Laan2016-12-211-33/+0
|\ \ \ | |/ / |/| | | | | | | | 9cb6624 Fix testfile reference (BtcDrak) 23208ac Remove unused test files and references (BtcDrak)
| * | Remove unused test files and referencesBtcDrak2016-12-191-33/+0
| | |
* | | Merge #9354: Make fuzzer actually test CTxOutCompressorWladimir J. van der Laan2016-12-191-2/+2
|\ \ \ | | | | | | | | | | | | 5dd626a Make fuzzer actually test CTxOutCompressor (Pieter Wuille)
| * | | Make fuzzer actually test CTxOutCompressorPieter Wuille2016-12-151-2/+2
| |/ /
* / / Uses built-in byte swap if available (Apple) and if bswap_XX is undefined.Karl-Johan Alm2016-12-171-0/+26
|/ / | | | | | | Defers to pre-defined version if found (e.g. protobuf). For protobuf case, the definitions are identical and thus include order should not affect results.
* | Merge #7562: Bump transaction version default to 2Wladimir J. van der Laan2016-12-1519-42/+113
|\ \ | | | | | | | | | | | | | | | | | | c5c92c4 Update python tests for default tx version=2 (BtcDrak) dab207e Preserve tx version=1 for certain tests (BtcDrak) c5d746a tiny test fix for mempool_tests (Alex Morcos) 1f0ca1a Bump default transaction version to 2 (BtcDrak)
| * | Update python tests for default tx version=2BtcDrak2016-12-0816-39/+96
| | |
| * | Preserve tx version=1 for certain testsBtcDrak2016-12-082-1/+6
| | | | | | | | | | | | | | | Without this change, the tests would be affected by default tx version increases.
| * | tiny test fix for mempool_testsAlex Morcos2016-12-081-2/+11
| | |
* | | Merge #9172: Resurrect pstratem's "Simple fuzzing framework"Wladimir J. van der Laan2016-12-151-0/+256
|\ \ \ | | | | | | | | | | | | | | | | 8b15434 doc: Add bare-bones documentation for fuzzing (Wladimir J. van der Laan) a4153e2 Simple fuzzing framework (Patrick Strateman)
| * | | Simple fuzzing frameworkPatrick Strateman2016-12-151-0/+256
| | | |
* | | | Merge #8895: Better SigCache ImplementationPieter Wuille2016-12-142-0/+396
|\ \ \ \ | |/ / / |/| | | | | | | | | | | 67dac4e Add unit tests for the CuckooCache (Jeremy Rubin) c9e69fb Add CuckooCache implementation and replace the sigcache map_type with it (Jeremy Rubin)
| * | | Add unit tests for the CuckooCacheJeremy Rubin2016-12-141-0/+394
| | | | | | | | | | | | | | | | SQUASHME: Update Tests for other SQUASHMEs
| * | | Add CuckooCache implementation and replace the sigcache map_type with itJeremy Rubin2016-12-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQUASHME: Change cuckoocache to only work for powers of two, to avoid mod operator SQUASHME: Update Documentation and simplify logarithm logic SQUASHME: OSX Build Errors SQUASHME: minor Feedback from sipa + bluematt SQUASHME: DOCONLY: Clarify a few comments.
* | | | Merge #9273: Remove unused CDiskBlockPos* argument from ProcessNewBlockWladimir J. van der Laan2016-12-142-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | a13fa4c Remove unused CDiskBlockPos* argument from ProcessNewBlock (Matt Corallo)
| * | | | Remove unused CDiskBlockPos* argument from ProcessNewBlockMatt Corallo2016-12-042-2/+2
| | | | |
* | | | | Merge #9305: Refactor: Removed begin/end_ptr functions.Wladimir J. van der Laan2016-12-132-4/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 8c1dbc5 Refactor: Removed begin/end_ptr functions. (Karl-Johan Alm)
| * | | | | Refactor: Removed begin/end_ptr functions.Karl-Johan Alm2016-12-092-4/+4
| | |_|/ / | |/| | |
* | | | | Fix spelling.Richard Kiss2016-12-121-1/+1
| | | | |
* | | | | Merge #9240: Remove txConflictedPieter Wuille2016-12-092-23/+25
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | a874ab5 remove internal tracking of mempool conflicts for reporting to wallet (Alex Morcos) bf663f8 remove external usage of mempool conflict tracking (Alex Morcos)
| * | | | remove internal tracking of mempool conflicts for reporting to walletAlex Morcos2016-12-052-22/+24
| | | | |
| * | | | remove external usage of mempool conflict trackingAlex Morcos2016-12-051-1/+1
| | | | |
* | | | | Remove mapOrphanTransactionsByPrev from DoS_testsPieter Wuille2016-12-051-2/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is another violation of the one definition rule, as the type for mapOrphanTransactionsByPrev did not match the one in net_processing.cpp anymore. As it now depends on a custom Iterator, it seems too much hassle to correctly expose it to the tests. Instead, this commit just removes the one test it was referenced in.
* | | | Merge #9269: Align struct COrphan definitionWladimir J. van der Laan2016-12-051-0/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | 2efc438 Align struct COrphan definition (Pieter Wuille)
| * | | Align struct COrphan definitionPieter Wuille2016-12-051-0/+1
| | | |
* | | | Merge #9014: Fix block-connection performance regressionWladimir J. van der Laan2016-12-052-2/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | dd0df81 Document ConnectBlock connectTrace postconditions (Matt Corallo) 2d6e561 Switch pblock in ProcessNewBlock to a shared_ptr (Matt Corallo) 2736c44 Make the optional pblock in ActivateBestChain a shared_ptr (Matt Corallo) ae4db44 Create a shared_ptr for the block we're connecting in ActivateBCS (Matt Corallo) fd9d890 Keep blocks as shared_ptrs, instead of copying txn in ConnectTip (Matt Corallo) 6fdd43b Add struct to track block-connect-time-generated info for callbacks (Matt Corallo)
| * | | Switch pblock in ProcessNewBlock to a shared_ptrMatt Corallo2016-12-042-2/+4
| |/ / | | | | | | | | | | | | This (finally) fixes a performance regression in b3b3c2a5623d5c942d2b3565cc2d833c65105555
* / / Make CTransaction actually immutablePieter Wuille2016-12-025-42/+38
|/ /
* | Merge #9260: Mrs Peacock in The Library with The Candlestick (killed ↵Pieter Wuille2016-12-0211-11/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | main.{h,cpp}) 76faa3c Rename the remaining main.{h,cpp} to validation.{h,cpp} (Matt Corallo) e736772 Move network-msg-processing code out of main to its own file (Matt Corallo) 87c35f5 Remove orphan state wipe from UnloadBlockIndex. (Matt Corallo)
| * | Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-0210-10/+10
| | |
| * | Move network-msg-processing code out of main to its own fileMatt Corallo2016-12-023-1/+3
| | |
* | | Merge #9223: unification of Bloom filter representationMarcoFalke2016-12-021-10/+10
|\ \ \ | | | | | | | | | | | | b7aa290 unification of Bloom filter representation (S. Matthew English)
| * | | unification of Bloom filter representationS. Matthew English2016-11-261-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Output instances of "BloomFilter" changed to "Bloom filter", in accordance with Wikipedia standard notation: https://en.wikipedia.org/wiki/Bloom_filter also to sync with the majority of cases in the self-same file
* | | | Disable fee estimates for a confirm target of 1 blockAlex Morcos2016-11-291-7/+15
| |/ / |/| |
* | | Fix some typosfsb40002016-11-282-2/+2
|/ /
* | Merge #9128: net: Decouple CConnman and message serializationPieter Wuille2016-11-251-0/+58
|\ \ | | | | | | | | | | | | | | | | | | | | | c7be56d net: push only raw data into CConnman (Cory Fields) 2ec935d net: add CVectorWriter and CNetMsgMaker (Cory Fields) b7695c2 net: No need to check individually for disconnection anymore (Cory Fields) fedea8a net: don't send any messages before handshake or after requested disconnect (Cory Fields) d74e352 net: Set feelers to disconnect at the end of the version message (Cory Fields)