Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ FileName
Method
FileName
src/flatfile.cpp:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
}
29
30
fs::path FlatFileSeq::FileName(const FlatFilePos& pos) const
31
{
32
return m_dir / fs::u8path(strprintf(
"%s%05u.dat"
, m_prefix, pos.nFile));
33
}
34
35
FILE* FlatFileSeq::Open(const FlatFilePos& pos, bool read_only) const
36
{
Callers
4
BOOST_AUTO_TEST_CASE
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
UnlinkPrunedFiles
Method · 0.80
GetBlockPosFilename
Method · 0.80
Calls
1
u8path
Function · 0.85
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64