Skip to content

Pass MonitorUpdates by ref and tweak manager lockorder #1957

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

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

These are the non-serialization prereq commits from #1897.

In the next commit(s) we'll start holding `ChannelMonitorUpdate`s
that are being persisted in `Channel`s until they're done
persisting. In order to do that, switch to applying the updates by
reference instead of value.
@TheBlueMatt TheBlueMatt changed the title 2022 01 mon ref lockorder Pass MonitorUpdates by ref and tweak manager lockorder Jan 15, 2023
@TheBlueMatt TheBlueMatt added this to the 0.0.114 milestone Jan 16, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2023

Codecov Report

Base: 90.71% // Head: 90.69% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (bae81ba) compared to base (ce6bcf6).
Patch coverage: 96.96% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1957      +/-   ##
==========================================
- Coverage   90.71%   90.69%   -0.03%     
==========================================
  Files          97       97              
  Lines       50579    50582       +3     
  Branches    50579    50582       +3     
==========================================
- Hits        45885    45876       -9     
- Misses       4694     4706      +12     
Impacted Files Coverage Δ
lightning/src/chain/mod.rs 68.18% <ø> (ø)
lightning/src/ln/channelmanager.rs 87.11% <93.75%> (+<0.01%) ⬆️
lightning/src/chain/chainmonitor.rs 97.82% <100.00%> (ø)
lightning/src/ln/chanmon_update_fail_tests.rs 97.59% <100.00%> (ø)
lightning/src/ln/functional_tests.rs 96.94% <100.00%> (-0.05%) ⬇️
lightning/src/util/persist.rs 95.23% <100.00%> (ø)
lightning/src/util/test_utils.rs 71.30% <100.00%> (ø)
lightning/src/chain/onchaintx.rs 94.56% <0.00%> (-0.84%) ⬇️
lightning/src/chain/channelmonitor.rs 90.88% <0.00%> (-0.20%) ⬇️
lightning/src/ln/monitor_tests.rs 99.45% <0.00%> (-0.11%) ⬇️
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@TheBlueMatt TheBlueMatt merged commit 31b0a13 into lightningdevkit:main Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants