Skip to content

Commit 8c86b2d

Browse files
committed
stagenet: fix genesis tx, add diardi addresses, seed nodes
1 parent 6e46cfb commit 8c86b2d

File tree

3 files changed

+26
-9
lines changed

3 files changed

+26
-9
lines changed

src/cryptonote_config.h

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ namespace config
281281
uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 0x59a0;
282282
uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX = 0x5620;
283283
uint64_t const CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX = 0x5820;
284-
uint16_t const P2P_DEFAULT_PORT = 28080;
285-
uint16_t const RPC_DEFAULT_PORT = 28081;
286-
uint16_t const ZMQ_RPC_DEFAULT_PORT = 28082;
284+
uint16_t const P2P_DEFAULT_PORT = 22822;
285+
uint16_t const RPC_DEFAULT_PORT = 22823;
286+
uint16_t const ZMQ_RPC_DEFAULT_PORT = 22824;
287287
boost::uuids::uuid const NETWORK_ID = { {
288288
0x12 ,0x30, 0xF1, 0x71 , 0x61, 0x04 , 0x41, 0x61, 0x17, 0x31, 0x00, 0x82, 0x16, 0xA1, 0xA1, 0x11
289289
} }; // Bender's daydream
@@ -296,13 +296,25 @@ namespace config
296296
uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 0x12221a;
297297
uint64_t const CRYPTONOTE_PUBLIC_INTEGRATED_ADDRESS_BASE58_PREFIX = 0x26e21a;
298298
uint64_t const CRYPTONOTE_PUBLIC_SUBADDRESS_BASE58_PREFIX = 0x2ba21a;
299-
uint16_t const P2P_DEFAULT_PORT = 38080;
300-
uint16_t const RPC_DEFAULT_PORT = 38081;
301-
uint16_t const ZMQ_RPC_DEFAULT_PORT = 38082;
299+
uint16_t const P2P_DEFAULT_PORT = 33833;
300+
uint16_t const RPC_DEFAULT_PORT = 33834;
301+
uint16_t const ZMQ_RPC_DEFAULT_PORT = 33835;
302302
boost::uuids::uuid const NETWORK_ID = { {
303303
0x12 ,0x30, 0xF1, 0x71 , 0x61, 0x04 , 0x41, 0x61, 0x17, 0x31, 0x00, 0x82, 0x16, 0xA1, 0xA1, 0x12
304304
} }; // Bender's daydream
305-
std::string const GENESIS_TX = "013c01ff0001ffffffffffff0302df5d56da0c7d643ddd1ce61901c7bdc5fb1738bfe39fbe69c28a3a7032729c0f2101168d0c4ca86fb55a4cf6a36d31431be1c53a3bd7411bb24e8832410289fa6f3b";
305+
std::string const GENESIS_TX =
306+
"01"
307+
"3c"
308+
"01"
309+
"ff"
310+
"00"
311+
"01"
312+
"1e02"
313+
"2c07794f6292faf579ce6bd49d1d37cf299fe62abfc477843b9ee4868d3e6933"
314+
"21"
315+
"01"
316+
"7f33f2165a74f0aede8a9d2ca2ac98439674afdf2f9631cf9d10939cd786704c";
317+
306318
uint32_t const GENESIS_NONCE = 10002;
307319
}
308320
}

src/cryptonote_core/cryptonote_tx_utils.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ namespace cryptonote
224224
};
225225

226226
std::list <std::string> stagenet_addresses = {
227-
227+
"StS1EMPcKqxbJPoVYL8p7RN1tMcbGB9jAVewbpYB37gJ3qjtQKFcRabXGg3QX7jCTiZDVgGhsXaVm9TVb77Ptme2ANxBtzD1Rg",
228+
"StS1JCNsSYSA77L7TZ2Tb5b5aKdydTjQ2Rx9hGz52ri42ZxFN27kWeBg8UNRgmn33jYT9CJF9gEQcNfcLtKpd5nM635bNZ3uCr",
229+
"StS1fHLrX73CT5wyfQa21mJPzRiGcn8FW8P8q53WZzDYZf9cwbsBESDace15nKeHoQJ5U8sm48ncxXGAzyfL4Rdv3LNCpyrK6y"
228230
};
229231

230232
switch (nettype)

src/p2p/net_node.inl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,10 @@ namespace nodetool
704704
if (m_nettype == cryptonote::TESTNET)
705705
{}
706706
else if (m_nettype == cryptonote::STAGENET)
707-
{}
707+
{
708+
full_addrs.insert("65.21.221.2:33833");
709+
full_addrs.insert("65.21.221.3:33833");
710+
}
708711
else if (m_nettype == cryptonote::FAKECHAIN)
709712
{}
710713
else

0 commit comments

Comments
 (0)