aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/coins_view.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-07-27 11:26:35 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-07-27 11:26:39 +0200
commitf372623807c538bf8d2a5710d9939e1ae39f9a74 (patch)
tree073de0ee49e199067ab813f3df96ca47a57ced33 /src/test/fuzz/coins_view.cpp
parent7075a52b67dc09c47142d987dcd089cc74bdcce6 (diff)
parent8858e88c840197cdcabea07dd1380ef2aa4ece02 (diff)
downloadbitcoin-f372623807c538bf8d2a5710d9939e1ae39f9a74.tar.xz
Merge bitcoin/bitcoin#22495: p2p: refactor: tidy up `PeerManagerImpl::Misbehaving(...)`
8858e88c840197cdcabea07dd1380ef2aa4ece02 p2p: refactor: tidy up `PeerManagerImpl::Misbehaving(...)` (Sebastian Falbesoner) Pull request description: This simple refactoring PR has the goal to improve the readability of the `Misbehaving` method by - introducing constant variables `score_before` and `score_now` (to avoid repeatedly calculating the former) - deduplicating calls to LogPrint(), eliminates else-branch ACKs for top commit: jnewbery: utACK 8858e88c840197cdcabea07dd1380ef2aa4ece02 rajarshimaitra: tACK https://github.com/bitcoin/bitcoin/pull/22495/commits/8858e88c840197cdcabea07dd1380ef2aa4ece02 Tree-SHA512: 1d4dd5ac1d16ee9595edf4fa46e4960915a203641d74e6c33cffaba62ea71328834309a4451256fb45daf759f0cf6f4f199c46815afff6c89c0746e2ad4d4092
Diffstat (limited to 'src/test/fuzz/coins_view.cpp')
0 files changed, 0 insertions, 0 deletions