- Bitcoin: 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY
- Litecoin: LiUGs9sqH6GBHsvzpNtLCoyXB5aCDi9HsQ
- Dogecoin: DTy5q7uUQ1whqyUrwC1LbhgqwKgovJT5R7
- Protoshares (BitShares-PTS): PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z
- BTSX: drltc
-
How is vector serialized? Answer:
Apparently uses the following implementation in
fc/io/raw.hpp
template<typename Stream, typename T> inline void pack( Stream& s, const std::vector<T>& value ) template<typename Stream> inline void pack( Stream& s, const unsigned_int& v )
but I can't really find where this is "attached" to serialization.
-
Has anyone tried compiling on big-endian architecture?
-
Where is serialization of
optional<whatever>
implmented?inline void pack( Stream& s, const fc::optional<T>& v )
which appears to output bool (one byte) followed by T.
-
Where is it specified that
enum chain_server_commands
will transmit on the wire asuint64_t
? Or am I missing another 32-bit field? -
Is
enum_chain_server_commands
32-bit when the program is compiled on a 32-bit machine? If so, this needs to be fixed, 32-bit chainserver client should be able to communicate with a 64-bit chainserver and vice versa. -
How does optional serialization deal with flag byte that is not 0 or 1? We should add checks so other values of flag byte are reserved and cause block to be rejected as malformed.