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

82 commits

Author SHA1 Message Date
fd0e893660 Merge branch 'maint' into develop 2020-02-05 19:33:49 +01:00
fca45626fa src/main.cpp: in command line parsing for search, move word list and count inside while loop. 2020-02-05 16:12:48 +01:00
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
c7802b2e56 move types.h and ec stuff to "ec" subdirectory. 2020-01-30 08:42:09 +01:00
8630f5c255 include "types.h" instead of "ec.h" where it is appropriate 2020-01-30 08:19:28 +01:00
8007a39c35 src/ec.h: move typedefs and struct to types.h 2020-01-30 08:16:41 +01:00
0bda9e3f2a src/ec.h: document ec_generate_key() 2020-01-30 08:08:43 +01:00
07a85e732f src/WIF.cpp: Use constants intead of magic number. 2020-01-30 08:04:19 +01:00
cc4d91579b src/checksum.h: Use a define for checksum length instead of magic number. 2020-01-30 08:03:39 +01:00
59b358d256 src/types.h: cleanup EC_PUBKEY_SIZE abit. 2020-01-30 08:03:05 +01:00
56c78cbcc2 Adding license headers to some files that did not have it. 2020-01-29 11:39:42 +01:00
288c7e96a2 src/benchmark.cpp: fixing compiler conversion error by explicitly casting num_keys to float. 2020-01-29 11:07:08 +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
2b20f8aaf4 src/string.cpp: in strjoin() skip empty items. 2020-01-29 10:13:55 +01:00
db75317d31 src/main.cpp: implement benchmark command. 2020-01-29 09:13:05 +01:00
98a3d8b1d1 Adding benchmark module 2020-01-29 09:13:05 +01:00
2d1568a07b Merge branch 'console-color' into develop 2020-01-16 17:52:34 +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
161b7e80e1 src/WIF.cpp: in wif_print_key() print public before private. 2020-01-16 14:27:17 +01:00
97b834d11e src/key_search_helpers.cpp: in key_search_result() use console colors to highlight the found word. 2020-01-16 14:25:47 +01:00
075144c72b search: define a key_result struct and store position and length in public key for the word found. 2020-01-16 14:24:58 +01:00
8c8d88c631 Adding src/console_win32.cpp 2020-01-16 11:08:59 +01:00
92f2c4ffcc Adding console text color/attribute support (ansi) 2020-01-16 10:08:09 +01:00
f6ba8a73a2 src/key_search_helpers.cpp: in key_contains_word() skip first 3 chars of pubkey ("EOS") 2020-01-16 08:05:53 +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
418949f26f src/string.cpp: in l33twords() "l" is a bit special. so we set "l" to "1" 2020-01-15 16:55:11 +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
baba04991f string: adding base58_strip() for strlist_t 2020-01-15 12:56:40 +01:00
237fc4e4af src/main.cpp: call strjoin(words) instead of printing "search" directly. 2020-01-15 12:32:35 +01:00
5bc3335d54 string: adding strjoin() function 2020-01-15 12:30:49 +01:00
4f4444a62a string: add l33twords() function. 2020-01-15 12:03:14 +01:00
e5c096c709 src/main.cpp: use base58_strip() when creating the word list. 2020-01-14 10:20:50 +01:00
87647ba1cd string: adding base58_strip() function 2020-01-14 10:20:22 +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