mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 14:49:58 -07:00
binder: commit generated clients
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user