Skip to content

Commit c71cd80

Browse files
committed
Fix hostnames
Signed-off-by: Igor Gunia <[email protected]>
1 parent 20f6a15 commit c71cd80

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Diff for: main.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,17 @@ class CDnsSeedOpts {
8282
host = optarg;
8383
break;
8484
}
85-
85+
8686
case 'm': {
8787
mbox = optarg;
8888
break;
8989
}
90-
90+
9191
case 'n': {
9292
ns = optarg;
9393
break;
9494
}
95-
95+
9696
case 't': {
9797
int n = strtol(optarg, NULL, 10);
9898
if (n > 0 && n < 1000) nThreads = n;
@@ -397,14 +397,14 @@ extern "C" void* ThreadStats(void*) {
397397
return nullptr;
398398
}
399399

400-
static const string mainnet_seeds[] = {"dnsseed.umk.ua-moloko.com", ""};
401-
static const string testnet_seeds[] = {"dnsseed.umk.ua-moloko.com",
400+
static const string mainnet_seeds[] = {"dnsseed.umkoin.org", ""};
401+
static const string testnet_seeds[] = {"dnsseed.umkoin.org",
402402
""};
403403
static const string *seeds = mainnet_seeds;
404404

405405
extern "C" void* ThreadSeeder(void*) {
406406
if (!fTestNet){
407-
db.Add(CService("kjy2eqzk4zwi5zd3.onion", 6333), true);
407+
db.Add(CService("klfchu53kxun6zx5.onion", 6333), true);
408408
}
409409
do {
410410
for (int i=0; seeds[i] != ""; i++) {

Diff for: test.pl

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use IO::Socket;
77
use strict;
88

9-
my @dom = ("dnsseed","umk","ua-moloko","com");
9+
my @dom = ("dnsseed","umkoin","org");
1010

1111
my $run :shared = 1;
1212

@@ -18,7 +18,7 @@ sub go {
1818
my $sock = IO::Socket::INET->new(
1919
Proto => 'udp',
2020
PeerPort => 53,
21-
PeerAddr => "ns.ua-moloko.com",
21+
PeerAddr => "dnsseed.umkoin.org",
2222
) or die "Could not create socket: $!\n";
2323

2424
while($run) {

Diff for: umkoin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ bool TestNode(const CService &cip, int &ban, int &clientV, std::string &clientSV
298298

299299
/*
300300
int main(void) {
301-
CService ip("umk.ua-moloko.com", 6333, true);
301+
CService ip("pool.umkoin.org", 6333, true);
302302
vector<CAddress> vAddr;
303303
vAddr.clear();
304304
int ban = 0;

0 commit comments

Comments
 (0)