riftenlabs-indexer/src/db
Hossein Zoda b88475a75b ido: record EntryDistributed per distribution tx with the entry's txid
The EntryDistributed update was pushed in the POSTLAUNCH->DISTRIBUTED
branch using the collection tx's own txid. That branch fires once at
final collection rather than per distribution tx, and tx.compute_txid()
never equals an entry's creation txid, so the dist_expr join
(d.entry_txid = e.txid) never matched and entries were never marked
distributed.

Push it in the DISTRIBUTING handler instead, once per distribution tx,
using input#1.previous_output.txid (the entry NFT being spent), which is
the entry's creation txid recorded by IdoUpdate::Entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 12:57:31 +00:00
..
bcmr Upgrade bitcoincash to 0.32 and add TokenToken AMM pool indexing 2026-06-10 16:18:35 +02:00
cauldron tokentoken: add GET /tokentoken/pools (list all active pools) 2026-06-17 13:48:45 +02:00
crc20 Upgrade bitcoincash to 0.32 and add TokenToken AMM pool indexing 2026-06-10 16:18:35 +02:00
ido ido: record EntryDistributed per distribution tx with the entry's txid 2026-06-23 12:57:31 +00:00
moria Upgrade bitcoincash to 0.32 and add TokenToken AMM pool indexing 2026-06-10 16:18:35 +02:00
oracle Upgrade bitcoincash to 0.32 and add TokenToken AMM pool indexing 2026-06-10 16:18:35 +02:00
search Upgrade bitcoincash to 0.32 and add TokenToken AMM pool indexing 2026-06-10 16:18:35 +02:00
blob.rs Upgrade bitcoincash to 0.32 and add TokenToken AMM pool indexing 2026-06-10 16:18:35 +02:00
init.rs format ido 2026-06-21 01:44:39 +03:00
mod.rs ido, compiles, with claude generated unittests 2026-06-21 01:44:39 +03:00