204 Commits (fafff1220cf798e25f02cdd8affb70506dd366cc)

Author SHA1 Message Date
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
Geoffrey Tsui d0b01f3a85 Explicitly pass const CChainParams& to LoadBlockIndexDB() 8 years ago
Pieter Wuille 4100499db4 Return shared_ptr<CTransaction> from mempool removes 8 years ago
Pieter Wuille 51f278329d Make removed and conflicted arguments optional to remove 8 years ago
Pavel Janík 1d8e12ba48 Fix doxygen comment: the transaction is returned in txOut 8 years ago
Matt Corallo dfe79060a6 Add missing cs_main lock to ::GETBLOCKTXN processing 8 years ago
Jonas Schnelli 0a261b63fd
Use pindexBestHeader instead of setBlockIndexCandidates for NotifyHeaderTip() 8 years ago
mruddy fc146095d2 RPC: augment getblockchaininfo bip9_softforks data 8 years ago
Matt Corallo 72ca7d924e Don't hold cs_main when calling ProcessNewBlock from a cmpctblock 8 years ago
R E Broadley a1919adab0 Report NodeId in misbehaving debug 8 years ago
Pieter Wuille 3ac6de0a04 Align constant names for maximum compact block / blocktxn depth 8 years ago
Matt Corallo fe998e962d More agressively filter compact block requests 8 years ago