binder: commit generated clients

This commit is contained in:
nym21
2025-12-29 09:37:57 +01:00
parent 705dbdbd7e
commit 647f177f31
10 changed files with 12043 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ pub use readers::{
pub use recover::{StartMode, determine_start_mode, recover_state, reset_state};
/// Flush checkpoint interval (every N blocks).
pub const FLUSH_INTERVAL: usize = 10_000;
pub const FLUSH_INTERVAL: usize = 20_000;
// BIP30 duplicate coinbase heights (special case handling)
pub const BIP30_DUPLICATE_HEIGHT_1: u32 = 91_842;

View File

@@ -12,7 +12,7 @@ use vecdb::{
use super::Indexes;
const BATCH_SIZE: usize = 2 * 1024 * 1024 * 1024 / size_of::<Entry>();
const BATCH_SIZE: usize = 3 * 1024 * 1024 * 1024 / size_of::<Entry>();
pub const DB_NAME: &str = "txins";
#[derive(Clone, Traversable)]

View File

@@ -101,7 +101,7 @@ impl Vecs {
starting_indexes.height
);
const HEIGHT_BATCH: u32 = 10_000;
const HEIGHT_BATCH: u32 = 20_000;
let mut pairs: Vec<(TxOutIndex, TxInIndex)> = Vec::new();
let mut batch_start_height = min_height;