[5/?] StaticAddr: Deposit summary RPC#721
Merged
hieblmi merged 3 commits intolightninglabs:static-addr-stagingfrom Jun 24, 2024
Merged
[5/?] StaticAddr: Deposit summary RPC#721hieblmi merged 3 commits intolightninglabs:static-addr-stagingfrom
hieblmi merged 3 commits intolightninglabs:static-addr-stagingfrom
Conversation
802f510 to
de23774
Compare
2b1aa55 to
6672a00
Compare
0065101 to
4629a74
Compare
7750c43 to
2b9c71f
Compare
2d83df6 to
b3f8669
Compare
872c6ff to
0245989
Compare
d5ac415 to
c660129
Compare
385f3ea to
17618f2
Compare
hieblmi
commented
Jun 6, 2024
| } | ||
| return false | ||
| } | ||
| clientDeposits = filter(deposits, f) |
Collaborator
Author
There was a problem hiding this comment.
I guess we could also filter in the DB but since this is running on the client its not a performance concern. Other thoughts?
6f9539b to
add5263
Compare
bhandras
approved these changes
Jun 21, 2024
loopd/swapclient_server.go
Outdated
Member
There was a problem hiding this comment.
style+nit: if !f(d) { continue }
cmd/loop/staticaddr.go
Outdated
Member
There was a problem hiding this comment.
nit: i'd suggest using "information" instead of "data"
add5263 to
48cc041
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces an api to query static address related info like unconfirmed/confirmed deposits, loop-ins, summaries.
Sample output: