You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
- [x] resolve local records
- [x] resolve dnslink records
- [ ] resolve ipns records
Updated on 2020-09:
As the real ipns record resolving was left unimplemented and persistent "local record" support was never implemented (or maybe was, with rocksdb but it was removed in #283 for not being tested, long compilation times). In #356 we removed the in-memory only local records support but retained dnslink resolving, which is now recursive since #353.
Supporting IPNS would still be an interesting feature.
Some implementation ideas:
Start with reading and verifying ipns records off the DHT.
Re-providing the verified records (if not automatically done by libp2p-kad, which doubt is done, at least the verification part)
Currently not at all thought about interactions between persistence and kademlia need to be thought out
Once an attempt at persistence has been done the next step would easily be the implementation of locally created records and their publishing and cancellation
The first step is quite straightforward, and there is already example of using DHT to find blocks in #256, #260. The more in-depth DHT interactions become quickly difficult.
Original from 2019-02:
Updated on 2020-09:
As the real ipns record resolving was left unimplemented and persistent "local record" support was never implemented (or maybe was, with rocksdb but it was removed in #283 for not being tested, long compilation times). In #356 we removed the in-memory only local records support but retained dnslink resolving, which is now recursive since #353.
Supporting IPNS would still be an interesting feature.
Some implementation ideas:
The first step is quite straightforward, and there is already example of using DHT to find blocks in #256, #260. The more in-depth DHT interactions become quickly difficult.
References:
dnslink: https://dnslink.io/
ipns: https://github.com/ipfs/specs/blob/master/IPNS.md, see also ipfs/specs#205
kademlia recordstore: https://docs.rs/libp2p-kad/0.23.0/libp2p_kad/record/store/trait.RecordStore.html
The text was updated successfully, but these errors were encountered: