Module ibc_core_connection_types::version

source ·
Expand description

Defines connection versioning type and functions

Structs§

  • Stores the identifier and the features supported by a version

Functions§

  • Iterates over the descending ordered set of compatible IBC versions and selects the first version with a version identifier that is supported by the counterparty. The returned version contains a feature set with the intersection of the features supported by the source and counterparty chains. If the feature set intersection is nil then the search for a compatible version continues. This function is called in the conn_open_try handshake procedure.