aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/bootstrap_file.h
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-08-14 12:45:12 -0700
committerwarptangent <warptangent@inbox.com>2015-08-14 12:46:08 -0700
commit97c5faa0b6acdea7d114ec928bccec325873d2e3 (patch)
treeb844f17e1ca206e06f8cca880033f744d7918614 /src/blockchain_utilities/bootstrap_file.h
parentMerge pull request #372 (diff)
downloadmonero-97c5faa0b6acdea7d114ec928bccec325873d2e3.tar.xz
blockchain_export: Add --output-file argument
This option will export to the specified file path. The default file path remains <data-dir>/export/blockchain.raw
Diffstat (limited to 'src/blockchain_utilities/bootstrap_file.h')
-rw-r--r--src/blockchain_utilities/bootstrap_file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blockchain_utilities/bootstrap_file.h b/src/blockchain_utilities/bootstrap_file.h
index 5fb8a1d4a..fcf89d1ac 100644
--- a/src/blockchain_utilities/bootstrap_file.h
+++ b/src/blockchain_utilities/bootstrap_file.h
@@ -81,10 +81,10 @@ public:
#if SOURCE_DB == DB_MEMORY
bool store_blockchain_raw(cryptonote::blockchain_storage* cs, cryptonote::tx_memory_pool* txp,
- boost::filesystem::path& output_dir, uint64_t use_block_height=0);
+ boost::filesystem::path& output_file, uint64_t use_block_height=0);
#else
bool store_blockchain_raw(cryptonote::Blockchain* cs, cryptonote::tx_memory_pool* txp,
- boost::filesystem::path& output_dir, uint64_t use_block_height=0);
+ boost::filesystem::path& output_file, uint64_t use_block_height=0);
#endif
protected:
@@ -102,7 +102,7 @@ protected:
boost::iostreams::stream<boost::iostreams::back_insert_device<buffer_type>>* m_output_stream;
// open export file for write
- bool open_writer(const boost::filesystem::path& dir_path);
+ bool open_writer(const boost::filesystem::path& file_path);
bool initialize_file();
bool close();
void write_block(block& block);