 |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
Go to the documentation of this file.
24 #include <boost/filesystem.hpp>
52 virtual void copyTo(boost::filesystem::path
const& _path)
const = 0;
57 boost::filesystem::path
const& _snapshotDirPath);
60 boost::filesystem::path
const& _dataDir,
h256 const& _genesisHash);
virtual std::string readCompressedChunk(h256 const &_chunkHash) const =0
virtual void copyTo(boost::filesystem::path const &_path) const =0
virtual ~SnapshotStorageFace()=default
virtual std::string readChunk(h256 const &_chunkHash) const =0
std::vector< byte > bytes
std::unique_ptr< SnapshotStorageFace > createSnapshotStorage(fs::path const &_snapshotDirPath)
virtual bytes readManifest() const =0
DEV_SIMPLE_EXCEPTION(NoHashRecorded)
fs::path importedSnapshotPath(fs::path const &_dataDir, h256 const &_genesisHash)