C# Class CentralMine.NET.Upstream

Mostrar archivo Open project: GarageGames/Bitcoin Class Usage Examples

Protected Properties

Property Type Description
mClientManager ClientManager
mPass string
mPort ushort
mURL string
mUser string

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
Upstream ( ClientManager cm ) : System

Method Details

Destroy() public method

public Destroy ( ) : void
return void

GetWorkBlock() public abstract method

public abstract GetWorkBlock ( ) : WorkBlock
return WorkBlock

NewBlockReady() public abstract method

public abstract 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 abstract method

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

Upstream() public method

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

Property Details

mClientManager protected_oe property

protected ClientManager,CentralMine.NET mClientManager
return ClientManager

mPass protected_oe property

protected string mPass
return string

mPort protected_oe property

protected ushort mPort
return ushort

mURL protected_oe property

protected string mURL
return string

mUser protected_oe property

protected string mUser
return string