BlockChain.java additions for onlineAccountMinterLevelValidationHeight, which were missing from commit 68a0923

This commit is contained in:
CalDescent
2022-11-26 11:55:27 +00:00
parent 1c8a6ce204
commit 9c3a4d6e37
14 changed files with 32 additions and 14 deletions

View File

@@ -74,7 +74,8 @@ public class BlockChain {
transactionV5Timestamp,
transactionV6Timestamp,
disableReferenceTimestamp,
increaseOnlineAccountsDifficultyTimestamp;
increaseOnlineAccountsDifficultyTimestamp,
onlineAccountMinterLevelValidationHeight,
}
// Custom transaction fees
@@ -483,6 +484,10 @@ public class BlockChain {
return this.featureTriggers.get(FeatureTrigger.increaseOnlineAccountsDifficultyTimestamp.name()).longValue();
}
public long getOnlineAccountMinterLevelValidationHeight() {
return this.featureTriggers.get(FeatureTrigger.onlineAccountMinterLevelValidationHeight.name()).intValue();
}
// More complex getters for aspects that change by height or timestamp

View File

@@ -80,7 +80,8 @@
"transactionV5Timestamp": 1642176000000,
"transactionV6Timestamp": 9999999999999,
"disableReferenceTimestamp": 1655222400000,
"increaseOnlineAccountsDifficultyTimestamp": 9999999999999
"increaseOnlineAccountsDifficultyTimestamp": 9999999999999,
"onlineAccountMinterLevelValidationHeight": 0,
},
"genesisInfo": {
"version": 4,