Commit 5624724
Antoine Riard
[script] Comment PrecomputedTransactionData purpose
For the verification of each signature, amount of data hashing
is proportional to the size of the transaction. To avoid hashing
grows in O(n^2) as the number of sigops in a transaction increases,
cache transaction digest invariant across signature verification.1 parent f63dec1 commit 5624724
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
0 commit comments