The NATS C Client structure jsAccountInfo has a member Limits that holds a jsAccountLimits structure.
This structure in turn has a member MaxBytesRequired of which the datatype is a bool.
Shouldn't that member be define int64_t as are the other jsAccountInfo::Limits::... members?
I tried to give the boolean meaning, but i don't find any, hence it wonder if this is a declaration error.
I asked the question on the GitHub board of NATS C Client and the following answer was provided by the developing team:
Hence the name MaxBytesRequired must be read as: Do all streams need to be forced to have a MaxBytes value set.
This is on an Account basis.