|
static List< string[]> | getSeedNodes (bool isTestNet) |
| Helper function which returns a list of seed addresses based on the testnet parameter. More...
|
|
static string | GetLocalIPAddress () |
| Returns the first unicast, IPv4 network address on the local machine. More...
|
|
static List< string > | GetAllLocalIPAddresses () |
| Retrieves all IPv4, unicast addresses on the local computer. More...
|
|
static IPAddress | GetPrimaryIPAddress () |
| Returns the first IPv4, unicast address on the local computer which has a gateway configured and is, therefore, probably Internet-connectable. More...
|
|
static List< IPAndMask > | GetAllLocalIPAddressesAndMasks () |
| Retrieves all locally configured IPv4 addresses and their subnet masks for the local computer. More...
|
|
static bool | PingAddressReachable (String full_hostname) |
| Attempts to connect to the given host name or IP address and transmit some data. Note: This function has a possible delay of about 2 seconds. More...
|
|
static void | reconnect () |
| Disconnects and reconnects the node to the network. More...
|
|
static void | isolate () |
| Isolates the node from the network. More...
|
|
|
static List< string[]> | seedNodes |
| List of Ixian MainNet seed nodes and their addresses. More...
|
|
static List< string[]> | seedTestNetNodes |
| List of Ixian TestNet seed nodes and their addresses. More...
|
|
Definition at line 358 of file Network.cs.
◆ GetAllLocalIPAddresses()
static List<string> IXICore.Network.CoreNetworkUtils.GetAllLocalIPAddresses |
( |
| ) |
|
|
static |
Retrieves all IPv4, unicast addresses on the local computer.
- Returns
- List of all IP addresses of the local computer as strings.
Definition at line 425 of file Network.cs.
◆ GetAllLocalIPAddressesAndMasks()
static List<IPAndMask> IXICore.Network.CoreNetworkUtils.GetAllLocalIPAddressesAndMasks |
( |
| ) |
|
|
static |
Retrieves all locally configured IPv4 addresses and their subnet masks for the local computer.
- Returns
- List of IP addresses and subnet masks.
Definition at line 493 of file Network.cs.
◆ GetLocalIPAddress()
static string IXICore.Network.CoreNetworkUtils.GetLocalIPAddress |
( |
| ) |
|
|
static |
Returns the first unicast, IPv4 network address on the local machine.
- Returns
- IPv4 address as string.
Definition at line 400 of file Network.cs.
◆ GetPrimaryIPAddress()
static IPAddress IXICore.Network.CoreNetworkUtils.GetPrimaryIPAddress |
( |
| ) |
|
|
static |
Returns the first IPv4, unicast address on the local computer which has a gateway configured and is, therefore, probably Internet-connectable.
- Returns
- IP address object
Definition at line 452 of file Network.cs.
◆ getSeedNodes()
static List<string[]> IXICore.Network.CoreNetworkUtils.getSeedNodes |
( |
bool |
isTestNet | ) |
|
|
static |
Helper function which returns a list of seed addresses based on the testnet parameter.
- Parameters
-
isTestNet | Indicator whether TestNet seed nodes should be returned (true), or MainNet (false). |
- Returns
- List of connectable seed addresses.
Definition at line 387 of file Network.cs.
◆ isolate()
static void IXICore.Network.CoreNetworkUtils.isolate |
( |
| ) |
|
|
static |
Isolates the node from the network.
Definition at line 598 of file Network.cs.
◆ PingAddressReachable()
static bool IXICore.Network.CoreNetworkUtils.PingAddressReachable |
( |
String |
full_hostname | ) |
|
|
static |
Attempts to connect to the given host name or IP address and transmit some data. Note: This function has a possible delay of about 2 seconds.
- Parameters
-
full_hostname | Hostname or IP address of the remote endpoint. |
- Returns
- True, if the IP address is reachable.
Definition at line 521 of file Network.cs.
◆ reconnect()
static void IXICore.Network.CoreNetworkUtils.reconnect |
( |
| ) |
|
|
static |
Disconnects and reconnects the node to the network.
Definition at line 575 of file Network.cs.
◆ seedNodes
List<string[]> IXICore.Network.CoreNetworkUtils.seedNodes |
|
static |
Initial value:= new List<string[]>
{
new string[2] { "seed1.ixian.io:10234", "1AAF8ZagTw6UqiQPUoiKjmoAN45jvR8tdmSmeev4uNzq45QWB" },
new string[2] { "seed2.ixian.io:10234", "1NpizdRi5rmw586Aw883CoQ7THUT528CU5JGhGomgaG9hC3EF" },
new string[2] { "seed3.ixian.io:10234", "1Dp9bEFkymhN8PcN7QBzKCg2buz4njjp4eJeFngh769H4vUWi" },
new string[2] { "seed4.ixian.io:10234", "1SWy7jYky8xkuN5dnr3aVMJiNiQVh4GSLggZ9hBD3q7ALVEYY" },
new string[2] { "seed5.ixian.io:10234", "1R2WxZ7rmQhMTt5mCFTPhPe9Ltw8pTPY6uTsWHCvVd3GvWupC" }
}
List of Ixian MainNet seed nodes and their addresses.
Definition at line 363 of file Network.cs.
◆ seedTestNetNodes
List<string[]> IXICore.Network.CoreNetworkUtils.seedTestNetNodes |
|
static |
Initial value:= new List<string[]>
{
new string[2] { "seedtest1.ixian.io:11234", null },
new string[2] { "seedtest2.ixian.io:11234", null },
new string[2] { "seedtest3.ixian.io:11234", null }
}
List of Ixian TestNet seed nodes and their addresses.
Definition at line 375 of file Network.cs.
The documentation for this class was generated from the following file: