289 Commits (0.16)

Author SHA1 Message Date
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
Matt Corallo eecffe50ef Remove redundant duplicate-input check from CheckTransaction 8 years ago
Matt Corallo ae22357607 Replace CValidationState param in ProcessNewBlock with BlockChecked 8 years ago
Matt Corallo 7c98ce584e Remove pfrom parameter from ProcessNewBlock 8 years ago
Cory Fields 46625538d6 net: don't send feefilter messages before the version handshake is complete 8 years ago
Matt Corallo 037159cebf Remove block-request logic from INV message processing 8 years ago
Pieter Wuille 657e05ab2e Make GetSerializeSize a wrapper on top of CSizeComputer 8 years ago
Russell Yanofsky dac53b58b5 Modify getblocktxn handler not to drop requests for old blocks 8 years ago
Cory Fields 902768099c net: handle version push in InitializeNode 8 years ago
Cory Fields 7588b85cd2 net: construct CNodeStates in place 8 years ago
Cory Fields ea3326891d net: switch all callers to connman for pushing messages 8 years ago
Cory Fields 3e32cd09f6 connman is in charge of pushing messages 8 years ago
Suhas Daftuar 88c35491ab Fix compact block handling to not ban if block is invalid 8 years ago
Pieter Wuille a33b1691f1 Do not fully sort all nodes for addr relay 8 years ago
Gregory Maxwell e141beb6a9 IsInitialBlockDownload no longer uses header-only timestamps. 8 years ago
Gregory Maxwell fd46136dfa IBD check uses minimumchain work instead of checkpoints. 8 years ago
Matt Corallo f5b960be4e Move nTimeBestReceived updating into net processing code 8 years ago
Matt Corallo d8670fb103 Move all calls to CheckBlockIndex out of net-processing logic 8 years ago
Matt Corallo d6ea737be1 Remove network state wipe from UnloadBlockIndex. 8 years ago
Matt Corallo fc0c24f67b Move MarkBlockAsReceived out of ProcessNewMessage 8 years ago
Matt Corallo 65f35eb91b Move FlushStateToDisk call out of ProcessMessages::TX into ATMP 8 years ago
Pieter Wuille 3f78562df5 Add DumpMempool and LoadMempool 8 years ago
Pieter Wuille ced7c949e8 Add AcceptToMemoryPoolWithTime function 8 years ago
Matt Corallo fe1dc62cef Hash P2P messages as they are received instead of at process-time 8 years ago
Russell Yanofsky 67c6326abd Send tip change notification from invalidateblock 8 years ago