You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Maximum block size is platform dependent
As defined in the BlockStat struct, the size of a block is taken by the len() function, which returns an int. The size of this differs on different platforms; ie int32 on 32-bit machines, int64 on 64-bit machines. So, it's possible for a 64-bit machine to create a block that a 32-bit machine can't process.
The text was updated successfully, but these errors were encountered:
For most purposes maximum block size will be 4MB - (size of bitswap header), this is due to message size limit in libp2p, which is there mostly for security reasons.
Version information:
Git master as of commit 8b90b70
Type: Bug
Severity: medium/maybe low
Description: Maximum block size is platform dependent
As defined in the BlockStat struct, the size of a block is taken by the
len()
function, which returns anint
. The size of this differs on different platforms; ie int32 on 32-bit machines, int64 on 64-bit machines. So, it's possible for a 64-bit machine to create a block that a 32-bit machine can't process.The text was updated successfully, but these errors were encountered: