Added onlineAccountsMemPoWEnabled setting (for beta testing)

This commit is contained in:
CalDescent 2022-07-01 22:31:51 +01:00
parent d2adadb600
commit b05d428b2e

View File

@ -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;
}