#include <bootstrap_file.h>
|
| uint64_t | count_bytes (std::ifstream &import_file, uint64_t blocks, uint64_t &h, bool &quit) |
| |
| uint64_t | count_blocks (const std::string &dir_path, std::streampos &start_pos, uint64_t &seek_height) |
| |
| uint64_t | count_blocks (const std::string &dir_path) |
| |
| uint64_t | seek_to_first_chunk (std::ifstream &import_file, uint8_t &major_version, uint8_t &minor_version) |
| |
| bool | store_blockchain_raw (cryptonote::Blockchain *cs, cryptonote::tx_memory_pool *txp, boost::filesystem::path &output_file, uint64_t use_block_height=0) |
| |
◆ buffer_type
◆ close()
| bool BootstrapFile::close |
( |
| ) |
|
|
protected |
◆ count_blocks() [1/2]
| uint64_t BootstrapFile::count_blocks |
( |
const std::string & |
dir_path | ) |
|
◆ count_blocks() [2/2]
| uint64_t BootstrapFile::count_blocks |
( |
const std::string & |
dir_path, |
|
|
std::streampos & |
start_pos, |
|
|
uint64_t & |
seek_height |
|
) |
| |
◆ count_bytes()
| uint64_t BootstrapFile::count_bytes |
( |
std::ifstream & |
import_file, |
|
|
uint64_t |
blocks, |
|
|
uint64_t & |
h, |
|
|
bool & |
quit |
|
) |
| |
◆ flush_chunk()
| void BootstrapFile::flush_chunk |
( |
| ) |
|
|
protected |
◆ initialize_file()
| bool BootstrapFile::initialize_file |
( |
| ) |
|
|
protected |
◆ open_writer()
| bool BootstrapFile::open_writer |
( |
const boost::filesystem::path & |
file_path | ) |
|
|
protected |
◆ seek_to_first_chunk()
| uint64_t BootstrapFile::seek_to_first_chunk |
( |
std::ifstream & |
import_file, |
|
|
uint8_t & |
major_version, |
|
|
uint8_t & |
minor_version |
|
) |
| |
◆ store_blockchain_raw()
◆ write_block()
| void BootstrapFile::write_block |
( |
block & |
block | ) |
|
|
protected |
◆ m_blockchain_storage
◆ m_buffer
◆ m_cur_height
| uint64_t BootstrapFile::m_cur_height |
|
private |
◆ m_height
| uint64_t BootstrapFile::m_height |
|
private |
◆ m_max_chunk
| uint32_t BootstrapFile::m_max_chunk |
|
private |
◆ m_output_stream
| boost::iostreams::stream<boost::iostreams::back_insert_device<buffer_type> >* BootstrapFile::m_output_stream |
|
protected |
◆ m_raw_data_file
| std::ofstream* BootstrapFile::m_raw_data_file |
|
protected |
◆ m_tx_pool
The documentation for this class was generated from the following files: