Skip to content

Canonical Serialization

Eric Voskuil edited this page Mar 16, 2017 · 2 revisions

Libbitcoin serializes message objects in accordance with the peer's protocol level. However it is often useful to use a context free serialization. This is referred to as the canonical serialization.

Transactions and blocks are serialized in accordance with the wire protocol. Block headers are serialized in accordance with the wire protocol excluding the transaction count value. This produces an 80 byte fixed length serialization.

Clone this wiki locally