1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

common/include/eoskeygen/key_search.hpp: make prefix into a variable (we need it for k1 keys).

This commit is contained in:
Henrik Hautakoski 2023-04-04 14:08:53 +02:00
parent b39a2a09ae
commit d579879d71
2 changed files with 15 additions and 3 deletions

View file

@ -47,6 +47,8 @@ public :
public :
KeySearch();
void setPrefix(const std::string& prefix);
// Add a word to search for.
void addWord(const std::string& str);
@ -97,6 +99,10 @@ protected :
void _search_linear();
protected :
// Public key prefix.
std::string m_prefix;
// List of words to search for.
strlist_t m_words;