Commit Graph

106 Commits (a8507c99da10791aa69ca277128e06753942e976)

Author SHA1 Message Date
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
4d55397500 5b59a19731
Update merkle.cpp
5 years ago
Jeffrey Czyz 10efc0487c Templatize ValidationState instead of subclassing
5 years ago
Jeffrey Czyz 10e85d4adc Remove ValidationState's constructor
5 years ago
Jeffrey Czyz 0aed17ef28 Refactor FormatStateMessage into ValidationState
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
practicalswift 73b96c94cb net: Fix uninitialized read in ProcessMessage(...)
5 years ago
John Newbery 3004d5a12d [validation] Remove fMissingInputs from AcceptToMemoryPool()
5 years ago
John Newbery 7204c6434b [validation] Remove useless ret parameter from Invalid()
5 years ago
John Newbery 067981e492 [validation] Tidy Up ValidationResult class
5 years ago
John Newbery a27a2957ed [validation] Add CValidationState subclasses
5 years ago
MarcoFalke fa92813407
consensus: Explain why fCheckDuplicateInputs can not be skipped and remove it
5 years ago
Wladimir J. van der Laan b688b859db
Merge #17004: validation: Remove REJECT code from CValidationState
5 years ago
practicalswift 084e17cebd Remove unused includes
5 years ago
John Newbery e9d5a59e34 [validation] Remove REJECT code from CValidationState
5 years ago
MarcoFalke 6b2210f101
Merge #16713: Ignore old versionbit activations to avoid 'unknown softforks' warning
5 years ago
Wladimir J. van der Laan feb162d500
Merge #14696: qa: Add explicit references to related CVE's in p2p_invalid_block test.
5 years ago
Anthony Towns fdb3e8f8b2 Ignore old versionbit activations
5 years ago
John Newbery 0328dcdcfc [Consensus] Bury segwit deployment
5 years ago
John Newbery 1c93b9b31c [Consensus] Bury CSV deployment height
5 years ago
lucash-dev 38bfca6bb2 Added comments referencing multiple CVEs in tests and production code.
6 years ago
practicalswift eca9767673 Make reasoning about dependencies easier by not including unused dependencies
6 years ago
Suhas Daftuar 0ff1c2a838 Separate reason for premature spends (coinbase/locktime)
6 years ago
Suhas Daftuar 54470e767b Assert validation reasons are contextually correct
6 years ago
Matt Corallo 12dbdd7a41 [refactor] Drop unused state.DoS(), state.GetDoS(), state.CorruptionPossible()
6 years ago
Matt Corallo aa502b88d1 scripted-diff: Remove DoS calls to CValidationState
6 years ago
Matt Corallo 7721ad64f4 [refactor] Prep for scripted-diff by removing some \ns which annoy sed.
6 years ago
Matt Corallo 5e78c5734b Allow use of state.Invalid() for all reasons
6 years ago
Matt Corallo c8b0d22698 [refactor] Drop redundant nDoS, corruptionPossible, SetCorruptionPossible
6 years ago
Matt Corallo 34477ccd39 [refactor] Add useful-for-dos "reason" field to CValidationState
6 years ago
Matt Corallo 7b999103e2 Clean up banning levels
6 years ago
Matt Corallo b8b4c80146 [refactor] drop IsInvalid(nDoSOut)
6 years ago
Matt Corallo 8818729013 [refactor] Refactor misbehavior ban decisions to MaybePunishNode()
6 years ago
John Newbery fdf8888b6f [build] Move CheckTransaction from lib_server to lib_consensus
6 years ago
DrahtBot 06ba77973e Update copyright headers to 2018
6 years ago
Jim Posen 2068f089c8 scripted-diff: Move util files to separate directory.
6 years ago
Ben Woosley da74db0940
Drop unused GetType() from CSizeComputer
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
João Barbosa 12dd101345 scripted-diff: Remove trailing whitespaces
6 years ago
Pieter Wuille 4defdfab94 [MOVEONLY] Move unused Merkle branch code to tests
7 years ago
Pieter Wuille 1f0e7ca09c Use SHA256D64 in Merkle root computation
7 years ago
Suhas Daftuar ce650182f4 Use P2SH consensus rules for all blocks
7 years ago
practicalswift 8fd6af89a0 Fix missing or inconsistent include guards
7 years ago
practicalswift d27327c79a Fix typos
7 years ago
Andrew Chow 12ec29d3bb Calculate and store the number of bytes required to spend an input
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
MarcoFalke 2adbddb038
Merge #10749: Use compile-time constants instead of unnamed enumerations (remove "enum hack")
7 years ago
Pieter Wuille d07ee77ab9 Always-active versionbits support
7 years ago
John Newbery 18e071841e [consensus] Pin P2SH activation to block 173805 on mainnet
7 years ago