C# Class BitMaker.Utils.Tests.TestMinerHost

Miner host implementation for testing purposes.
Inheritance: IMinerContext
Afficher le fichier Open project: wasabii/BitMaker Class Usage Examples

Méthodes publiques

Méthode Description
GetWork ( IMiner miner, string comment ) : BitMaker.Miner.Work
ReportHashes ( IMiner plugin, long count ) : void
SubmitWork ( IMiner miner, BitMaker.Miner.Work work, string comment ) : bool
TestMinerHost ( Func onWork ) : System

Initializes a new instance.

Method Details

GetWork() public méthode

public GetWork ( IMiner miner, string comment ) : BitMaker.Miner.Work
miner IMiner
comment string
Résultat BitMaker.Miner.Work

ReportHashes() public méthode

public ReportHashes ( IMiner plugin, long count ) : void
plugin IMiner
count long
Résultat void

SubmitWork() public méthode

public SubmitWork ( IMiner miner, BitMaker.Miner.Work work, string comment ) : bool
miner IMiner
work BitMaker.Miner.Work
comment string
Résultat bool

TestMinerHost() public méthode

Initializes a new instance.
public TestMinerHost ( Func onWork ) : System
onWork Func
Résultat System