aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2018-04-20 11:21:08 +0200
committerWladimir J. van der Laan <[email protected]>2018-04-23 14:25:28 +0200
commitcf0277928fa8d955d75f661021845789194dfff7 (patch)
treeda392672c936ad9f6a91c2d77c4377a22ac127d4 /src/interfaces/node.cpp
parentMerge #13021: MOVEONLY: Move logging code from util.{h,cpp} to new files. (diff)
downloaddiscoin-cf0277928fa8d955d75f661021845789194dfff7.tar.xz
discoin-cf0277928fa8d955d75f661021845789194dfff7.zip
Add logging and error handling for file syncing
Add logging and error handling inside, and outside of FileCommit. Functions such as fsync, fdatasync will return error in case of hardware I/O errors, and ignoring this means it can silently continue through data corruption. (c.f. https://lwn.net/SubscriberLink/752063/12b232ab5039efbe/)
Diffstat (limited to 'src/interfaces/node.cpp')
0 files changed, 0 insertions, 0 deletions