View Source Xander.ChainSync.Response (Xander v0.3.0)

This module is responsible for decoding CBOR responses and parsing them into Ouroboros-specific structs.

Summary

Functions

Decodes a CBOR payload and returns a Ouroboros-specific struct. This function should be used in favor of using CBOR.decode/1 from the CBOR hex package directly.

Functions

decode(cbor_data)

Decodes a CBOR payload and returns a Ouroboros-specific struct. This function should be used in favor of using CBOR.decode/1 from the CBOR hex package directly.

parse_response(response)