179 Commits (301fd51b9e75efda2da3f6e4872c6cff876100ba)

Author SHA1 Message Date
Matt Corallo 180586fd44 Call AcceptBlock with the block's shared_ptr instead of CBlock& 8 years ago
Matt Corallo 80175472d1 Make CBlockIndex*es in net_processing const 8 years ago
Alex Morcos dc008c462f Add IsCurrentForFeeEstimatation 8 years ago
Alex Morcos d825838e64 Always update fee estimates on new blocks. 8 years ago
Alex Morcos 84f7ab08d2 Remove member variable hadNoDependencies from CTxMemPoolEntry 8 years ago
Alex Morcos 60ac00de85 Don't track transactions at all during IBD. 8 years ago
Alex Morcos b50cd7a67e Fix dangerous condition in ModifyNewCoins. 8 years ago
Jonas Schnelli 9479f8dfcf
Allow shutdown during LoadMempool, dump only when necessary 8 years ago
Pieter Wuille ba3cecf5c4 Share unused mempool memory with coincache 8 years ago
Pieter Wuille c44e4c467c Make AcceptToMemoryPool take CTransactionRef 8 years ago
Gregory Maxwell da9cdd2c9c Do not run functions with necessary side-effects in assert() 8 years ago
Alex Morcos b919179cbb remove no longer needed check for premature v2 txs 8 years ago
Alex Morcos bf663f8e93 remove external usage of mempool conflict tracking 8 years ago
Pieter Wuille f6fb7acda4 Move CTxInWitness inside CTxIn 8 years ago
Matt Corallo a13fa4c80f Remove unused CDiskBlockPos* argument from ProcessNewBlock 8 years ago
Matt Corallo dd0df81ebd Document ConnectBlock connectTrace postconditions 8 years ago
Matt Corallo 2d6e5619af Switch pblock in ProcessNewBlock to a shared_ptr 8 years ago
Matt Corallo 2736c44c8e Make the optional pblock in ActivateBestChain a shared_ptr 8 years ago
Matt Corallo ae4db44d03 Create a shared_ptr for the block we're connecting in ActivateBCS 8 years ago
Matt Corallo fd9d89070a Keep blocks as shared_ptrs, instead of copying txn in ConnectTip 8 years ago
Matt Corallo 6fdd43b968 Add struct to track block-connect-time-generated info for callbacks 8 years ago
Gregory Maxwell 749be013f5 Move GetWarnings() into its own file. 8 years ago
Gregory Maxwell e3ba0ef956 Eliminate data races for strMiscWarning and fLargeWork*Found. 8 years ago
Gregory Maxwell c63198f1c7 Make QT runawayException call GetWarnings instead of directly access strMiscWarning. 8 years ago
Pieter Wuille 81e3228fcb Make CTransaction actually immutable 8 years ago
Pieter Wuille a1883536b4 Switch GetTransaction to returning a CTransactionRef 8 years ago
Matt Corallo 76faa3cdfe Rename the remaining main.{h,cpp} to validation.{h,cpp} 8 years ago
Matt Corallo e736772c56 Move network-msg-processing code out of main to its own file 8 years ago
Matt Corallo 87c35f5843 Remove orphan state wipe from UnloadBlockIndex. 8 years ago
Matt Corallo 58a215ce8c Use ProcessNewBlockHeaders in CMPCTBLOCK processing 8 years ago
Matt Corallo a8b936df20 Use exposed ProcessNewBlockHeaders from ProcessMessages 8 years ago
fsb4000 15fa95d7e5 Fix some typos 8 years ago
Gregory Maxwell 083f203698 Remove fNetworkNode. 8 years ago
Matt Corallo 047ea1052d Make fImporting an std::atomic 8 years ago
Cory Fields c7be56dcef net: push only raw data into CConnman 8 years ago
Cory Fields b7695c2275 net: No need to check individually for disconnection anymore 8 years ago
Cory Fields fedea8a14d net: don't send any messages before handshake or after requested disconnect 8 years ago
Cory Fields d74e352e01 net: Set feelers to disconnect at the end of the version message 8 years ago
Matt Corallo 63fd101c52 Split ::HEADERS processing into two separate cs_main locks 8 years ago
Matt Corallo 4a6b1f36b7 Expose AcceptBlockHeader through main.h 8 years ago
Matt Corallo d2b88f97a1 Move orphan-conflict removal from main logic into a callback 8 years ago
Gregory Maxwell ca8549d2bd Always drop the least preferred HB peer when adding a new one. 8 years ago
Pieter Wuille ad04d1cb35 Always add default_witness_commitment with GBT client support 8 years ago
Pieter Wuille b4e4ba475a Introduce convenience type CTransactionRef 8 years ago
Pieter Wuille 1662b437b3 Make CBlock::vtx a vector of shared_ptr<CTransaction> 8 years ago
Gregory Maxwell 5b0150a060 Make orphan parent fetching ask for witnesses. 8 years ago
Matt Corallo 97e28029c9 Erase orphans per-transaction instead of per-block 8 years ago
Matt Corallo ec4525ccc1 Move orphan processing to ActivateBestChain 8 years ago
Russell Yanofsky ec34648766 [trivial] Fix hungarian variable name 8 years ago
Matt Corallo e2b3fb349e Optimize vInOutPoints insertion a bit 8 years ago