[MICRO]: lnwallet: refactor channel to use new typed List#8952
Conversation
|
Important Review skippedAuto reviews are limited to specific labels. Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
yyforyongyu
left a comment
There was a problem hiding this comment.
Looking good - need to fix the linter tho.
95b9b94 to
54a1dac
Compare
|
Needs a rebase, now that the dependent PR has been merged. |
54a1dac to
04c3734
Compare
|
Requesting merge override from someone with access. |
Change Description
depends on #8950.
lnwallet: refactor channel to use new typed List
Go didn't used to have parametric polymorphism (generics). Now it does. In a prior commit we introduced a more principled type to encapsulate a linked list, here we move the core structures in lnwallet/channel to use the new parametric type.
Steps to Test
make unit pkg=lnwallet
Pull Request Checklist
Testing
Code Style and Documentation
[skip ci]in the commit message for small changes.📝 Please see our Contribution Guidelines for further guidance.