forked from Qortal/qortal
Disallow transactions with timestamps more than 30 mins in the future (reduced from 24 hours)
This commit is contained in:
parent
1dc7f056f9
commit
99d5bf9103
@ -110,7 +110,7 @@ public class Settings {
|
|||||||
/** Maximum number of unconfirmed transactions allowed per account */
|
/** Maximum number of unconfirmed transactions allowed per account */
|
||||||
private int maxUnconfirmedPerAccount = 25;
|
private int maxUnconfirmedPerAccount = 25;
|
||||||
/** Max milliseconds into future for accepting new, unconfirmed transactions */
|
/** Max milliseconds into future for accepting new, unconfirmed transactions */
|
||||||
private int maxTransactionTimestampFuture = 24 * 60 * 60 * 1000; // milliseconds
|
private int maxTransactionTimestampFuture = 30 * 60 * 1000; // milliseconds
|
||||||
/** Whether we check, fetch and install auto-updates */
|
/** Whether we check, fetch and install auto-updates */
|
||||||
private boolean autoUpdateEnabled = true;
|
private boolean autoUpdateEnabled = true;
|
||||||
/** How long between repository backups (ms), or 0 if disabled. */
|
/** How long between repository backups (ms), or 0 if disabled. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user