Skip to content

Commit

Permalink
feat: adding useReputation attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanCapistrano committed Mar 24, 2024
1 parent 528645d commit 65cc732
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/reputation/node/models/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public class Node implements NodeTypeService, ILedgerSubscriber {
private boolean isNodesCredibilityWithSourceEmpty = true;
private boolean useCredibility;
private boolean useLatestCredibility;
private boolean useReputation;
private double reputationValue;
private NodeCredibility nodeCredibility;
private CsvWriterService csvWriter;
Expand Down Expand Up @@ -1377,4 +1378,12 @@ public void setChangeDisturbingNodeBehaviorFlag(
) {
this.changeDisturbingNodeBehaviorFlag = changeDisturbingNodeBehaviorFlag;
}

public boolean isUseReputation() {
return useReputation;
}

public void setUseReputation(boolean useReputation) {
this.useReputation = useReputation;
}
}

0 comments on commit 65cc732

Please sign in to comment.