Commit e3719b3
committed
offers: add used_count to listoffers
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 #91461 parent 2b8684f commit e3719b3
12 files changed
Lines changed: 912 additions & 805 deletions
File tree
- cln-grpc
- proto
- src
- cln-rpc/src
- contrib
- msggen/msggen
- pyln-grpc-proto/pyln/grpc
- pyln-testing/pyln/testing
- doc/schemas
- lightningd
- tests
- wallet
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3181 | 3181 | | |
3182 | 3182 | | |
3183 | 3183 | | |
3184 | | - | |
| 3184 | + | |
| 3185 | + | |
3185 | 3186 | | |
3186 | 3187 | | |
3187 | 3188 | | |
| |||
11483 | 11484 | | |
11484 | 11485 | | |
11485 | 11486 | | |
| 11487 | + | |
| 11488 | + | |
| 11489 | + | |
| 11490 | + | |
11486 | 11491 | | |
11487 | 11492 | | |
11488 | 11493 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24461 | 24461 | | |
24462 | 24462 | | |
24463 | 24463 | | |
| 24464 | + | |
| 24465 | + | |
| 24466 | + | |
| 24467 | + | |
| 24468 | + | |
| 24469 | + | |
24464 | 24470 | | |
24465 | 24471 | | |
24466 | 24472 | | |
| |||
24499 | 24505 | | |
24500 | 24506 | | |
24501 | 24507 | | |
24502 | | - | |
| 24508 | + | |
| 24509 | + | |
24503 | 24510 | | |
24504 | 24511 | | |
24505 | 24512 | | |
24506 | 24513 | | |
24507 | 24514 | | |
24508 | 24515 | | |
24509 | 24516 | | |
24510 | | - | |
| 24517 | + | |
| 24518 | + | |
24511 | 24519 | | |
24512 | 24520 | | |
24513 | 24521 | | |
24514 | 24522 | | |
24515 | 24523 | | |
24516 | 24524 | | |
24517 | 24525 | | |
24518 | | - | |
| 24526 | + | |
| 24527 | + | |
24519 | 24528 | | |
24520 | 24529 | | |
24521 | 24530 | | |
| |||
24535 | 24544 | | |
24536 | 24545 | | |
24537 | 24546 | | |
24538 | | - | |
| 24547 | + | |
| 24548 | + | |
24539 | 24549 | | |
24540 | 24550 | | |
24541 | 24551 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1698 | 1698 | | |
1699 | 1699 | | |
1700 | 1700 | | |
| 1701 | + | |
1701 | 1702 | | |
1702 | 1703 | | |
1703 | 1704 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
94 | 100 | | |
95 | 101 | | |
96 | 102 | | |
| |||
129 | 135 | | |
130 | 136 | | |
131 | 137 | | |
132 | | - | |
| 138 | + | |
| 139 | + | |
133 | 140 | | |
134 | 141 | | |
135 | 142 | | |
136 | 143 | | |
137 | 144 | | |
138 | 145 | | |
139 | 146 | | |
140 | | - | |
| 147 | + | |
| 148 | + | |
141 | 149 | | |
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
146 | 154 | | |
147 | 155 | | |
148 | | - | |
| 156 | + | |
| 157 | + | |
149 | 158 | | |
150 | 159 | | |
151 | 160 | | |
| |||
165 | 174 | | |
166 | 175 | | |
167 | 176 | | |
168 | | - | |
| 177 | + | |
| 178 | + | |
169 | 179 | | |
170 | 180 | | |
171 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
| 203 | + | |
| 204 | + | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7329 | 7329 | | |
7330 | 7330 | | |
7331 | 7331 | | |
| 7332 | + | |
| 7333 | + | |
| 7334 | + | |
| 7335 | + | |
| 7336 | + | |
| 7337 | + | |
| 7338 | + | |
| 7339 | + | |
| 7340 | + | |
| 7341 | + | |
| 7342 | + | |
| 7343 | + | |
| 7344 | + | |
| 7345 | + | |
| 7346 | + | |
| 7347 | + | |
| 7348 | + | |
| 7349 | + | |
| 7350 | + | |
| 7351 | + | |
| 7352 | + | |
| 7353 | + | |
| 7354 | + | |
| 7355 | + | |
| 7356 | + | |
| 7357 | + | |
| 7358 | + | |
| 7359 | + | |
| 7360 | + | |
| 7361 | + | |
| 7362 | + | |
| 7363 | + | |
| 7364 | + | |
| 7365 | + | |
| 7366 | + | |
| 7367 | + | |
| 7368 | + | |
0 commit comments