Skip to content

Commit

Permalink
Add dump_node to update stake for heaviest subtrees (#28827)
Browse files Browse the repository at this point in the history
* Add dump_node to update stake for heaviest subtrees

Additionally refactor subtrees to store children as a hashset

* Add a more complicated forks test

* chose -> choose

* remove is_dumped flag and reuse latest_invalid_ancestor instead
  • Loading branch information
AshwinSekar authored Nov 30, 2022
1 parent 9a6ab5e commit edacd3c
Show file tree
Hide file tree
Showing 6 changed files with 415 additions and 56 deletions.
Loading

0 comments on commit edacd3c

Please sign in to comment.