offers: add used_count to listoffers#9162
Conversation
e3719b3 to
5370032
Compare
nGoline
left a comment
There was a problem hiding this comment.
Great addition. This fills a real gap and the implementation is straightforward, the core idea is solid and it's close to being mergeable.
A few things to fix before we can land this.
|
Please rebase onto |
Also, when addressing the review feedback, please use |
919c837 to
5e2e08f
Compare
|
I managed to squash the commits right before realizing that you prefer separate fixups, sorry about that! I will definitely use git commit --fixup next time. |
95f7ebf to
11a754f
Compare
11a754f to
3daafa8
Compare
This adds a new 'used_count' field to the 'listoffers' RPC command output to see the exact number of times a BOLT12 offer has been paid by counting associated settled invoices. Changelog-Added: add a new 'used_count' field to the 'listoffers' RPC command Closes ElementsProject#9146
3daafa8 to
7712956
Compare
|
I was talking to @rustyrussell last week and he mentioned the Following the philosophy of keeping individual RPCs lean, I strongly believe the Thank you for the time you've put into this @alexgrad42. I'll add instructions on how to achieve the proposed functionality on the original issue (#9146) |
This adds a new 'used_count' field to the 'listoffers' RPC command output to see the exact number of times a BOLT12 offer has been paid by counting associated settled invoices.
Changelog-Added: add a new 'used_count' field to the 'listoffers' RPC command
Closes #9146