(WIP) ido

This commit is contained in:
Hossein Zoda 2026-04-22 11:21:51 +03:00
parent 84a8fc4662
commit ce9dba23cf
2 changed files with 1366 additions and 0 deletions

1358
src/db/ido/mod.rs Normal file

File diff suppressed because it is too large Load diff

View file

@ -444,6 +444,14 @@ pub async fn index_blocks(
) )
.await?; .await?;
db::ido::index_block(
&db.ido_w,
&sorted_txs,
&blockhash,
mtp as i64,
)
.await?;
let autheader_updates = if bcmr_enabled { let autheader_updates = if bcmr_enabled {
let updates = index_bcmr(&db.bcmr_w, &blockhash, sorted_txs).await?; let updates = index_bcmr(&db.bcmr_w, &blockhash, sorted_txs).await?;
updates as i64 updates as i64