Closed achingbrain closed 5 years ago
go-ipfs requires a min chunk size of 16 and will use that for the max/avg if they are set smaller than the min, so perform the same sort of validation.
Can do, though it's validated/defaulted by superstruct when the module is in use.
superstruct
In that case I don't think it's necessary to re-validate
Ah, did it anyway - can't hurt 😄
Cool LGTM :)
go-ipfs requires a min chunk size of 16 and will use that for the max/avg if they are set smaller than the min, so perform the same sort of validation.