diff options
author | fanquake <fanquake@gmail.com> | 2023-09-26 13:46:19 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-09-26 14:01:44 +0100 |
commit | c9f288244b8d183e09a917025922b99e3368ef78 (patch) | |
tree | 564eb028ffe4a696d0463768051c85cb0a50cf51 /depends | |
parent | dcfbf3c2107c3cb9d343ebfa0eee78278dea8d66 (diff) | |
parent | fa56c421be04af846f479c30749b17e6663ab418 (diff) |
Merge bitcoin/bitcoin#28483: refactor: Return CAutoFile from BlockManager::Open*File()
fa56c421be04af846f479c30749b17e6663ab418 Return CAutoFile from BlockManager::Open*File() (MarcoFalke)
9999b89cd37fb2a23c5ebcd91d9cb31d69375933 Make BufferedFile to be a CAutoFile wrapper (MarcoFalke)
fa389d902fbf5fac19fba8c5d0c5e0a25f15ca63 refactor: Drop unused fclose() from BufferedFile (MarcoFalke)
Pull request description:
This is required for https://github.com/bitcoin/bitcoin/pull/28052, but makes sense on its own, because offloading logic to `CAutoFile` instead of re-implementing it allows to delete code and complexity.
ACKs for top commit:
TheCharlatan:
Re-ACK fa56c421be04af846f479c30749b17e6663ab418
willcl-ark:
tACK fa56c421be
Tree-SHA512: fe4638f3a6bd3f9d968cfb9ae3259c9d6cd278fe2912cbc90289851311c8c781099db4c160e775960975c4739098d9af801a8d2d12603f371f8edfe134d8f85a
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions