aboutsummaryrefslogtreecommitdiff
path: root/src/sync.h
diff options
context:
space:
mode:
authorAndrew Toth <andrewstoth@gmail.com>2024-05-04 15:38:39 -0400
committerAndrew Toth <andrewstoth@gmail.com>2024-05-04 15:38:39 -0400
commit75d27fefc7a04ebdda7be5724a014b6a896e7325 (patch)
tree559533a1206390e378248235446040ff70707707 /src/sync.h
parent613a45cd4b5482aedbdc7c61c839ea05996935c6 (diff)
net: reduce LOCK(cs_main) scope in ProcessGetBlockData
This also changes behavior if ReadBlockFromDisk or ReadRawBlockFromDisk fails. Previously, the node would crash due to an assert. This has been replaced with logging the error, disconnecting the peer, and returning early.
Diffstat (limited to 'src/sync.h')
0 files changed, 0 insertions, 0 deletions