orbit-db-identity-provider
orbit-db-identity-provider copied to clipboard
Verify each identity only once
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.