aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletutil.cpp
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2022-05-06 14:07:51 +0200
committerMartin Zumsande <mzumsande@gmail.com>2022-05-19 13:20:55 +0200
commit7171ebc7cbd911fa7ccad732ea7f73bce30928ee (patch)
tree1fcac72e8b75fbf0cd3e34dd0a25b2b33cf17099 /src/wallet/walletutil.cpp
parent59ac8bacd573891d84e8ab96ff43ea12bd266f26 (diff)
index: Don't commit a best block before indexing it during sync
Committing a block prior to indexing would leave the index database in an inconsistent state until it is indexed, which could corrupt the index in case of a unclean shutdown. Thus commit its predecessor. Co-authored-by: Luke Dashjr <luke-jr+git@utopios.org>
Diffstat (limited to 'src/wallet/walletutil.cpp')
0 files changed, 0 insertions, 0 deletions