Skip to content

Implement a fake DMQ node with Mithril relay #2627

@jpraynaud

Description

@jpraynaud

Why

We want to create a end to end test for the Mithril nodes using the DMQ network. The current Haskell DMQ implementation is not ready to be tested yet. In the mean time, we want to create a fake DMQ node implementation that will only implement the server side of the n2c Local Message Submission and n2c Local Message Notification mini-protocols and fake the n2n Message Submission mini-protocol by leveraging the P2P network of the Mithril relay.

What

Implement a fake DMQ node with the Mithril relay.

How

  • Implement the server side of the DMQ n2c mini-protocols in the mithril-dmq crate:
    • For the n2c Local Message Submission mini-protocol
    • For the n2c Local Message Notification mini-protocol
  • Adapt the Mithril relay to support:
    • Listening to published signatures through the server side of the n2c Local Message Submission mini-protocol
    • Allowing notification of received signatures through the P2P network of the relay through the server side of the n2c Local Message Notification mini-protocol
  • Update infrastructure to support the activation of the DMQ protocol
  • Update the e2e test to support signature diffusion with the fake DMQ node

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions