Replies: 1 comment 1 reply
-
I am not 100% I understand what you are referring to with "queries". Are you referring to queries against the local record store, or queries to other peers on the wire, or ...? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The core reason for #2475 is that the system I'm working on is designed such that certain values are actually implicit and don't need to be stored in Kademlia.
With that in mind, I'd prefer to benefit from available implementation otherwise, namely recursive lookup, maybe even quorum feature for those custom values.
My first hacky idea was to write a custom RecordStore implementation that will reach out to custom logic and will refuse to store anything from Kademlia side (acting as read-only data store as far as Kademlia implementation is concerned).
Maybe there is a room for something like custom queries that is a more generalize version of currently available logic that developer can customize by providing a generic parameter (the default will be
()
, meaning not custom queries)?Beta Was this translation helpful? Give feedback.
All reactions