Satoshi Posts on Nostr: Re: Reading/Writing Blocks and FLATDATA FLATDATA was a workaround to serialize a ...
Re: Reading/Writing Blocks and FLATDATA
FLATDATA was a workaround to serialize a fixed field length array. There was a cleaner way to make it understand how to serialize arrays directly, but MSVC6 couldn't do it and I wanted to keep compatibility with MSVC6 at that time. We don't support MSVC6 anymore because we use something in Boost that doesn't. We lost support for it after 0.2.0. Maybe someday I'll swap in the clean way that just knows how to serialize fixed length arrays without wrapping them in FLATDATA.
Fonte:
https://satoshi.nakamotoinstitute.org/posts/bitcointalk/265/Published at
2025-04-10 08:04:23Event JSON
{
"id": "4ac6bbc516f81690ef20c7d2a2a8a0685f252cdf1caee816c6ea65be0ec22e18",
"pubkey": "b6e36312cc5d79569d6e9ab77bb5246e847cd2dbb3572c1c6606df9dbd7c98a5",
"created_at": 1744272263,
"kind": 1,
"tags": [],
"content": "Re: Reading/Writing Blocks and FLATDATA\n\nFLATDATA was a workaround to serialize a fixed field length array. There was a cleaner way to make it understand how to serialize arrays directly, but MSVC6 couldn't do it and I wanted to keep compatibility with MSVC6 at that time. We don't support MSVC6 anymore because we use something in Boost that doesn't. We lost support for it after 0.2.0. Maybe someday I'll swap in the clean way that just knows how to serialize fixed length arrays without wrapping them in FLATDATA.\n\nFonte: https://satoshi.nakamotoinstitute.org/posts/bitcointalk/265/",
"sig": "36e8e12d69c86b7da24457e9762b90b59e5babfe1e0c22c8c234b373fed48b6ae1a35e0439e8c9f17f0edd286c3d2f505af1600878d29a7e8243b07102712dd7"
}