C# Class BitCoinClient.Worker

Exibir arquivo Open project: GarageGames/Bitcoin Class Usage Examples

Public Properties

Property Type Description
mHashrate double

Public Methods

Method Description
Close ( ) : void
IOThread ( ) : void
ProcessStopCommand ( ) : void
ProcessWorkCommand ( NetworkStream stream ) : void
SHATransform ( uint output, uint init, uint data ) : void
SendIdentity ( ) : void
SendWorkComplete ( bool solutionFound, uint solution, uint hashesDone ) : void
WorkThread ( ) : void
Worker ( ) : System
sha256_block_data_order ( uint output, uint state, uint input ) : void

Private Methods

Method Description
Ch ( uint x, uint y, uint z ) : uint
DoHashes ( uint start, uint count ) : uint
Maj ( uint x, uint y, uint z ) : uint
ROTATE ( uint a, int n ) : uint
Sigma0 ( uint x ) : uint
Sigma1 ( uint x ) : uint
sigma0 ( uint x ) : uint
sigma1 ( uint x ) : uint

Method Details

Close() public method

public Close ( ) : void
return void

IOThread() public method

public IOThread ( ) : void
return void

ProcessStopCommand() public method

public ProcessStopCommand ( ) : void
return void

ProcessWorkCommand() public method

public ProcessWorkCommand ( NetworkStream stream ) : void
stream NetworkStream
return void

SHATransform() public method

public SHATransform ( uint output, uint init, uint data ) : void
output uint
init uint
data uint
return void

SendIdentity() public method

public SendIdentity ( ) : void
return void

SendWorkComplete() public method

public SendWorkComplete ( bool solutionFound, uint solution, uint hashesDone ) : void
solutionFound bool
solution uint
hashesDone uint
return void

WorkThread() public method

public WorkThread ( ) : void
return void

Worker() public method

public Worker ( ) : System
return System

sha256_block_data_order() public method

public sha256_block_data_order ( uint output, uint state, uint input ) : void
output uint
state uint
input uint
return void

Property Details

mHashrate public_oe property

public double mHashrate
return double