Disallow transactions with timestamps more than 30 mins in the future (reduced from 24 hours)

This commit is contained in:
CalDescent 2022-12-14 16:40:11 +00:00
parent 1dc7f056f9
commit 99d5bf9103

View File

@ -110,7 +110,7 @@ public class Settings {
/** Maximum number of unconfirmed transactions allowed per account */
private int maxUnconfirmedPerAccount = 25;
/** 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 */
private boolean autoUpdateEnabled = true;
/** How long between repository backups (ms), or 0 if disabled. */