Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F10615304
blockfileinfo.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
538 B
Subscribers
None
blockfileinfo.cpp
View Options
// Copyright (c) 2022 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include
<blockfileinfo.h>
#include
<tinyformat.h>
#include
<util/time.h>
std
::
string
CBlockFileInfo
::
ToString
()
const
{
return
strprintf
(
"CBlockFileInfo(blocks=%u, size=%u, heights=%u...%u, time=%s...%s)",
nBlocks
,
nSize
,
nHeightFirst
,
nHeightLast
,
FormatISO8601DateTime
(
nTimeFirst
),
FormatISO8601DateTime
(
nTimeLast
));
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Nov 23, 10:04 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4509044
Default Alt Text
blockfileinfo.cpp (538 B)
Attached To
rSTAGING Bitcoin ABC staging
Event Timeline
Log In to Comment