Skip to content

Encoding

The codec for client -> server transport is a wrapper around the Witnet network protocol which includes an extra u32 to indicate the message length. This limits the size of a message to 4GiB.

Field Type Description
length u32 message length
data [u8; length] message data