diff --git a/Makefile b/Makefile index f231b63..f8e8003 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ LIBS=-lpcre -lcrypto -lm -lpthread -CFLAGS=-ggdb -Wall +CFLAGS=-Wall OBJS=vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o cashaddr.o PROGS=vanitygen keyconv oclvanitygen oclvanityminer # OPTIMIZE @@ -7,6 +7,7 @@ PROGS=vanitygen keyconv oclvanitygen oclvanityminer # -O3 = good optimization # -Ofast = aggressive optimization # -Os = small file size +# -Og -g -ggdb debugging CFLAGS+=-Ofast PLATFORM=$(shell uname -s) diff --git a/README.md b/README.md index b210468..95a8a09 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Alphabet: `023456789acdefghjklmnpqrstuvwxyz` - The first character should be `q` -- The second character should be either `q`, `p`, `z`, or `r`. +- The second character should be either `p`, `q`, `r`, or `z`. ## To build: @@ -42,6 +42,8 @@ Windows - Let Vanitygen search for both compressed and uncompressed addresses. +- Output in TSV and CSV formats + ### TODOs: - Allow to choose between compressed and uncompressed addresses diff --git a/pattern.c b/pattern.c index afd3022..2932a58 100644 --- a/pattern.c +++ b/pattern.c @@ -578,7 +578,7 @@ vg_output_match_console(vg_context_t *vcp, EC_KEY *pkey, const char *pattern, in vg_encode_privkey(pkey, vcp->vc_privtype, privkey_buf); if (vcp->vc_verbose > 0 || !vcp->vc_result_file || !vcp->vc_result_file_csv) { - printf("\r%79s\rPattern: \x1b[33m%s\x1b[0m\n", "", pattern); + printf("\r%79s\r\x1b[0mPattern: \x1b[33m%s\x1b[0m\n", "", pattern); } if (vcp->vc_verbose > 1) { @@ -614,7 +614,7 @@ vg_output_match_console(vg_context_t *vcp, EC_KEY *pkey, const char *pattern, in if (isscript) fprintf(fp, "%s\t", addr2_buf); else - fprintf(fp, "%s\n", addr_buf); + fprintf(fp, "%s\t", addr_buf); fprintf(fp, "%s\n", privkey_buf); fclose(fp); } @@ -630,7 +630,7 @@ vg_output_match_console(vg_context_t *vcp, EC_KEY *pkey, const char *pattern, in if (isscript) fprintf(fp, "%s,", addr2_buf); else - fprintf(fp, "%s\n", addr_buf); + fprintf(fp, "%s,", addr_buf); fprintf(fp, "%s\n", privkey_buf); fclose(fp); }