Commit 36ef03c
committed
Use 72 WU instead of 73 WU for signature weight
When estimating signature weight, 73 WU was used in some places while 72
WU was used in others. Consistently use 72 WU and replace hardcoded
values with constants. 73 WU signatures are non-standard and won't be
produced by LDK. Additionally, using 73 WU along with grind_signatures
adjustment is nonsensical.1 parent 73820ae commit 36ef03c
File tree
4 files changed
+66
-45
lines changed- lightning/src
- ln
- sign
4 files changed
+66
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
129 | | - | |
| 134 | + | |
130 | 135 | | |
131 | | - | |
| 136 | + | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17397 | 17397 | | |
17398 | 17398 | | |
17399 | 17399 | | |
17400 | | - | |
| 17400 | + | |
17401 | 17401 | | |
17402 | 17402 | | |
17403 | 17403 | | |
17404 | 17404 | | |
17405 | 17405 | | |
17406 | | - | |
| 17406 | + | |
17407 | 17407 | | |
17408 | 17408 | | |
17409 | 17409 | | |
17410 | 17410 | | |
17411 | 17411 | | |
17412 | | - | |
| 17412 | + | |
17413 | 17413 | | |
17414 | 17414 | | |
17415 | 17415 | | |
| |||
17427 | 17427 | | |
17428 | 17428 | | |
17429 | 17429 | | |
17430 | | - | |
| 17430 | + | |
17431 | 17431 | | |
17432 | 17432 | | |
17433 | 17433 | | |
17434 | 17434 | | |
17435 | 17435 | | |
17436 | | - | |
| 17436 | + | |
17437 | 17437 | | |
17438 | 17438 | | |
17439 | 17439 | | |
| |||
17468 | 17468 | | |
17469 | 17469 | | |
17470 | 17470 | | |
17471 | | - | |
| 17471 | + | |
17472 | 17472 | | |
17473 | 17473 | | |
17474 | 17474 | | |
| |||
17484 | 17484 | | |
17485 | 17485 | | |
17486 | 17486 | | |
17487 | | - | |
| 17487 | + | |
17488 | 17488 | | |
17489 | 17489 | | |
17490 | 17490 | | |
17491 | 17491 | | |
17492 | 17492 | | |
17493 | | - | |
| 17493 | + | |
17494 | 17494 | | |
17495 | 17495 | | |
17496 | 17496 | | |
| |||
17520 | 17520 | | |
17521 | 17521 | | |
17522 | 17522 | | |
17523 | | - | |
| 17523 | + | |
17524 | 17524 | | |
17525 | 17525 | | |
17526 | 17526 | | |
17527 | 17527 | | |
17528 | 17528 | | |
17529 | | - | |
| 17529 | + | |
17530 | 17530 | | |
17531 | 17531 | | |
17532 | 17532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3353 | 3353 | | |
3354 | 3354 | | |
3355 | 3355 | | |
3356 | | - | |
3357 | 3356 | | |
3358 | 3357 | | |
3359 | 3358 | | |
3360 | 3359 | | |
3361 | | - | |
3362 | | - | |
3363 | | - | |
3364 | | - | |
3365 | | - | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
3366 | 3364 | | |
3367 | 3365 | | |
3368 | 3366 | | |
3369 | 3367 | | |
3370 | | - | |
| 3368 | + | |
3371 | 3369 | | |
3372 | 3370 | | |
3373 | 3371 | | |
3374 | 3372 | | |
3375 | 3373 | | |
3376 | 3374 | | |
3377 | 3375 | | |
| 3376 | + | |
| 3377 | + | |
3378 | 3378 | | |
3379 | 3379 | | |
3380 | | - | |
| 3380 | + | |
3381 | 3381 | | |
3382 | 3382 | | |
3383 | 3383 | | |
3384 | 3384 | | |
3385 | 3385 | | |
3386 | 3386 | | |
3387 | | - | |
| 3387 | + | |
3388 | 3388 | | |
3389 | 3389 | | |
3390 | 3390 | | |
| |||
3415 | 3415 | | |
3416 | 3416 | | |
3417 | 3417 | | |
| 3418 | + | |
| 3419 | + | |
3418 | 3420 | | |
3419 | 3421 | | |
3420 | | - | |
| 3422 | + | |
3421 | 3423 | | |
3422 | 3424 | | |
3423 | 3425 | | |
3424 | 3426 | | |
3425 | 3427 | | |
3426 | | - | |
| 3428 | + | |
3427 | 3429 | | |
3428 | 3430 | | |
3429 | 3431 | | |
| 3432 | + | |
| 3433 | + | |
3430 | 3434 | | |
3431 | 3435 | | |
3432 | | - | |
| 3436 | + | |
3433 | 3437 | | |
3434 | 3438 | | |
3435 | 3439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
139 | 143 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
143 | 149 | | |
144 | 150 | | |
145 | 151 | | |
| |||
192 | 198 | | |
193 | 199 | | |
194 | 200 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
199 | 211 | | |
200 | 212 | | |
201 | 213 | | |
| |||
511 | 523 | | |
512 | 524 | | |
513 | 525 | | |
514 | | - | |
| 526 | + | |
515 | 527 | | |
516 | 528 | | |
517 | 529 | | |
| |||
0 commit comments