mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-25 10:33:42 +02:00
key_search: refactor thread code into key_search_nt() function and key_search_nt.cpp file.
This commit is contained in:
parent
936378c69f
commit
7e37f1ef8b
4 changed files with 81 additions and 22 deletions
|
|
@ -31,4 +31,8 @@ bool key_search(struct ec_keypair* out, std::string& word, const strlist_t& word
|
|||
|
||||
void key_search_n(const strlist_t& word_list, size_t n);
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
void key_search_nt(const strlist_t& word_list, size_t n, size_t n_threads = 0);
|
||||
#endif /* HAVE_THREADS */
|
||||
|
||||
#endif /* KEY_SEARCH_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue