pubky / pkarr

Public Key Addressable Resource Records (sovereign TLDs)
https://app.pkarr.org
MIT License
153 stars 17 forks source link

Add method that returns a stream of signed records #40

Closed rklaehn closed 4 months ago

rklaehn commented 7 months ago

Currently there is resolve, resolve_most_recent and resolve_raw.

I realize that you can do whatever you want with resolve_raw, but that is very low level. I got a situation where I published DNS records in an old format, and then got these old DNS records mixed with the new ones. I would like to get a stream of SignedPackets so that I can get the first one that fulfils a certain criterium, like being of the right format or being recent.

Nuhvi commented 4 months ago

Closing this since in V2, resolve() always return one signed packet (the most recent found so far).