mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
validation: Refactor OpenDiskFile into method on FlatFileSeq.
This commit is contained in:
@@ -31,6 +31,9 @@ public:
|
||||
|
||||
/** Get the name of the file at the given position. */
|
||||
fs::path FileName(const CDiskBlockPos& pos) const;
|
||||
|
||||
/** Open a handle to the file at the given position. */
|
||||
FILE* Open(const CDiskBlockPos& pos, bool fReadOnly = false);
|
||||
};
|
||||
|
||||
#endif // BITCOIN_FLATFILE_H
|
||||
|
||||
Reference in New Issue
Block a user