Appendix A - MsgPack Reference - Algorand Specifications

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Algorand Specifications

In the go-algorand reference implementation, all data structures that are exchanged between components of the Algorand node are annotated to specify how they should be encoded.

The Algorand Cryptographic specification defines the encoding rules for each type using a canonical variant of MessagePack.

Additional details about how encoding works in the Algorand Node can be found in the go-algorand MessagePack documentation.

Here are some important rules used by the codec:

For a broader understanding of the msgpack format in Go, refer to this primer.