Structs§

  • Data inside session, sent to validator network. Wrapper for data send over network. We need it to ensure compatibility. The order of the data and session_id is fixed in encode and the decode expects it to be data, session_id. Since data is versioned, i.e. it’s encoding starts with a version number in the standardized way, this will allow us to retrofit versioning here if we ever need to change this structure.