endo icon indicating copy to clipboard operation
endo copied to clipboard

daemon: Instantiate one lookup formula for each segment in a path

Open rekmarks opened this issue 1 year ago • 1 comments

Lookup formulas currently correspond to a pet name path of length at least 2, and the value resolved thereby. We should instead create a lookup formula for each path segment, and store a reference to the parent segment formula in each child. Ideally, we should be able to synchronously retrieve existing formulas for a given pet name path, provided that the path is local to the current daemon.

rekmarks avatar Feb 22 '24 04:02 rekmarks

@kriskowal, I believe we originally planned to derive child segment formula numbers from their parents, but #2089 removed derivation in favor of randomly generating all formula numbers. Can we reintroduce derivation for this purpose? It seems problematic if we're also trying to ensure that formula numbers are never reused.

rekmarks avatar Feb 22 '24 04:02 rekmarks