Skip to content
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

channeldb: keep remote commit diff in memory #3952

Conversation

joostjager
Copy link
Collaborator

This change is preparation for anchor output resolution. By not querying the remote commit diff on demand from the database, it will be easier write unit tests for the channel arbitrator.

Additionally, this change will improve performance by eliminating a database lookup for every commitment signed.

This change is preparation for anchor output resolution. By not querying
the remote commit diff on demand from the database, it will be easier
write unit tests for the channel arbitrator.

Additionally, this change will improve performance by eliminating a
database lookup for every commitment signed.
@joostjager joostjager marked this pull request as ready for review January 23, 2020 16:32
@joostjager joostjager requested review from halseth and removed request for Roasbeef January 23, 2020 16:33
@joostjager joostjager added channels commitments Commitment transactions containing the state of the channel database Related to the database/storage of LND labels Jan 23, 2020
@Roasbeef Roasbeef added this to the 0.10.0 milestone Jan 23, 2020
@Roasbeef Roasbeef added this to In Progress in v0.10.0-beta via automation Jan 23, 2020
@Roasbeef Roasbeef moved this from In Progress to Ready For Review in v0.10.0-beta Jan 24, 2020
@Roasbeef Roasbeef requested a review from carlaKC January 24, 2020 00:52
@joostjager
Copy link
Collaborator Author

I am probably going with a different approach for which this change isn't needed.

@Roasbeef Roasbeef closed this Jan 28, 2020
v0.10.0-beta automation moved this from Ready For Review to Done Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
channels commitments Commitment transactions containing the state of the channel database Related to the database/storage of LND
Projects
No open projects
v0.10.0-beta
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants