179 Commits (301fd51b9e75efda2da3f6e4872c6cff876100ba)

Author SHA1 Message Date
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
Matt Corallo 02a337defd Dont remove a "preferred" cmpctblock peer if they provide a block 8 years ago
Wladimir J. van der Laan 5eaaa83ac1 Kill insecure_random and associated global state 8 years ago
Johnson Lau 3ade2f64cf Add standard limits for P2WSH with tests 8 years ago
Matt Corallo a9aec5c24d Use BlockChecked signal to send reject messages from mapBlockSource 8 years ago
Matt Corallo 7565e03b96 Remove SyncWithWallets wrapper function 8 years ago
Matt Corallo 12ee1fe018 Always call UpdatedBlockTip, even if blocks were only disconnected 8 years ago
Matt Corallo f5efa28393 Remove CConnman parameter from ProcessNewBlock/ActivateBestChain 8 years ago
Matt Corallo fef1010199 Use CValidationInterface from chain logic to notify peer logic 8 years ago
Pieter Wuille 6aa28abf53 Use cmpctblock type 2 for segwit-enabled transfer 8 years ago
Matt Corallo 0278fb5f48 Remove duplicate nBlocksEstimate cmp (we already checked IsIBD()) 8 years ago
Matt Corallo 87e7d72807 Make validationinterface.UpdatedBlockTip more verbose 8 years ago
Matt Corallo 06128da751 Make GetFetchFlags always request witness objects from witness peers 8 years ago
Wladimir J. van der Laan 2c09a5209a protocol.h: Move MESSAGE_START_SIZE into CMessageHeader 8 years ago
Cory Fields 905bc68d05 net: fix a few cases where messages were sent rather than dropped upon disconnection 8 years ago
Wladimir J. van der Laan 41e58faf04 net: Consistent checksum handling 8 years ago