increased max TX size from HF2; bumped version number

This commit is contained in:
Some Random Crypto Guy
2024-10-30 14:31:27 +00:00
parent 1df18ca6a4
commit e45643e157
5 changed files with 9 additions and 11 deletions
+2 -2
View File
@@ -112,8 +112,8 @@ namespace cryptonote
uint64_t get_transaction_weight_limit(uint8_t version)
{
// from v8, limit a tx to 50% of the minimum block weight
if (version >= 8)
// from v2, limit a tx to 50% of the minimum block weight
if (version >= 2)
return get_min_block_weight(version) / 2 - CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE;
else
return get_min_block_weight(version) - CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE;