Why are blocks serialized? and Is there any alternative way?

0

Am I right that blocks are serialized because they're supposed to be sent to the network?

If yes, then all the data (regardless whether they are blocks or not) should be serialized. Then why do we mention that explicitly (e.g. in this post)?

user153465

Posted 2017-07-31T09:36:46.317

Reputation: 251

Answers

2

Everything that is sent to the network is serialized. This includes blocks and transactions. Serialization is explicitly mentioned in the developer guide so that it is explicitly clear about what is sent and in what format.

Andrew Chow

Posted 2017-07-31T09:36:46.317

Reputation: 40 910