Mk4 values added

This commit is contained in:
Peter D. Gray 2022-01-12 09:30:58 -05:00
parent 56db769927
commit ef17ffd140
No known key found for this signature in database
GPG Key ID: F0E6CC6AFC16CF7B

View File

@ -18,9 +18,11 @@ MAX_MSG_LEN = const(4+4+4+MAX_BLK_LEN)
# - the max on the wire for mainnet is 100k
# - but a PSBT might contain a full txn for each input
MAX_TXN_LEN = const(384*1024)
MAX_TXN_LEN_MK4 = const(2*1024*1024)
# Max size of any upload (firmware.dfu files in particular)
MAX_UPLOAD_LEN = const(2*MAX_TXN_LEN)
MAX_UPLOAD_LEN_MK4 = const(2*MAX_TXN_LEN_MK4)
# Max length of text messages for signing
MSG_SIGNING_MAX_LENGTH = const(240)