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