Skip to content

Commit

Permalink
Remove comments, dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Feb 26, 2024
1 parent 0afb56a commit cd44db2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/chasers/chaser_check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ using namespace std::placeholders;

BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT)

/// We need to be able to perform block.check(ctx) while we still have the
/// deserialized block, because of the witness commitment check (hash).
/// Requires timestamp (header) height, mtp, flags. These can be cached on the
/// block hash registry maintained by this chaser or queried from the stored
/// header. Caching requries rolling forward through all states as the registry
/// is initialized. Store query is simpler and may be as fast.

chaser_check::chaser_check(full_node& node) NOEXCEPT
: chaser(node)
{
Expand Down Expand Up @@ -124,7 +117,6 @@ void chaser_check::handle_header(height_t branch_point) NOEXCEPT

// get_all_unassociated_above(branch_point) and add to map.
const auto& query = archive();
const auto top = query.get_top_candidate();
const auto last = query.get_last_associated_from(branch_point);
map_.merge(query.get_all_unassociated_above(last));
}
Expand Down

0 comments on commit cd44db2

Please sign in to comment.