Skip to content

resolver should report response truth freshness - #1868

Open
brenzi wants to merge 4 commits into
ab/snrc-resolver-SMP-NAVLfrom
ab/snrc-resolver-freshness
Open

resolver should report response truth freshness#1868
brenzi wants to merge 4 commits into
ab/snrc-resolver-SMP-NAVLfrom
ab/snrc-resolver-freshness

Conversation

@brenzi

@brenzi brenzi commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

A router answers name lookups by reading the blockchain through a node of its own, and that node can lag — we measured smp7 answering correctly for older records while not yet seeing a text record set seconds earlier. Without knowing how current an answer is, a client cannot tell "this name is available" from "this name was available as of some unknown point in the past", which is exactly wrong in the case that matters most: a user who has just registered a name and is immediately told it is free to register. This PR adds readAt, the block timestamp the registry was read at, to every RNAME answer, so a client can compare it against its own transaction and say "not visible yet" rather than quoting a price for a name the user already owns.

@brenzi
brenzi marked this pull request as ready for review September 11, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant