Keys and custody
-
Who should sample
nkandrivk? Today the coordinator samples them withOsRngat DKG completion (crates/sealforge-coordinator/src/routes/dkg.rs,sealforge_escrow::address::escrow_fvk), so the coordinator always has full viewing power over every escrow. The options we see:- (a) the organiser samples them;
- (b) the trustees derive them jointly during the DKG (for example from a value contributed by each trustee, so no single party knows them in advance);
- (c) keep the coordinator.
FullViewingKey::from_bytesvalidity) make joint derivation awkward? -
Trustee-side PCZT verification (D1). Answered in part: trustees now receive the PCZT and run the shared frost-zec co-signer checks (spec § 6), and the shielded sighash is recomputed through pczt’s Signer role in
pczt 0.10. Open: the cheapest sound way for a trustee to tie each refund output to its bidder’s memo without a full escrow sync (5 Security). -
Fixed α through the deprecated
frost_rerandomized::sign. Orchard fixes α in the PCZT, so we can’t use the seed-derived randomizer API (3 upstream risk). Is signing with a fixed, coordinator-supplied α acceptable until the ZF RedPallas ciphersuite ships? Should we switch tozakura-reddsa-frost, or wait for upstream?
Commitments and identifiers
- Should the commitment bind the network and a coordinator instance ID? Today neither is hashed; we rely on network-encoded addresses and per-auction escrows (2.4). Adding them would change the
_v1personalization. - Is a 50-bit auction code enough? Codes are unique per coordinator database only (2.3). Bids are bound to the per-auction escrow, so the code is not a funds-safety parameter. Is there a reason to lengthen it or namespace it by coordinator?
Disclosure
- Should the UIVK be published permanently? Today it is, and it exposes every deposit amount, memo and refund address forever (5). Alternatives: a per-auction derived key with narrower scope; publishing only after refunds settle; or publishing only the decrypted payment set plus a proof that it is complete. Which would you trust as an auditor?
- Audit range. The auditor scans the published
scan_from_height..scan_to_heightby default. Should it instead scan from the escrow’s birthday height, which is stored (auctions.escrow_birthday_height) but not published, to rule out a narrowed range?
Refund privacy
- Denominations and delays for Ironwood traffic levels. Are {1, 2, 5} × 10^k zat with a 10,000 zat floor, and independent delays of 10–240 minutes, right for current Ironwood pool activity? Our linkability metric ignores pool-wide timing (2.7). With few concurrent transactions, would a timing adversary do better than the 0.1% amount-only figure?
- Dust and non-counting reveals go to the organiser with the payout (2.7, 2.5). Acceptable, or should they be refunded or burned to fees?
Chain handling
- Reorgs after close. Close waits 10 confirmations past the last counting height (2.2). A deeper reorg after the result is computed isn’t handled. Is 10 the right policy at 25 s and at 75 s spacing, and should the coordinator re-verify the bid set before publishing?
- Batch expiry. Expired batches are now detected and rebuilt (D3): a batch expires once the escrow wallet has scanned to the PCZT’s expiry height without seeing the transaction (Batch states). Open: should the coordinator use
zcash_client_sqlite’s own record of expired transactions instead of comparing heights, and is the default expiry delta right for batches that wait on people to sign?
Performance
- Compact-block scanning cost on real testnet blocks. The browser audit target is 3,500 blocks; it’s measured only on near-empty regtest blocks (evidence/perf.md). Is 3,500 blocks a reasonable bound for an in-browser audit given current Orchard + Ironwood action counts per block?