diff --git a/src/main/java/reputation/node/models/Node.java b/src/main/java/reputation/node/models/Node.java index 2742e66..b67d7bc 100644 --- a/src/main/java/reputation/node/models/Node.java +++ b/src/main/java/reputation/node/models/Node.java @@ -90,6 +90,7 @@ public class Node implements NodeTypeService, ILedgerSubscriber { private long startedExperiment; private boolean flagStartedExperiment = true; private boolean changeDisturbingNodeBehaviorFlag = false; + private double currentReputation; private static final Logger logger = Logger.getLogger(Node.class.getName()); public Node() {} @@ -1395,4 +1396,12 @@ public boolean isUseReputation() { public void setUseReputation(boolean useReputation) { this.useReputation = useReputation; } + + public double getCurrentReputation() { + return currentReputation; + } + + public void setCurrentReputation(double currentReputation) { + this.currentReputation = currentReputation; + } }