Skip to content

Add KeysInterface::get_node_id method #1779

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

Conversation

valentinewallace
Copy link
Contributor

@valentinewallace valentinewallace commented Oct 18, 2022

Useful since we're working on getting rid of KeysInterface::get_node_secret to complete support for remote signing.

Will be used in upcoming work to check whether an outbound onion message blinded path has our node id as the introduction node id

@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2022

Codecov Report

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

Coverage data is based on head (7082d6c) compared to base (ad82c9e).
Patch coverage: 26.08% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1779      +/-   ##
==========================================
- Coverage   90.71%   90.68%   -0.03%     
==========================================
  Files          87       87              
  Lines       47353    47374      +21     
  Branches    47353    47374      +21     
==========================================
+ Hits        42958    42963       +5     
- Misses       4395     4411      +16     
Impacted Files Coverage Δ
lightning/src/util/test_utils.rs 76.39% <0.00%> (-0.52%) ⬇️
lightning/src/chain/keysinterface.rs 89.40% <30.00%> (-2.22%) ⬇️
lightning/src/util/events.rs 37.14% <0.00%> (-0.26%) ⬇️
lightning/src/ln/functional_tests.rs 96.88% <0.00%> (-0.05%) ⬇️
lightning/src/ln/monitor_tests.rs 99.55% <0.00%> (+0.11%) ⬆️
lightning/src/chain/onchaintx.rs 94.61% <0.00%> (+0.22%) ⬆️
lightning/src/ln/peer_channel_encryptor.rs 93.62% <0.00%> (+0.24%) ⬆️
lightning-net-tokio/src/lib.rs 77.03% <0.00%> (+0.30%) ⬆️

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.

Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks.

@TheBlueMatt
Copy link
Collaborator

Ugh sorry for the dup comments, github really doesn't handle internet with 5second+ latency well...

Useful since we're working on getting rid of KeysInterface::get_node_secret to
complete support for remote signing.

Will be used in upcoming work to check whether an outbound onion message
blinded path has our node id as the introduction node id
@valentinewallace valentinewallace force-pushed the 2022-10-node-pk-keysinterface branch from 71a8051 to 17c0fc8 Compare October 21, 2022 19:54
@valentinewallace valentinewallace changed the title Add KeysInterface::get_node_id method Add KeysInterface::get_node_id method Oct 21, 2022
TheBlueMatt
TheBlueMatt previously approved these changes Oct 21, 2022
Copy link

@ariard ariard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 17c0fc8

dunxen
dunxen previously approved these changes Oct 24, 2022
@TheBlueMatt TheBlueMatt merged commit a257906 into lightningdevkit:main Oct 24, 2022
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.

5 participants