aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge #8589: Inline CTxInWitness inside CTxInWladimir J. van der Laan2016-12-211-12/+11
|\ | | | | | | f6fb7ac Move CTxInWitness inside CTxIn (Pieter Wuille)
| * Move CTxInWitness inside CTxInPieter Wuille2016-12-041-12/+11
| |
* | Merge #9236: Fix races for strMiscWarning and fLargeWork*Found, make QT ↵Wladimir J. van der Laan2016-12-191-56/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | runawayException use GetWarnings 749be01 Move GetWarnings() into its own file. (Gregory Maxwell) e3ba0ef Eliminate data races for strMiscWarning and fLargeWork*Found. (Gregory Maxwell) c63198f Make QT runawayException call GetWarnings instead of directly access strMiscWarning. (Gregory Maxwell)
| * | Move GetWarnings() into its own file.Gregory Maxwell2016-12-031-0/+1
| | |
| * | Eliminate data races for strMiscWarning and fLargeWork*Found.Gregory Maxwell2016-12-031-11/+13
| | | | | | | | | | | | | | | This moves all access to these datastructures through accessor functions and protects them with a lock.
| * | Make QT runawayException call GetWarnings instead of directly access ↵Gregory Maxwell2016-12-031-45/+2
| | | | | | | | | | | | | | | | | | | | | | | | strMiscWarning. This is a first step in avoiding racy accesses to strMiscWarning. The change required moving GetWarnings and related globals to util.
* | | Merge #9273: Remove unused CDiskBlockPos* argument from ProcessNewBlockWladimir J. van der Laan2016-12-141-2/+2
|\ \ \ | | | | | | | | | | | | a13fa4c Remove unused CDiskBlockPos* argument from ProcessNewBlock (Matt Corallo)
| * | | Remove unused CDiskBlockPos* argument from ProcessNewBlockMatt Corallo2016-12-041-2/+2
| | | |
* | | | Do not run functions with necessary side-effects in assert()Gregory Maxwell2016-12-141-2/+4
| | | |
* | | | Merge #9240: Remove txConflictedPieter Wuille2016-12-091-9/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | a874ab5 remove internal tracking of mempool conflicts for reporting to wallet (Alex Morcos) bf663f8 remove external usage of mempool conflict tracking (Alex Morcos)
| * | | | remove external usage of mempool conflict trackingAlex Morcos2016-12-051-9/+3
| | |_|/ | |/| |
* / | | remove no longer needed check for premature v2 txsAlex Morcos2016-12-071-8/+0
|/ / /
* | | Merge #9014: Fix block-connection performance regressionWladimir J. van der Laan2016-12-051-23/+39
|\| | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | Document ConnectBlock connectTrace postconditionsMatt Corallo2016-12-041-0/+4
| | |
| * | Switch pblock in ProcessNewBlock to a shared_ptrMatt Corallo2016-12-041-7/+2
| | | | | | | | | | | | | | | This (finally) fixes a performance regression in b3b3c2a5623d5c942d2b3565cc2d833c65105555
| * | Make the optional pblock in ActivateBestChain a shared_ptrMatt Corallo2016-12-041-6/+11
| | |
| * | Create a shared_ptr for the block we're connecting in ActivateBCSMatt Corallo2016-12-041-8/+8
| | |
| * | Keep blocks as shared_ptrs, instead of copying txn in ConnectTipMatt Corallo2016-12-041-9/+16
| | |
| * | Add struct to track block-connect-time-generated info for callbacksMatt Corallo2016-12-041-14/+19
| |/
* | Make CTransaction actually immutablePieter Wuille2016-12-021-4/+4
| |
* | Switch GetTransaction to returning a CTransactionRefPieter Wuille2016-12-021-4/+4
|/
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-0/+4190