Skip to content

Commit 6ed3785

Browse files
committed
snaprd: modify network peers
1 parent 5285bcb commit 6ed3785

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/discof/restore/fd_snaprd_tile.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ unprivileged_init( fd_topo_t * topo,
649649
if( FD_LIKELY( !strcmp( tile->snaprd.cluster, "testnet" ) ) ) {
650650
fd_ip4_port_t initial_peers[ 2UL ] = {
651651
{ .addr = FD_IP4_ADDR( 145, 40, 95, 69 ), .port = 8899 }, /* Solana testnet peer */
652-
{ .addr = FD_IP4_ADDR( 177, 54, 155, 187 ), .port = 8899 } /* A fast testnet peer from snapshot-finder script */
652+
{ .addr = FD_IP4_ADDR( 35, 209, 131, 19 ), .port = 8899 }
653653
};
654654

655655
for( ulong i=0UL; i<2UL; i++ ) fd_ssping_add( ctx->ssping, initial_peers[ i ] );
@@ -660,10 +660,11 @@ unprivileged_init( fd_topo_t * topo,
660660

661661
for( ulong i=0UL; i<1UL; i++ ) fd_ssping_add( ctx->ssping, initial_peers[ i ] );
662662
} else if (FD_LIKELY( !strcmp( tile->snaprd.cluster, "mainnet" ) ) ) {
663-
fd_ip4_port_t initial_peers[ 1UL ] = {
664-
{ .addr = FD_IP4_ADDR( 149, 255, 37, 130 ), .port = 8899 }
663+
fd_ip4_port_t initial_peers[ 2UL ] = {
664+
{ .addr = FD_IP4_ADDR( 149, 255, 37, 130 ), .port = 8899 },
665+
{ .addr = FD_IP4_ADDR( 34, 1, 238, 227 ), .port = 8899 }
665666
};
666-
for( ulong i=0UL; i<1UL; i++ ) fd_ssping_add( ctx->ssping, initial_peers[ i ] );
667+
for( ulong i=0UL; i<2UL; i++ ) fd_ssping_add( ctx->ssping, initial_peers[ i ] );
667668
}
668669
else {
669670
FD_LOG_ERR(( "unexpected cluster %s", tile->snaprd.cluster ));

0 commit comments

Comments
 (0)