-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-452 Encapsulate unlinkable_block_state_index.
- Loading branch information
Showing
1 changed file
with
94 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks a lot for making the change, Kevin. This line is the only location where
dispatch
is used. Instead of creating a dependency, why not have this function returningstd::optional<block_id_type>
as in my original suggestion? That wayunlinkable_block_state_cache
doeasn't know aboutdispatch_manager
.Also, why not have the functions inline in the class? It is all in the
.cpp
file anyways.