Increase CHAT transaction data limits to the maximum (4000 bytes) to allow for upcoming UI features.

This commit is contained in:
CalDescent 2023-01-13 19:27:02 +00:00
parent 8e97c05b56
commit ba95f8376f

View File

@ -30,7 +30,7 @@ public class ChatTransaction extends Transaction {
private ChatTransactionData chatTransactionData;
// Other useful constants
public static final int MAX_DATA_SIZE = 1024;
public static final int MAX_DATA_SIZE = 4000;
public static final int POW_BUFFER_SIZE = 8 * 1024 * 1024; // bytes
public static final int POW_DIFFICULTY_ABOVE_QORT_THRESHOLD = 8; // leading zero bits
public static final int POW_DIFFICULTY_BELOW_QORT_THRESHOLD = 18; // leading zero bits