C# Class CentralMine.NET.ClientManager

Datei anzeigen Open project: GarageGames/Bitcoin Class Usage Examples

Public Properties

Property Type Description
mBlock WorkBlock
mBlocksAccepted long
mBlocksSubmitted long
mClients List
mDumpClients bool
mHashrate double
mMiningTarget MiningTarget
mPrevBlocks CentralMine.NET.WorkBlock[]

Public Methods

Method Description
AcceptClient ( TcpClient client ) : void
AssignWork ( Client c ) : void
BeginBlock ( ) : void
ClientManager ( ) : System
Close ( ) : void
GetHashesDone ( ) : uint
SetCurrency ( Currency c ) : void
Update ( ) : void
WorkComplete ( Client solver, bool solutionFound, uint solution ) : void

Method Details

AcceptClient() public method

public AcceptClient ( TcpClient client ) : void
client System.Net.Sockets.TcpClient
return void

AssignWork() public method

public AssignWork ( Client c ) : void
c Client
return void

BeginBlock() public method

public BeginBlock ( ) : void
return void

ClientManager() public method

public ClientManager ( ) : System
return System

Close() public method

public Close ( ) : void
return void

GetHashesDone() public method

public GetHashesDone ( ) : uint
return uint

SetCurrency() public method

public SetCurrency ( Currency c ) : void
c System.Currency
return void

Update() public method

public Update ( ) : void
return void

WorkComplete() public method

public WorkComplete ( Client solver, bool solutionFound, uint solution ) : void
solver Client
solutionFound bool
solution uint
return void

Property Details

mBlock public_oe property

public WorkBlock,CentralMine.NET mBlock
return WorkBlock

mBlocksAccepted public_oe property

public long mBlocksAccepted
return long

mBlocksSubmitted public_oe property

public long mBlocksSubmitted
return long

mClients public_oe property

public List mClients
return List

mDumpClients public_oe property

public bool mDumpClients
return bool

mHashrate public_oe property

public double mHashrate
return double

mMiningTarget public_oe property

public MiningTarget,CentralMine.NET mMiningTarget
return MiningTarget

mPrevBlocks public_oe property

public WorkBlock[],CentralMine.NET mPrevBlocks
return CentralMine.NET.WorkBlock[]