-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syncer V2 #591
Syncer V2 #591
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really don't like that you've ignored parts of the spec that we've agreed upon. We dropped some functionality and flows for a reason, but you chose to ignore that and reintroduced them back (pubsub is completely missing, Notify and Broadcast are back, no agreed upon error handling...).
Why are you supporting forking? It complicates the code exponentially, and makes it harder to read and work with, especially implement WatchSync
that @Aleksao998 is working on. I especially don't like the complexity of the nofork
package - I strongly believe we should drop it completely.
I don't see us introducing a consensus mechanism that supports forking in the near future, or even at all at this point - we can always add that functionality when we need it in a year or more, or ever.
There are also 0 tests in this PR, which is a shame since the whole point of us basing Lighting Sync on gRPC streams and RPC method calls, and simplifying the flow, was that it made it much easier to test and verify.
Description
Implementation of the new syncing protocol (Lightning Sync)
Changes include
Breaking changes
Yes this is a braking change
Checklist
Testing
Manual tests
We have done a regression test for this module
Some of the test cases:
Documentation update
Will link when i open a PR
Additional comments
Fixes EDGE-592, EDGE-593, EDGE-594, EDGE-595