Clear crypto derivation/key cache when a block is found

This commit is contained in:
SChernykh
2021-09-27 13:28:23 +02:00
parent 4fce76576f
commit 4bcaa41c8e
4 changed files with 18 additions and 2 deletions

View File

@@ -23,5 +23,6 @@ void generate_keys(hash& pub, hash& sec);
bool check_keys(const hash& pub, const hash& sec);
bool generate_key_derivation(const hash& key1, const hash& key2, hash& derivation);
bool derive_public_key(const hash& derivation, size_t output_index, const hash& base, hash& derived_key);
void clear_crypto_cache();
} // namespace p2pool