Commit 3daafa8
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 11b8324 commit 3daafa8
13 files changed
Lines changed: 1024 additions & 342 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
- test
- 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 | |
|---|---|---|---|
| |||
24414 | 24414 | | |
24415 | 24415 | | |
24416 | 24416 | | |
24417 | | - | |
| 24417 | + | |
| 24418 | + | |
24418 | 24419 | | |
24419 | 24420 | | |
24420 | 24421 | | |
| |||
24461 | 24462 | | |
24462 | 24463 | | |
24463 | 24464 | | |
| 24465 | + | |
| 24466 | + | |
| 24467 | + | |
| 24468 | + | |
| 24469 | + | |
| 24470 | + | |
24464 | 24471 | | |
24465 | 24472 | | |
24466 | 24473 | | |
| |||
24498 | 24505 | | |
24499 | 24506 | | |
24500 | 24507 | | |
| 24508 | + | |
24501 | 24509 | | |
24502 | | - | |
| 24510 | + | |
24503 | 24511 | | |
24504 | 24512 | | |
24505 | 24513 | | |
24506 | 24514 | | |
24507 | 24515 | | |
24508 | 24516 | | |
| 24517 | + | |
24509 | 24518 | | |
24510 | | - | |
| 24519 | + | |
24511 | 24520 | | |
24512 | 24521 | | |
24513 | 24522 | | |
24514 | 24523 | | |
24515 | 24524 | | |
24516 | 24525 | | |
| 24526 | + | |
24517 | 24527 | | |
24518 | | - | |
| 24528 | + | |
24519 | 24529 | | |
24520 | 24530 | | |
24521 | 24531 | | |
| |||
24535 | 24545 | | |
24536 | 24546 | | |
24537 | 24547 | | |
24538 | | - | |
| 24548 | + | |
| 24549 | + | |
| 24550 | + | |
| 24551 | + | |
| 24552 | + | |
| 24553 | + | |
| 24554 | + | |
| 24555 | + | |
| 24556 | + | |
| 24557 | + | |
| 24558 | + | |
| 24559 | + | |
| 24560 | + | |
| 24561 | + | |
| 24562 | + | |
| 24563 | + | |
| 24564 | + | |
| 24565 | + | |
| 24566 | + | |
| 24567 | + | |
| 24568 | + | |
| 24569 | + | |
| 24570 | + | |
24539 | 24571 | | |
24540 | 24572 | | |
24541 | 24573 | | |
| |||
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 | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
| 138 | + | |
131 | 139 | | |
132 | | - | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| 147 | + | |
139 | 148 | | |
140 | | - | |
| 149 | + | |
141 | 150 | | |
142 | 151 | | |
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
146 | 155 | | |
| 156 | + | |
147 | 157 | | |
148 | | - | |
| 158 | + | |
149 | 159 | | |
150 | 160 | | |
151 | 161 | | |
| |||
165 | 175 | | |
166 | 176 | | |
167 | 177 | | |
168 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
169 | 201 | | |
170 | 202 | | |
171 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
151 | 169 | | |
152 | 170 | | |
153 | 171 | | |
| |||
182 | 200 | | |
183 | 201 | | |
184 | 202 | | |
| 203 | + | |
| 204 | + | |
185 | 205 | | |
186 | 206 | | |
187 | 207 | | |
188 | 208 | | |
189 | 209 | | |
| 210 | + | |
190 | 211 | | |
191 | 212 | | |
192 | 213 | | |
| |||
201 | 222 | | |
202 | 223 | | |
203 | 224 | | |
| 225 | + | |
| 226 | + | |
204 | 227 | | |
205 | 228 | | |
206 | 229 | | |
| |||
0 commit comments