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

Appendix A - External Network Libraries

gorilla

Algorand uses a fork of gorilla websocket (v1.4.2), to implement the Relay Network.

Relevant changes:

  • Header size and read limits,

  • Server is TLSServer,

  • Message compression,

  • Mutexes for multithreading,

  • Connection closing without flushing, and a thread flusher,

  • Tests and benchmark over additions.

Further details refer to the fork.

libp2p

Algorand uses go-libp2p library (building from the latest release), to implement the Peer-to-Peer network.

See libp2p specifications for detailed documentation on this external package.