Skip to content

WIP: Threshold encryption sequencer - reconnect to DSN node upon failure

What

The threshold encryption sequencer reconnects to the DSN node when the connection to the latter is lost

Why

Because a threshold encryption sequencer without a dsn node sidecar will not receive preblocks, and will not produce and publish blueprints.

How

By inserting a small middleware between the connection to the dsn node and the preblocks stream, which re-established the connection to the former every time it is lost.

Manually testing the MR

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports