Ixian SDK
IXICore.PeerStorage Class Reference

Static Public Member Functions

static void init (string path, string filename="peers.ixi")
static bool addPeerToPeerList (string hostname, byte[] walletAddress, bool storePeersFile=true)
static bool removePeer (string hostname)
static bool validateHostname (string address)
static Peer getRandomMasterNodeAddress ()
static void savePeersFile ()
static bool readPeersFile ()
static void deletePeersFile ()

Detailed Description

Definition at line 10 of file PeerStorage.cs.

Member Function Documentation

◆ addPeerToPeerList()

static bool IXICore.PeerStorage.addPeerToPeerList ( string  hostname,
byte []  walletAddress,
bool  storePeersFile = true 

Definition at line 24 of file PeerStorage.cs.

◆ deletePeersFile()

static void IXICore.PeerStorage.deletePeersFile ( )

Definition at line 200 of file PeerStorage.cs.

◆ getRandomMasterNodeAddress()

static Peer IXICore.PeerStorage.getRandomMasterNodeAddress ( )

Definition at line 113 of file PeerStorage.cs.

◆ init()

static void IXICore.PeerStorage.init ( string  path,
string  filename = "peers.ixi" 

Definition at line 17 of file PeerStorage.cs.

◆ readPeersFile()

static bool IXICore.PeerStorage.readPeersFile ( )

Definition at line 159 of file PeerStorage.cs.

◆ removePeer()

static bool IXICore.PeerStorage.removePeer ( string  hostname)

Definition at line 67 of file PeerStorage.cs.

◆ savePeersFile()

static void IXICore.PeerStorage.savePeersFile ( )

Definition at line 132 of file PeerStorage.cs.

◆ validateHostname()

static bool IXICore.PeerStorage.validateHostname ( string  address)

Definition at line 77 of file PeerStorage.cs.

The documentation for this class was generated from the following file: