Class Network


public final class Network extends Network<Address,NetworkTimestamp>
Network

Represents a NEM network.

  • Field Details

    • MAINNET

      public static final Network MAINNET
      NEM main network.
    • TESTNET

      public static final Network TESTNET
      NEM test network.
    • NETWORKS

      public static final List<Network> NETWORKS
      NEM well-known networks.
  • Constructor Details

    • Network

      public Network(String name, byte identifier, Instant epochTime)
      Creates a new NEM network.
      Parameters:

      name - Network name.

      identifier - Network identifier byte.

      epochTime - Network epoch time.