ChluNetwork / chlu-ipfs-support

Support libs to talk to IPFS
MIT License
1 stars 1 forks source link

speedup orbit-db load by not checking did signature if the did is already written in the DB #130

Open fazo96 opened 6 years ago

fazo96 commented 6 years ago

When loading, even if the did is already there, the OrbitDB SQL Index will check the did signature wasting a lot of work. We could just determine that the did should not be written to the DB anyway before checking the signature