-
Notifications
You must be signed in to change notification settings - Fork 9
/
main.cpp
48 lines (37 loc) · 921 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
******************************************************************************
* @author Anton Houzich
* @version V2.0.0
* @date 29-April-2023
* @mail houzich_anton@mail.ru
* discussion https://t.me/BRUTE_FORCE_CRYPTO_WALLET
******************************************************************************
*/
#include "stdafx.h"
#include <main.h>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <thread>
#include "tools.h"
#include "segwit_addr.h"
#include "config.hpp"
using namespace tools;
int main()
{
ConfigClass config;
try {
parse_gonfig(&config, "config.cfg");
}
catch (...) {
while (1) {
std::this_thread::sleep_for(std::chrono::seconds(100));
}
}
int ret = 0;
while (ret == 0) {
ret = DecodeFile(config);
}
std::this_thread::sleep_for(std::chrono::seconds(100));
return 0;
}