attestantio / dirk

Apache License 2.0
75 stars 22 forks source link

Add account caching to fetcher. #15

Closed mcdee closed 2 years ago

mcdee commented 2 years ago

The memory fetcher now carries out both positive and negative account caching. This results in a speedup for the common cases of signing, at the cost of no longer being able to dynamically add accounts out of band. Accounts added through distributed key generation are cached as part of the generation process.