Skip to content

Commit

Permalink
Remove support for LEGACY_TESTNET.
Browse files Browse the repository at this point in the history
  • Loading branch information
satran004 committed Nov 25, 2024
1 parent e6afd98 commit 2317292
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ public static BlockStreamer fromLatest(NetworkType networkType) {
switch (networkType) {
case MAINNET:
return fromLatest(MAINNET_IOHK_RELAY_ADDR, MAINNET_IOHK_RELAY_PORT, WELL_KNOWN_MAINNET_POINT, networkType.getN2NVersionTable());
case LEGACY_TESTNET:
return fromLatest(TESTNET_IOHK_RELAY_ADDR, TESTNET_IOHK_RELAY_PORT, WELL_KNOWN_TESTNET_POINT, networkType.getN2NVersionTable());
case PREPROD:
return fromLatest(PREPROD_IOHK_RELAY_ADDR, PREPROD_IOHK_RELAY_PORT, WELL_KNOWN_PREPROD_POINT, networkType.getN2NVersionTable());
case PREVIEW:
Expand All @@ -73,8 +71,6 @@ public static BlockStreamer fromPoint(NetworkType networkType, Point point) {
switch (networkType) {
case MAINNET:
return fromPoint(MAINNET_IOHK_RELAY_ADDR, MAINNET_IOHK_RELAY_PORT, point, networkType.getN2NVersionTable());
case LEGACY_TESTNET:
return fromPoint(TESTNET_IOHK_RELAY_ADDR, TESTNET_IOHK_RELAY_PORT, point, networkType.getN2NVersionTable());
case PREPROD:
return fromPoint(PREPROD_IOHK_RELAY_ADDR, PREPROD_IOHK_RELAY_PORT, point, networkType.getN2NVersionTable());
case PREVIEW:
Expand Down Expand Up @@ -242,8 +238,6 @@ public static BlockStreamer forRange(NetworkType networkType, Point fromPoint, P
switch (networkType) {
case MAINNET:
return forRange(MAINNET_IOHK_RELAY_ADDR, MAINNET_IOHK_RELAY_PORT, fromPoint, toPoint, networkType.getN2NVersionTable());
case LEGACY_TESTNET:
return forRange(TESTNET_IOHK_RELAY_ADDR, TESTNET_IOHK_RELAY_PORT, fromPoint, toPoint, networkType.getN2NVersionTable());
case PREPROD:
return forRange(PREPROD_IOHK_RELAY_ADDR, PREPROD_IOHK_RELAY_PORT, fromPoint, toPoint, networkType.getN2NVersionTable());
case PREVIEW:
Expand Down

0 comments on commit 2317292

Please sign in to comment.