aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-08-25 12:39:30 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-10-03 18:34:30 +0200
commitb278a43646c8fb331a1b830b09a60ec2544dd6b6 (patch)
tree829882527cd8fb64d62bc9ec2e745aaf1d9223ad /src/wallet/wallet.cpp
parent50bd3f626d7ce35d52543b88a2e512074f9df134 (diff)
downloadbitcoin-b278a43646c8fb331a1b830b09a60ec2544dd6b6.tar.xz
rpc: Write authcookie atomically
Use POSIX rename atomicity at the `bitcoind` side to create a working cookie atomically: - Write `.cookie.tmp`, close file - Rename `.cookie.tmp` to `.cookie` This avoids clients reading invalid/partial cookies as in #11129. Github-Pull: #11131 Rebased-From: 82dd7195e1fb943f9cd45a48188f9678219c0206
Diffstat (limited to 'src/wallet/wallet.cpp')
0 files changed, 0 insertions, 0 deletions