public DifficultyTimeData(int difficulty, DateTime issueTime, int memoryCost, int timeCost, ProofOfWorkType type) { Difficulty = difficulty; IssueTime = issueTime; MemoryCost = memoryCost; TimeCost = timeCost; Type = type; }
public JS_WorkProofRequest(DifficultyTimeData difficultyTimeData) { Type = difficultyTimeData.Type; MemoryCost = difficultyTimeData.MemoryCost; TimeCost = difficultyTimeData.TimeCost; Difficulty = difficultyTimeData.Difficulty; IssueTime = difficultyTimeData.IssueTime; }