Skip to content

Commit

Permalink
feat: adding calculateNodeReputationTaskTime
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanCapistrano committed Mar 24, 2024
1 parent aea653e commit 7b757b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/reputation/node/models/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public class Node implements NodeTypeService, ILedgerSubscriber {
private int checkNodesServicesTaskTime;
private int waitNodesResponsesTaskTime;
private int changeDisturbingNodeBehaviorTaskTime;
private int calculateNodeReputationTaskTime;
private List<Device> devices;
private List<Transaction> nodesWithServices;
private LedgerConnector ledgerConnector;
Expand Down Expand Up @@ -1404,4 +1405,14 @@ public double getCurrentReputation() {
public void setCurrentReputation(double currentReputation) {
this.currentReputation = currentReputation;
}

public int getCalculateNodeReputationTaskTime() {
return calculateNodeReputationTaskTime;
}

public void setCalculateNodeReputationTaskTime(
int calculateNodeReputationTaskTime
) {
this.calculateNodeReputationTaskTime = calculateNodeReputationTaskTime;
}
}

0 comments on commit 7b757b7

Please sign in to comment.