Ixian SDK
DLT.PeerStorage Class Reference

Static Public Member Functions

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 ()
 

Static Public Attributes

static string peersFilename = "peers.dat"
 

Detailed Description

Definition at line 9 of file PeerStorage.cs.

Member Function Documentation

◆ addPeerToPeerList()

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

Definition at line 15 of file PeerStorage.cs.

◆ deletePeersFile()

static void DLT.PeerStorage.deletePeersFile ( )
static

Definition at line 174 of file PeerStorage.cs.

◆ getRandomMasterNodeAddress()

static Peer DLT.PeerStorage.getRandomMasterNodeAddress ( )
static

Definition at line 87 of file PeerStorage.cs.

◆ readPeersFile()

static bool DLT.PeerStorage.readPeersFile ( )
static

Definition at line 133 of file PeerStorage.cs.

◆ removePeer()

static bool DLT.PeerStorage.removePeer ( string  hostname)
static

Definition at line 58 of file PeerStorage.cs.

◆ savePeersFile()

static void DLT.PeerStorage.savePeersFile ( )
static

Definition at line 106 of file PeerStorage.cs.

◆ validateHostname()

static bool DLT.PeerStorage.validateHostname ( string  address)
static

Definition at line 68 of file PeerStorage.cs.

Member Data Documentation

◆ peersFilename

string DLT.PeerStorage.peersFilename = "peers.dat"
static

Definition at line 13 of file PeerStorage.cs.


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