forked from Qortal/qortal
Added onlineAccountsMemPoWEnabled setting (for beta testing)
This commit is contained in:
parent
d2adadb600
commit
b05d428b2e
@ -283,6 +283,11 @@ public class Settings {
|
|||||||
/** Additional offset added to values returned by NTP.getTime() */
|
/** Additional offset added to values returned by NTP.getTime() */
|
||||||
private Long testNtpOffset = null;
|
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)
|
// Data storage (QDN)
|
||||||
|
|
||||||
@ -766,6 +771,10 @@ public class Settings {
|
|||||||
return this.testNtpOffset;
|
return this.testNtpOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isOnlineAccountsMemPoWEnabled() {
|
||||||
|
return this.onlineAccountsMemPoWEnabled;
|
||||||
|
}
|
||||||
|
|
||||||
public long getRepositoryBackupInterval() {
|
public long getRepositoryBackupInterval() {
|
||||||
return this.repositoryBackupInterval;
|
return this.repositoryBackupInterval;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user