Commit 5af93eb
committed
Merge rust-bitcoin/rust-secp256k1#802: musig: Take references to pub nonce and part sig in partial_verify
6c8b1b81c2c52ca4e6c66dd0402a66fd923c439f run cargo fmt (Andrew Poelstra)
cd6ecb11760e8219119da5b0be3f655bac9e6f1e musig: Take references to pub nonce and part sig in partial_verify (Steven Roose)
Pull request description:
We've been building on sanket's old branch for quite a while and I noticed the unnecessary taking by value there. These types are quite big (132 bytes for the pub nonce), so since they're just ref'd internally as well, it makes sense to do this.
I assume the musig API is still not released yet, so this can be changed without breaking?
ACKs for top commit:
apoelstra:
On 6c8b1b81c2c52ca4e6c66dd0402a66fd923c439f successfully ran local tests; would ACK but I am the last pusher and Github will not let me
Tree-SHA512: d3af93f20fce3a8863b3681a942d3186ca59523d7e0e90464bf24c563185e8ec14d8a129c797336fe9d8b5ad6166313fb8932d397f7aeee0526819be9ce128f02 files changed
+41
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1226 | 1226 | | |
1227 | 1227 | | |
1228 | 1228 | | |
1229 | | - | |
1230 | | - | |
| 1229 | + | |
| 1230 | + | |
1231 | 1231 | | |
1232 | 1232 | | |
1233 | 1233 | | |
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
1239 | | - | |
1240 | | - | |
| 1239 | + | |
| 1240 | + | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
| |||
1591 | 1591 | | |
1592 | 1592 | | |
1593 | 1593 | | |
1594 | | - | |
1595 | | - | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
1596 | 1608 | | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
1600 | 1630 | | |
1601 | 1631 | | |
1602 | 1632 | | |
| |||
0 commit comments