Ava Chow 23b3dc2dd1
Merge bitcoin/bitcoin#30218: refactor: remove unused CKey::Negate method
8801e319d51209fe3a3b06e2aab5f96ceead290d refactor: remove unused `CKey::Negate` method (Sebastian Falbesoner)

Pull request description:

  This method was introduced as a pre-requirement for the v2 transport protocol back then (see PR #14047, commit 463921bb), when it was still BIP151. With the replacement BIP324, this is not needed anymore, and it's also unlikely that for any other proposal we'd ever need to negate private keys at this abstraction level. I'd argue that this operation is usually something that should happen within a secp256k1 module (like e.g. done in MuSig2, Silent Payments...).

  (If there is really demand in the future, it's also trivial to reintroduce the method.)

ACKs for top commit:
  laanwj:
    ACK 8801e319d51209fe3a3b06e2aab5f96ceead290d
  sipa:
    ACK 8801e319d51209fe3a3b06e2aab5f96ceead290d
  achow101:
    ACK 8801e319d51209fe3a3b06e2aab5f96ceead290d

Tree-SHA512: 7bc1566399635c5c6e4940a2724c865d5443eb190024379099330c023c516f1e4f423ed9e8c42bc93413b723a5464ec79d3f879f58c0e598fe24f495238df4ec
2024-06-04 21:57:36 -04:00
..
2024-05-21 10:29:51 +01:00
2024-05-21 10:29:51 +01:00
2024-05-20 16:48:19 +00:00
2023-10-12 11:27:19 +02:00
2024-04-10 17:01:27 +02:00
2024-05-21 09:14:55 +02:00
2024-03-04 19:53:30 -05:00
2023-11-21 13:15:44 +00:00
2023-12-11 18:22:13 +01:00
2024-03-26 16:51:46 +00:00
2023-11-16 11:36:22 +10:00
2024-05-16 11:28:46 +02:00
2024-02-11 15:25:07 +01:00
2024-05-20 16:48:19 +00:00
2023-11-30 11:28:19 +01:00
2023-11-28 12:42:07 +01:00
2024-05-14 10:24:31 +02:00
2024-05-14 10:24:31 +02:00
2024-05-20 16:48:19 +00:00
2024-04-01 14:37:24 -04:00
2024-04-01 14:37:24 -04:00
2023-11-16 11:36:22 +10:00