mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 15:33:03 +01:00
Fix second bootstrap node info
This commit is contained in:
parent
9ac8d517e9
commit
631b1d8b08
@ -93,13 +93,13 @@ static uint8_t const TESTNET_KEY[] = {
|
|||||||
#define TESTNET_IP "172.93.52.70"
|
#define TESTNET_IP "172.93.52.70"
|
||||||
|
|
||||||
static uint8_t const TESTNET_KEY2[] = {
|
static uint8_t const TESTNET_KEY2[] = {
|
||||||
0x7C, 0x26, 0x68, 0x85, 0xC1, 0x63, 0x7D, 0x39,
|
0x5E, 0x47, 0xBA, 0x1D, 0xC3, 0x91, 0x3E, 0xB2,
|
||||||
0x1C, 0x7C, 0x64, 0xE1, 0x73, 0x64, 0x96, 0x08,
|
0xCB, 0xF2, 0xD6, 0x4C, 0xE4, 0xF2, 0x3D, 0x8B,
|
||||||
0xD0, 0x32, 0xA2, 0x48, 0xCD, 0xBD, 0xCA, 0xD1,
|
0xFE, 0x53, 0x91, 0xBF, 0xAB, 0xE5, 0xC4, 0x3C,
|
||||||
0x66, 0x40, 0xEB, 0xC3, 0xED, 0xC6, 0xF7, 0x23,
|
0x5B, 0xAD, 0x13, 0xF0, 0xA4, 0x14, 0xCD, 0x77,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define TESTNET_PORT2 39445
|
#define TESTNET_PORT2 38445
|
||||||
#define TESTNET_IP2 "tox.plastiras.org"
|
#define TESTNET_IP2 "tox.plastiras.org"
|
||||||
|
|
||||||
static struct Thread_Data {
|
static struct Thread_Data {
|
||||||
@ -593,10 +593,10 @@ int load_DHT_nodeslist(void)
|
|||||||
memcpy(node->ip4, TESTNET_IP, sizeof(TESTNET_IP));
|
memcpy(node->ip4, TESTNET_IP, sizeof(TESTNET_IP));
|
||||||
|
|
||||||
struct Node *node2 = &Nodes.list[1];
|
struct Node *node2 = &Nodes.list[1];
|
||||||
node2->have_ip4 = true;
|
node2->have_ip6 = true;
|
||||||
node2->port = TESTNET_PORT2;
|
node2->port = TESTNET_PORT2;
|
||||||
memcpy(node2->key, TESTNET_KEY2, sizeof(TESTNET_KEY2));
|
memcpy(node2->key, TESTNET_KEY2, sizeof(TESTNET_KEY2));
|
||||||
memcpy(node2->ip4, TESTNET_IP2, sizeof(TESTNET_IP2));
|
memcpy(node2->ip6, TESTNET_IP2, sizeof(TESTNET_IP2));
|
||||||
|
|
||||||
Nodes.count = 2;
|
Nodes.count = 2;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user