chapter273, [SORA][SORA Network] We improved the “serialize.h”. Both supported IMPLEMENT_SERIALIZE and ADD_SERIALIZE_METHODS.

AI-NFT Web3.0 FromHDDtoSSD

We improved the “serialize.h”.
https://github.com/FromHDDtoSSD/SorachanCoin-qt/blob/develop/src/serialize.h

We have confirmed the normal operation by coexisting IMPLEMENT_SERIALIZE used in the old core, and ADD_SERIALIZE_METHODS used in the latest core.

In addition, since “class CSizeComputer” works even if IMPLEMENT_SERIALIZE of the old core,
“::GetSerializeSize(const T &)” is no longer necessary to it. thanks!

Also, we lifted the 16-bits limit for big endian processing.
It works automatically up to 64-bits without any problem.

タイトルとURLをコピーしました