31#include <boost/iostreams/stream_buffer.hpp>
32#include <boost/iostreams/stream.hpp>
33#include <boost/iostreams/device/back_inserter.hpp>
34#include <boost/iostreams/filtering_streambuf.hpp>
35#include <boost/filesystem/path.hpp>
36#include <boost/filesystem/operations.hpp>
62 boost::filesystem::path& output_file,
uint64_t use_block_height=0);
Definition blocksdat_file.h:58
bool open_writer(const boost::filesystem::path &file_path, uint64_t block_stop)
Definition blocksdat_file.cpp:46
std::vector< uint64_t > m_weights
Definition blocksdat_file.h:80
bool initialize_file(uint64_t block_stop)
Definition blocksdat_file.cpp:83
bool close()
Definition blocksdat_file.cpp:122
std::ofstream * m_raw_data_file
Definition blocksdat_file.h:68
std::vector< crypto::hash > m_hashes
Definition blocksdat_file.h:79
Blockchain * m_blockchain_storage
Definition blocksdat_file.h:66
uint64_t m_cur_height
Definition blocksdat_file.h:78
void write_block(const crypto::hash &block_hash, uint64_t weight)
Definition blocksdat_file.cpp:102
bool store_blockchain_raw(cryptonote::Blockchain *cs, cryptonote::tx_memory_pool *txp, boost::filesystem::path &output_file, uint64_t use_block_height=0)
Definition blocksdat_file.cpp:133
Definition blockchain.h:103
Transaction pool, handles transactions which are not part of a block.
Definition tx_pool.h:99
POD_CLASS hash
Definition hash.h:49
Holds cryptonote related classes and helpers.
Definition blockchain_db.cpp:45
unsigned __int64 uint64_t
Definition stdint.h:136