niceBit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aee76cb23648f6ae2030e49043bda281cb97e19d
parent f6a77d6a00c00e90a8e339146551446e328fbb01
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Wed, 22 Jan 2020 01:09:28 +1100

Readme update and output fix

Diffstat:
MREADME.md | 2+-
AniceBit | 0
MniceBit.c | 4++--
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -1,4 +1,4 @@ -# Bitcoin Vanity Address Generator +# Bitcoin Vanity Address Generator (WORK IN PROGRESS) ## Dependencies * libsep256k1 diff --git a/niceBit b/niceBit Binary files differ. diff --git a/niceBit.c b/niceBit.c @@ -94,6 +94,7 @@ int check_vanity(unsigned char *pubaddress) { /* Check if string in pubaddress */ if(strstr(pubaddress, compstr) != NULL) { + printf("Found : %s\n", compstr); return 1; } } @@ -110,13 +111,12 @@ int main() { gen_keypair(seckey, pubaddress); if(check_vanity(pubaddress)) { - printf("FOUND!!!\n\n"); printf("Seckey : "); for(int i=0; i<32; i++) { printf("%02X", seckey[i]); } printf("\n"); - printf("Public Address: 1%s\n", pubaddress); + printf("Public Address: 1%s\n\n", pubaddress); } else { ; /*printf("nothing...\n\n");*/