Browse Source

Added onlineAccountsMemPoWEnabled setting (for beta testing)

online-accounts-mempow-v2
CalDescent 2 years ago
parent
commit
b05d428b2e
  1. 9
      src/main/java/org/qortal/settings/Settings.java

9
src/main/java/org/qortal/settings/Settings.java

@ -283,6 +283,11 @@ public class Settings {
/** Additional offset added to values returned by NTP.getTime() */
private Long testNtpOffset = null;
// Online accounts
/** Whether to opt-in to mempow computations for online accounts, ahead of general release */
private boolean onlineAccountsMemPoWEnabled = false;
// Data storage (QDN)
@ -766,6 +771,10 @@ public class Settings {
return this.testNtpOffset;
}
public boolean isOnlineAccountsMemPoWEnabled() {
return this.onlineAccountsMemPoWEnabled;
}
public long getRepositoryBackupInterval() {
return this.repositoryBackupInterval;
}

Loading…
Cancel
Save