Browse Source

4 byte

pull/28/head
Warlock-Dalbaeb 7 years ago
parent
commit
9150890101
  1. 1
      vanity.hpp
  2. 2
      vanitygen.cpp

1
vanity.hpp

@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
#include <unistd.h>
#include <vector>
#include <mutex>
typedef unsigned int __attribute__((__mode__(SI))) ui4b_t; //32 / 8 = 4 byte
static std::mutex thread_mutex;
static i2p::data::SigningKeyType type;

2
vanitygen.cpp

@ -68,7 +68,7 @@ Orignal is sensei of crypto ;) @@ -68,7 +68,7 @@ Orignal is sensei of crypto ;)
*/
std::cout << "Thread " << id_thread << " binded" << std::endl;
uint8_t b[391];
ui4b_t b[391];
memcpy (b, buf, 391);
int len = strlen (prefix);

Loading…
Cancel
Save