orbitdb-archive / ipfs-log

Append-only log CRDT on IPFS
https://orbitdb.github.io/ipfs-log/
MIT License
398 stars 55 forks source link

Hook to validate log updates [feature request] #324

Open PabloDons opened 3 years ago

PabloDons commented 3 years ago

I want to build a distributed database that is managed by the users. As such, it is vulnerable to abuse, so a validation hook would enable implementing application-level validation.

This already exists on libp2p gossipsub spec, so a potential implementation is to simply expose this hook in ipfs-log API.