theseus/bundled-addons/aegis/lib
Local Dev 7983e24f2e perf(aegis): history was 473 round trips in series, and persisted all of them
Second half of the Theseus-lag investigation. 0.27.1 removed the 7.4 MB
store; this removes the two things that produced it and the latency that
came with it.

Measured on this profile's own cache: 6,981 transactions, 7.38 MB, and one
consolidation with 400 inputs (median 2).

- loadHistory() awaited getTx() per displayed transaction and then again per
  INPUT, strictly one at a time. The 400-input row alone cost 400 serial
  round trips. Both waves are now prefetched with bounded parallelism
  (getTxMany, 12 at a time). Against a simulated 10 ms link the same 473
  fetches take 771 ms instead of ~4,730 ms; on a real 30-50 ms link the
  serial version was 15-25 seconds per refresh, per wallet.
- Parent transactions were persisted forever. They exist only to compute a
  delta for the 25 rows on screen, and keeping every one ever seen is what
  grew the file. Only the displayed window is written now — 25 entries,
  16.4 KB in the harness — while parents stay in a process-lifetime map
  bounded at 20,000, seeded from the window so a restart does not refetch
  what is already visible. A second refresh issues zero fetches.

TX_CACHE_VERSION 4 discards v3 caches. The v3 cap of 400 was also exactly
the wrong number for this data: a 400-input transaction needs 401 entries,
so it would have evicted and refetched on every single refresh.
2026-10-03 16:12:53 +02:00
..
dgb feat(aegis): recover DigiByte seeds from the 2018-19 mobile wallets 2026-10-03 14:13:25 +02:00
sia chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
base58check.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
bcmr.js fix(aegis): 0.17.0 — both BCMR registries were dead, and self-minted tokens can now be named 2026-09-29 00:13:30 +02:00
cashaddr.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
cashtokens.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
chain-bch-imported.js fix(aegis): imported chipnet wallets linked to the dead web explorer 2026-10-02 20:45:53 +02:00
chain-bch.js feat(aegis): 0.13.1 — chipnet explorer links point at ours; explorer gains a tx view 2026-09-28 00:12:42 +02:00
chain-btc.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-dgb.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-eth.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-generic-imported.js chore(aegis): 0.9.2 — Receive tab reorder, one balance, token history 2026-09-23 01:17:33 +02:00
chain-sia.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
chain-sol.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-tron.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-utxo-imported.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
eip712.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
electrum.js fix(aegis): 0.20.0 — the UTXO scan was 28k requests that always found nothing 2026-09-29 00:56:06 +02:00
import-derive.js feat(aegis): recover DigiByte seeds from the 2018-19 mobile wallets 2026-10-03 14:13:25 +02:00
jsqr.js feat(aegis): 0.13.0 — read a seed phrase from a QR image 2026-09-28 00:05:04 +02:00
jsqr.LICENSE feat(aegis): 0.13.0 — read a seed phrase from a QR image 2026-09-28 00:05:04 +02:00
keys.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
prices.js chore(aegis): 0.8.5 — Coin-Spectrum price parser reads body.asset.price_usd 2026-09-22 21:31:43 +02:00
sol-spl.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
tx.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
wallet.js perf(aegis): history was 473 round trips in series, and persisted all of them 2026-10-03 16:12:53 +02:00
wc-sign.js fix(aegis): 0.9.5 — WizardConnect signing actually works 2026-09-23 03:23:41 +02:00
wc.js fix(aegis): 0.9.5 — WizardConnect signing actually works 2026-09-23 03:23:41 +02:00