hydra icon indicating copy to clipboard operation
hydra copied to clipboard

Use versioned handshake when connecting hydra-nodes

Open abailly-iohk opened this issue 2 years ago • 0 comments

Why

Users should be able to tell whether two nodes are able to communicate before opening a Head (i.e. spending ADAs to post transactions on-chain)

What

Make the networking stack detect when incompatible versions are used between nodes.

How

Two options:

  • Improve our ouroboros-network stack to using a versioned handshake protocol with a description of which versions of the Hydra off-chain protocol are supported by each party will allow the hydra-node to fail earlier and provide better information to operators on the reasons why the hydra head cannot operate.

  • Switch to another network stack that provides a similar version-ed messaging mechanism

abailly-iohk avatar Aug 04 '23 07:08 abailly-iohk