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

Mc encoding to tlv #146

Closed
wants to merge 4 commits into from
Closed

Mc encoding to tlv #146

wants to merge 4 commits into from

Conversation

ellemouton
Copy link
Owner

No description provided.

Add the TrueBoolean type along with its Record method. Also update the
Millisatoshi type with a Record method. Both of these will be used in an
upcoming commit which adjusts a mission control migration to use pure
TLV types.
So that we can use it in TLV encoding.
Also add this to the codec for channeldb migration 32 since we will be
using it there in an upcoming adjustment commit.
In this commit, we update an existing migration which at the time of
writing has not been included in a release. We update it so that it
converts the format used for MissionControl result encoding to use pure
TLV instead. The 3 structs that have been updated are: `mcHop`,
`mcRoute` and `paymentResult`.
Copy link

github-actions bot commented Oct 8, 2024

Pull reviewers stats

Stats of the last 30 days for lnd:

User Total reviews Time to review Total comments

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11234731532

Details

  • 552 of 747 (73.9%) changed or added relevant lines in 8 files are covered.
  • 181 unchanged lines in 36 files lost coverage.
  • Overall coverage decreased (-0.03%) to 58.847%

Changes Missing Coverage Covered Lines Changed/Added Lines %
routing/route/route.go 13 15 86.67%
channeldb/migration/lnwire21/true_boolean.go 9 16 56.25%
channeldb/migration32/route.go 8 15 53.33%
routing/missioncontrol_store.go 131 141 92.91%
channeldb/migration/lnwire21/msat.go 12 25 48.0%
routing/result_interpretation.go 138 160 86.25%
channeldb/migration32/mission_control_store.go 185 319 57.99%
Files with Coverage Reduction New Missed Lines %
routing/missioncontrol_store.go 1 83.05%
queue/gc_queue.go 2 96.51%
chainntnfs/neutrinonotify/neutrino.go 2 84.28%
invoices/invoiceregistry.go 2 85.29%
lnwallet/chancloser/chancloser.go 2 74.73%
watchtower/wtclient/session_queue.go 2 82.92%
lnrpc/signrpc/signer_grpc.pb.go 2 59.73%
watchtower/wtclient/candidate_iterator.go 2 98.0%
watchtower/wtmock/peer.go 2 79.61%
fn/list.go 2 97.33%
Totals Coverage Status
Change from base Build 11234435749: -0.03%
Covered Lines: 131098
Relevant Lines: 222779

💛 - Coveralls

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.

2 participants