Commit 904054f
committed
Merge #1032: script: cache transaction weight per-transaction
4aad8c1 script: cache transaction weight per-transaction (Andrew Poelstra)
Pull request description:
This is an O(N) operation so we want to make sure that we're not recomputing
it every time we hit the INSPECTTXWEIGHT opcode.
ACKs for top commit:
sanket1729:
Cr ACK 4aad8c1
Tree-SHA512: c6bf6db748ede3f29c1294363a9415b54252bec784cfe270d8db1e7d845dc680fc9af37ad3ceaa33f9439c1dcdfde683a15fa3086fe79f50fdc487bfbf6029212 files changed
+10
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2020 | 2020 | | |
2021 | 2021 | | |
2022 | 2022 | | |
2023 | | - | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
2024 | 2029 | | |
2025 | 2030 | | |
2026 | 2031 | | |
| |||
2581 | 2586 | | |
2582 | 2587 | | |
2583 | 2588 | | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
2584 | 2592 | | |
2585 | 2593 | | |
2586 | 2594 | | |
| |||
2993 | 3001 | | |
2994 | 3002 | | |
2995 | 3003 | | |
2996 | | - | |
2997 | | - | |
2998 | | - | |
2999 | | - | |
3000 | | - | |
3001 | | - | |
3002 | | - | |
3003 | 3004 | | |
3004 | 3005 | | |
3005 | 3006 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | 297 | | |
302 | 298 | | |
303 | 299 | | |
| |||
335 | 331 | | |
336 | 332 | | |
337 | 333 | | |
338 | | - | |
339 | 334 | | |
340 | 335 | | |
341 | 336 | | |
| |||
0 commit comments