diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-07-13 21:19:05 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-07-13 21:38:34 +0100 |
commit | d7b681cd6518834ce9b76676980561cb8e235cff (patch) | |
tree | 51ff9d28bb4be6e929fd3440613932dbb039900c /src/blockchain_utilities | |
parent | Merge pull request #889 (diff) | |
download | monero-d7b681cd6518834ce9b76676980561cb8e235cff.tar.xz |
remove hf_starting_height db
It's not really needed, it used to be an optimization for when
that code was not using the db and needed to recalculate things
fast on startup.
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r-- | src/blockchain_utilities/blockchain_dump.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/blockchain_utilities/blockchain_dump.cpp b/src/blockchain_utilities/blockchain_dump.cpp index 6fa5ce801..23619eaeb 100644 --- a/src/blockchain_utilities/blockchain_dump.cpp +++ b/src/blockchain_utilities/blockchain_dump.cpp @@ -419,10 +419,6 @@ int main(int argc, char* argv[]) for (uint64_t h = 0; h < height; ++h) write_pod(d, boost::lexical_cast<std::string>(h), (unsigned int)db->get_hard_fork_version(h)); end_compound(d); - start_struct(d, "hf_starting_heights", true); - for (unsigned int v = 0; v <= 255; ++v) - write_pod(d, boost::lexical_cast<std::string>(v), db->get_hard_fork_starting_height(v)); - end_compound(d); } #endif end_compound(d); |