Author: Russell O'Connor 2019-06-28 11:16:46
Published on: 2019-06-28T11:16:46+00:00
In this context, there is a discussion about the P2P rules and the Unserialize code. The specific lines of code being discussed are located in compat/assumptions.h, serialize.h and other Unserialize_impl implementations. The conversation highlights that the encoding being discussed is unsupported/invalid rather than equivalent/non-canonical. It is noted that MAX_SIZE equals 0x02000000 which is approximately 33.5M and that ReadCompactSize throws "size too large" if the return value is greater than this value. The individual who made the initial comment thanks the person who provided the correction and admits to missing the MAX_SIZE value during their review of the code.
Updated on: 2023-06-13T18:38:39.708776+00:00