C# Class CentralMine.NET.US_Stratum

Inheritance: Upstream
Datei anzeigen Open project: GarageGames/Bitcoin

Public Methods

Method 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

Method 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 method

public Destroy ( ) : void
return void

GetWorkBlock() public method

public GetWorkBlock ( ) : WorkBlock
return WorkBlock

NewBlockReady() public method

public NewBlockReady ( ) : bool
return bool

SetCredentials() public method

public SetCredentials ( string user, string pass ) : void
user string
pass string
return void

SetHost() public method

public SetHost ( string url, ushort port ) : void
url string
port ushort
return void

SubmitWork() public method

public SubmitWork ( WorkBlock work, uint solution ) : bool
work WorkBlock
solution uint
return bool

US_Stratum() public method

public US_Stratum ( ClientManager cm ) : System
cm ClientManager
return System