more block tree / eval visualization integration work with watch views

This commit is contained in:
Ryan Fleury
2024-09-26 13:13:30 -07:00
parent 715bd36965
commit 338fabd9d0
2 changed files with 601 additions and 564 deletions
@@ -809,6 +809,10 @@ internal EV_Key
ev2_key_from_num(EV2_BlockRangeList *block_ranges, U64 num)
{
EV_Key key = {0};
if(block_ranges->first)
{
key = ev_key_make(ev_hash_from_key(ev_key_root()), 1);
}
U64 base_num = 1;
for(EV2_BlockRangeNode *n = block_ranges->first; n != 0; n = n->next)
{
@@ -830,7 +834,7 @@ ev2_key_from_num(EV2_BlockRangeList *block_ranges, U64 num)
internal U64
ev2_num_from_key(EV2_BlockRangeList *block_ranges, EV_Key key)
{
U64 result = 0;
U64 result = 1;
U64 base_num = 1;
for(EV2_BlockRangeNode *n = block_ranges->first; n != 0; n = n->next)
{
+596 -563
View File
File diff suppressed because it is too large Load Diff