aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blocksdat_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blockchain_utilities/blocksdat_file.h')
-rw-r--r--src/blockchain_utilities/blocksdat_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blocksdat_file.h b/src/blockchain_utilities/blocksdat_file.h
index 315713424..72b7afc17 100644
--- a/src/blockchain_utilities/blocksdat_file.h
+++ b/src/blockchain_utilities/blocksdat_file.h
@@ -72,10 +72,11 @@ protected:
bool open_writer(const boost::filesystem::path& file_path, uint64_t block_stop);
bool initialize_file(uint64_t block_stop);
bool close();
- void write_block(const crypto::hash &block_hash);
+ void write_block(const crypto::hash &block_hash, uint64_t weight);
private:
uint64_t m_cur_height; // tracks current height during export
std::vector<crypto::hash> m_hashes;
+ std::vector<uint64_t> m_weights;
};