Page MenuHomePhabricator

blockfileinfo.cpp
No OneTemporary

blockfileinfo.cpp

// 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

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)

Event Timeline