orbit-db-identity-provider icon indicating copy to clipboard operation
orbit-db-identity-provider copied to clipboard

Verify each identity only once

Open oed opened this issue 6 years ago • 0 comments

Right now every call to verifyIdentity verifies the signature done by the particular identity. In an ipfs-log with a lot of entries done by the same identity this creates a lot of computational overhead.

An easy way to mitigate this is to maintain a cache of identities that have been verified so that each identity (identity + key) only needs to be verified once.

oed avatar Oct 28 '19 13:10 oed