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
Currently, the @helia/ipns package relies on the routers abstraction to resolve IPNS record. This allows it to use more than one router to resolve a record, e.g. DHT, PubSub, and delegated routing API.
As it currently stands, the IPNS module handles verification of every record it gets from a router:
Updates IPNS module to version that is capable of round-tripping records
created with non-nano-second validity times.
Updates `@helia/delegated-routing-v1-http-api-client` to version that
can skip verification of incoming records.
Fixes#394 and #395
…396)
Updates IPNS module to version that is capable of round-tripping records
created with non-nano-second validity times.
Updates `@helia/delegated-routing-v1-http-api-client` to version that
can skip verification of incoming records.
Fixes#394 and #395
Background
Currently, the @helia/ipns package relies on the routers abstraction to resolve IPNS record. This allows it to use more than one router to resolve a record, e.g. DHT, PubSub, and delegated routing API.
As it currently stands, the IPNS module handles verification of every record it gets from a router:
helia/packages/ipns/src/index.ts
Lines 425 to 434 in 19bf9ce
Additionally, thehelia-delegated-routing-v1-http-api also validates the IPNS record which results in two validations which is unnecessary.
Would be good to add an option to the https://github.com/ipfs/helia-delegated-routing-v1-http-api to avoid verifying the record
The text was updated successfully, but these errors were encountered: