crates: snapshot

This commit is contained in:
nym21
2025-12-30 18:09:08 +01:00
parent bd376f86ea
commit 8cff55a405
176 changed files with 7317 additions and 4539 deletions

View File

@@ -94,7 +94,7 @@ impl Query {
.height_to_first_txindex
.read_once(height.incremented())?
} else {
TxIndex::from(computer.indexes.txindex_to_txindex.len())
TxIndex::from(computer.indexes.transaction.txindex_to_txindex.len())
};
Ok((next_first_txindex.to_usize() - first_txindex.to_usize()) as u32)

View File

@@ -24,6 +24,7 @@ impl Query {
// Get first height of the target date
let first_height_of_day = computer
.indexes
.time
.dateindex_to_first_height
.read_once(dateindex)
.unwrap_or(Height::from(0usize));