Skip to content

Commit

Permalink
add comment for KvId usage
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Nov 5, 2024
1 parent f5ee0c8 commit 98fc0d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/chia-datalayer/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ use std::ops::Range;
type TreeIndex = u32;
type Parent = Option<TreeIndex>;
type Hash = [u8; 32];
// key and value ids are provided from outside of this code and are implemented as
// the row id from sqlite which is a signed 8 byte integer. the actually key and
// value data bytes will not be handled within this code, only outside.
type KvId = i64;

// assumptions
Expand Down

0 comments on commit 98fc0d6

Please sign in to comment.