Skip to content

feat(shielded): ITZLI tagging — O(1) note discovery via Poseidon2 tag #1983

Description

@benoirczar-ml

Fixes Point 8 — private note discovery is O(n) trial-decrypt.

ITZLIObsidian Mirror tagging for Aleph Zero Common (Port of Aztec V5 to Frontier 1621):

Black Mirror

  • ECDH(sk_s, pk_r) → k = KDF(shared, pk_r, pk_s)tag = Poseidon2(k, counter) 16-window
  • Mapping<Tag, Vec<NoteLog>> + get_logs_by_tag / get_paginated / batch_get_logs (PIR-ready)
  • Caps 2048/64/1M + BTreeMap determinism, no Halo2 MerklePath touch

Bench 2026-08-31 live:

  • itzli-node 18232 100k: 5 ms tag vs 1000 ms legacy → 200× (10k: 5 ms vs 100 ms → 20×)
  • e2e-demo 10k in-mem: 14 µs, 10000× fewer decryptions
  • WASM 7.3K ink!5.1 code_hash 0x71806a… contract 5GheSZZSzcQEwsWuRKdt3xhy9d7QG5WysjMzb4QApVjXGob6 on substrate-contracts-node 9945 (aleph-node 15.2.0 testnet has no pallet-contracts, 1:1 proxy)

Repo: https://github.com/benoirczar-ml/ITZLI
Spec: https://github.com/benoirczar-ml/ITZLI/blob/main/docs/03-spec-tag-derivation.md
Benchmark: https://github.com/benoirczar-ml/ITZLI/blob/main/docs/04-benchmark.md

Contact: Jaroslaw Kata [email protected] (also [email protected]) — applying as Common core dev for shielded pool. This repo is the PR. Not a fork.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions