C# Class CentralMine.NET.HashManager

Datei anzeigen Open project: GarageGames/Bitcoin Class Usage Examples

Public Properties

Property Type Description
mExpires bool
mHashesDone uint
mHashesTotal uint
mHashrate uint
mStartTime System.DateTime

Public Methods

Method Description
Allocate ( uint desired, Client c ) : HashBlock
FinishBlock ( HashBlock block ) : void
FreeBlock ( HashBlock block ) : void
HashManager ( ) : System
IsComplete ( ) : bool
IsExpired ( ) : bool

Private Methods

Method Description
FindFreeBlock ( uint desiredSize ) : HashBlock

Method Details

Allocate() public method

public Allocate ( uint desired, Client c ) : HashBlock
desired uint
c Client
return HashBlock

FinishBlock() public method

public FinishBlock ( HashBlock block ) : void
block HashBlock
return void

FreeBlock() public method

public FreeBlock ( HashBlock block ) : void
block HashBlock
return void

HashManager() public method

public HashManager ( ) : System
return System

IsComplete() public method

public IsComplete ( ) : bool
return bool

IsExpired() public method

public IsExpired ( ) : bool
return bool

Property Details

mExpires public_oe property

public bool mExpires
return bool

mHashesDone public_oe property

public uint mHashesDone
return uint

mHashesTotal public_oe property

public uint mHashesTotal
return uint

mHashrate public_oe property

public uint mHashrate
return uint

mStartTime public_oe property

public DateTime,System mStartTime
return System.DateTime