diff options
author | Matt Corallo <git@bluematt.me> | 2019-04-11 14:11:48 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2019-05-02 15:24:07 -0400 |
commit | aa502b88d10c2c3ac56d9163555849b96dc4df1e (patch) | |
tree | 1d2604a89a30b80be170271439d61706363ad119 /src/consensus/validation.h | |
parent | 7721ad64f40a0c67edefaaf7353264d78df8803e (diff) |
scripted-diff: Remove DoS calls to CValidationState
-BEGIN VERIFY SCRIPT-
sed -i 's/\.DoS(\(.*\), REJECT_\(.*\), \(true\|false\)/.DoS(\1, REJECT_\2/' src/validation.cpp src/consensus/tx_verify.cpp src/consensus/tx_check.cpp
sed -i 's/state.GetRejectCode(), state.GetRejectReason(), [^,]\+, state.GetDebugMessage())/state.GetRejectCode(), state.GetRejectReason(), state.GetDebugMessage())/' src/validation.cpp
sed -i 's/\.DoS([^,]*, /.Invalid\(/' src/validation.cpp src/consensus/tx_verify.cpp src/consensus/tx_check.cpp
-END VERIFY SCRIPT-
Co-authored-by: Suhas Daftuar <sdaftuar@gmail.com>
Diffstat (limited to 'src/consensus/validation.h')
0 files changed, 0 insertions, 0 deletions