randomize trade amount +-10%, price +-1%, date within 48 hours (fork) (#1815)

This commit is contained in:
woodser 2025-07-21 09:56:04 -04:00 committed by GitHub
parent 79dbe34359
commit 51d40d73a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 104 additions and 49 deletions

View file

@ -107,12 +107,11 @@ public class Version {
// The version no. of the current protocol. The offer holds that version.
// A taker will check the version of the offers to see if his version is compatible.
// For the switch to version 2, offers created with the old version will become invalid and have to be canceled.
// For the switch to version 3, offers created with the old version can be migrated to version 3 just by opening
// the Haveno app.
// Version = 0.0.1 -> TRADE_PROTOCOL_VERSION = 1
// Version = 1.0.19 -> TRADE_PROTOCOL_VERSION = 2
public static final int TRADE_PROTOCOL_VERSION = 2;
// Version = 1.2.0 -> TRADE_PROTOCOL_VERSION = 3
public static final int TRADE_PROTOCOL_VERSION = 3;
private static String p2pMessageVersion;
public static String getP2PMessageVersion() {