Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Verify each identity only once #48

Open
oed opened this issue Oct 28, 2019 · 0 comments
Open

Verify each identity only once #48

oed opened this issue Oct 28, 2019 · 0 comments

Comments

@oed
Copy link
Contributor

oed commented Oct 28, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant