C# Class CentralMine.NET.US_Stratum

Inheritance: Upstream
Afficher le fichier Open project: GarageGames/Bitcoin

Méthodes publiques

Méthode Description
Destroy ( ) : void
GetWorkBlock ( ) : WorkBlock
NewBlockReady ( ) : bool
SetCredentials ( string user, string pass ) : void
SetHost ( string url, ushort port ) : void
SubmitWork ( WorkBlock work, uint solution ) : bool
US_Stratum ( ClientManager cm ) : System

Private Methods

Méthode Description
Disconnect ( ) : void
MiningAuthorize ( Newtonsoft.Json.Linq.JObject obj ) : void
MiningNotify ( Newtonsoft.Json.Linq.JObject obj ) : void
MiningSetDifficulty ( Newtonsoft.Json.Linq.JObject obj ) : void
MiningSubmit ( Newtonsoft.Json.Linq.JObject obj, string json ) : void
MiningSubscribe ( Newtonsoft.Json.Linq.JObject obj ) : void
ProcessNetworkLine ( string line ) : void
ReadNetwork ( ) : void
SendRPC ( string methodName, string parameters ) : int
ThreadUpdate ( ) : void

Method Details

Destroy() public méthode

public Destroy ( ) : void
Résultat void

GetWorkBlock() public méthode

public GetWorkBlock ( ) : WorkBlock
Résultat WorkBlock

NewBlockReady() public méthode

public NewBlockReady ( ) : bool
Résultat bool

SetCredentials() public méthode

public SetCredentials ( string user, string pass ) : void
user string
pass string
Résultat void

SetHost() public méthode

public SetHost ( string url, ushort port ) : void
url string
port ushort
Résultat void

SubmitWork() public méthode

public SubmitWork ( WorkBlock work, uint solution ) : bool
work WorkBlock
solution uint
Résultat bool

US_Stratum() public méthode

public US_Stratum ( ClientManager cm ) : System
cm ClientManager
Résultat System