mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Dawn's re-review notes on #3844, both trivial ones: - check_relay_membership computed hex::encode(pubkey_bytes) before the cache lookup, but the only remaining users are the two log lines in the NIP-OA branch — a 64-byte heap allocation per authenticated request on the cache-hit fast path this PR exists to make cheap. The binding now lives inside the auth-tag branch. - The struct-field doc (state.rs) and the pubsub variant doc (cache_invalidation.rs) still enumerated four mutation flows; both now list ownership transfer like the fn docstring already did. Verified: cargo test -p buzz-relay --lib (803/0), invite suite vs local Postgres (12/0), -p buzz-pubsub (25/0), clippy --all-targets -D warnings clean, fmt clean. Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com> Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>