Skip to content

Reconnection test - $@ 400,000 #22

Description

@Evanfeenstra

[Description]
sphinx-relay automatically reconnects to LND (or other lightning provider) when the connection is lost.

[Complexity] (1,2,3,5,8)
3

[Acceptance Criteria] (Given, When, Then)
A new test in sphinx-stack, that tests that the reconnection logic is solid. Somehow LND needs to be stopped or locked, and then restarted. Then relay should reconnect without problems and continue to be able to send-receive messages.

https://github.com/stakwork/sphinx-relay/blob/0ab446ba5b74b060a967362d29b43400e5161ee2/src/grpc/subscribe.ts#L84

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions