resolver should report response truth freshness - #1868
Open
brenzi wants to merge 4 commits into
Open
Conversation
brenzi
marked this pull request as ready for review
September 11, 2026 16:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.