313 Commits (master)

Author SHA1 Message Date
Suhas Daftuar 9d811dc18b Document partial validation in ConnectBlock() 7 years ago
practicalswift a720b928c8 Remove includes in .cpp files for things the corresponding .h file already included 7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky) 7 years ago
practicalswift d223bc940a Use unique_ptr for pcoinscatcher/pcoinsdbview/pcoinsTip/pblocktree 7 years ago
practicalswift 7536b08c10 trivial: Fix typo – alreardy → already 7 years ago
John Newbery 18e071841e [consensus] Pin P2SH activation to block 173805 on mainnet 7 years ago
Matt Corallo 015a5258ad Reject headers building on invalid chains by tracking invalidity 7 years ago
Matt Corallo 932f118e6a Accept unrequested blocks with work equal to our tip 7 years ago
Suhas Daftuar 37886d5e2f Disconnect outbound peers relaying invalid headers 7 years ago
Suhas Daftuar ce8cd7a7da Don't process unrequested, low-work blocks 7 years ago
João Barbosa 7a5f9303a9 Avoid slow transaction search with txindex enabled 7 years ago
Matt Corallo e545dedf72 Also call other wallet notify callbacks in scheduler thread 7 years ago
practicalswift 680bc2cbb3 Use range-based for loops (C++11) when looping over map elements 7 years ago
practicalswift 55224af6bd Remove redundant NULL checks after new 7 years ago
Daniel Edgecumbe b7dfc6c4b8 [rpc] getblockchaininfo: add size_on_disk, prune_target_size, automatic_pruning 7 years ago
Matt Corallo 6643b80d1c Add state message print to AcceptBlock failure message. 7 years ago
Johnson Lau 3a131b7244 Rename out to m_tx_out in CScriptCheck 7 years ago
Jorge Timón 4e955c58e1
Near-Bugfix: Reestablish consensus check removed in 8d7849b 7 years ago
Jorge Timón 832e0744cb
Optimization: Minimize the number of times it is checked that no money is created 7 years ago
Dan Raviv a0b4c24617 Trivial: Fix validation comments 7 years ago
Alex Morcos bf64c3cb34 Ignore transactions added to mempool during a reorg for fee estimation purposes. 7 years ago
Alex Morcos 04f78ab5b9 Do not reject based on mempool min fee when bypass_limits is set. 7 years ago
Alex Morcos fd849e1b03 Change AcceptToMemoryPool function signature 7 years ago
MeshCollider 35aeabec62 Make fReindex atomic to avoid race 7 years ago
practicalswift fdc329376c Document assumptions that are being made to avoid NULL pointer dereferences 7 years ago
Lawrence Nahum 467cbbcbfc
Add return value to DumpMempool 7 years ago
Suhas Daftuar 0311836f69 Allow setting nMinimumChainWork on command line 7 years ago
Karl-Johan Alm 258d33b41a
[mempool] Mark unaccepted txs present in mempool as 'already there'. 7 years ago
Johnson Lau e912118786 [Refactor] Combine scriptPubKey and amount as CTxOut in CScriptCheck 7 years ago
MeshCollider c001992440 Fix potential null dereferences 7 years ago
Matt Corallo ee4d1493e2 Drop upgrade-cancel callback registration for a generic "resumeable" 7 years ago
practicalswift 64fb0ac016 Declare single-argument (non-converting) constructors "explicit" 7 years ago
Marko Bencun bb81e17355 scripted-diff: stop using the gArgs wrappers 7 years ago
Pieter Wuille 85c82b50d1 Avoid masking of difficulty adjustment errors by checkpoints 7 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 7 years ago
John Newbery 83f1ec33ce [wallet] Don't hold cs_LastBlockFile while calling setBestChain 7 years ago
Matt Corallo e7539f8649 Fix some broken init-time prints/constants 7 years ago
Matt Corallo ff3a21919d Call RewindBlockIndex even if we're about to run -reindex-chainstate 7 years ago
Matt Corallo b0f32497b8 More user-friendly error message if UTXO DB runs ahead of block DB 7 years ago
Matt Corallo eda888e573 Fix some LoadChainTip-related init-order bugs. 7 years ago
Gregory Maxwell 095b917464 Avoid using sizes on non-fixed-width types to derive protocol constants. 7 years ago
Gregory Maxwell 3babbcb487 Remove confusing MAX_BLOCK_BASE_SIZE. 7 years ago
Lawrence Nahum 69a4339ef5
missing white space in function arg 7 years ago
practicalswift 1e3a3200af Simplify "!foo || (foo && bar)" as "!foo || bar" 7 years ago
Jeremy Rubin 4cac0d1e04 Fix subscript[0] in validation.cpp 7 years ago
romanornr d9d1bd3267
nCheckDepth chain height fix 7 years ago
practicalswift aa95947ded Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class 7 years ago
Suhas Daftuar e3f9c05b96 Add CheckInputs() unit tests 7 years ago
Alex Morcos 3c8a9aefff Add belt-and-suspenders in DisconnectBlock 7 years ago
Alex Morcos 18bacec6c2 Make check to distinguish between orphan txs and old txs more efficient. 7 years ago