1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-17 03:50:03 +02:00
Commit graph

43 commits

Author SHA1 Message Date
b24ea1fc83 src/main.cpp: fix bug in command line parsing for search. loop should check for argc - 1 (first param is program name) 2020-02-05 16:09:53 +01:00
67df405309 src/main.cpp: refactor cmd_search to take strlist_t and int parameters and do all parsing outside. 2020-02-05 15:59:24 +01:00
d636cf7756 src/main.cpp: error out on unsupported flags for search. 2020-02-05 15:52:53 +01:00
f9930ec4fc src/main.cpp: refactor the do/while loop for search flags into just a while loop. 2020-02-05 15:52:06 +01:00
cb5df9bbba src/main.cpp: print a notice message if cli argument --threads is less than 2. 2020-02-05 15:30:16 +01:00
e310bb7ac0
Merge pull request #12 from eosswedenorg/benchmark
Closes #11
2020-01-29 10:53:05 +01:00
2d1696a0e4 Merge branch 'compiler-warnings' into develop 2020-01-29 10:50:37 +01:00
db75317d31 src/main.cpp: implement benchmark command. 2020-01-29 09:13:05 +01:00
368f93a26c src/main.cpp: in main() reduce indentation by handling no argument case first and return. 2020-01-16 17:51:38 +01:00
152015d959 src/main.cpp: make sure we can parse "--l33t" and "--threads" in any order. 2020-01-16 17:47:45 +01:00
f3bf4bdab1 src/main.cpp: use std::cerr for error messages. 2020-01-16 16:48:50 +01:00
c416bbdad2 src/main.cpp: consume "--threads" flag even if not supported (so we dont break scripts) 2020-01-16 16:36:59 +01:00
368d2ad726 src/main.cpp: cleaning up command-line arguments. 2020-01-16 16:34:16 +01:00
297ae2b98f src/main.cpp: document -h,--help in usage() 2020-01-16 15:50:09 +01:00
2db52b9406 src/main.cpp: in cmd_search() n should default to 10 2020-01-15 19:39:36 +01:00
5b4a45fa59 Removing unused includes. 2020-01-15 17:13:59 +01:00
35bb2302dd key_search: refactor into a KeySearch class. 2020-01-15 17:02:53 +01:00
e95470d57f Merge branch 'develop' into l33t
# Conflicts:
#	src/main.cpp
#	src/string.cpp
2020-01-15 15:28:57 +01:00
f6e4603cbe src/main.cpp: implement "--l33t" flag. 2020-01-15 13:02:10 +01:00
58406e0c24 src/main.cpp: must do base58_strip after we have split into list. otherwise we will strip the delimiter "," 2020-01-15 12:58:43 +01:00
237fc4e4af src/main.cpp: call strjoin(words) instead of printing "search" directly. 2020-01-15 12:32:35 +01:00
e5c096c709 src/main.cpp: use base58_strip() when creating the word list. 2020-01-14 10:20:50 +01:00
410c890275 src/main.cpp: remove unused variables. 2020-01-14 10:19:32 +01:00
6ab7a9affa src/main.cpp: minor bug-fix, should be or instead of and when checking "-h" or "--help" flags. 2020-01-14 10:19:32 +01:00
26ddf38ef7 src/main.cpp: for search, change default count from 100 to 10. 2020-01-12 12:57:02 +01:00
6dcc897fcf key_search: refactor key_search_n() and key_search_nt() to proper names. 2020-01-10 10:56:32 +01:00
1c3d503369 src/main.cpp: remove thread code and use key_search_nt() 2020-01-10 10:30:42 +01:00
77d63a5c36 key_search: split key_search() function into key_search() and key_search_n() 2020-01-10 09:29:37 +01:00
f358118775 src/main.cpp: minor change to usage output. 2020-01-10 07:44:38 +01:00
56fd5eecbc src/main.cpp: in thread_search() handle edge case where number of search results is less than number of threads. 2020-01-10 07:31:45 +01:00
a9181bab91 src/main.cpp: threads, use std:🧵:hardware_concurrency() as default value for n_threads. 2020-01-10 07:17:31 +01:00
70965b0a60 src/main.cpp: for search, clamp count variable. 2020-01-10 07:07:47 +01:00
09e2d3a769 src/main.cpp: adding usage text and better command line parsing. 2020-01-09 12:05:22 +01:00
f5c44e043d Implement threads for key search. 2020-01-09 08:44:05 +01:00
a7e9b77a70 main.cpp: use key_search() 2020-01-09 08:12:26 +01:00
372bb3c81e main.cpp: use strsplitwords() instead of strsplit() 2020-01-09 08:12:05 +01:00
8ae7a24e27 Move print_key() from main.cpp to WIF module (named wif_print_key) 2020-01-09 08:12:05 +01:00
76e3d11747 Rename utils to string. 2020-01-09 06:33:20 +01:00
33dd66d61d Updating year in header comment and LICENSE file 2020-01-02 22:18:01 +01:00
d750af59c7 src/main.cpp: search(): trim each string in word_list. 2019-12-20 14:30:28 +01:00
c5ebd757fa src/main.cpp: Do case insensitive search 2019-12-20 14:28:46 +01:00
fe1a063eef src/main.cpp: implement search. 2019-12-20 12:10:46 +01:00
799a80b3e5 Initial Commit 2019-12-19 14:35:20 +01:00