Closed apoelstra closed 1 month ago
Good idea, especially if you mean Into<NewEnum>
.
As the one to blame for this unfortunate naming, I agree that it should be clearer. The comments use "Initiator" and "Responder'. If you consider this is used in during a connection handshake, I think those makes sense.
Any suggestions for a more creative name for the new enum than ElligatorSwiftPartyV2
?
I think we could shorten it to Party
since it's in the ellswift
module, the term "party" isn't used anywhere else, and with the long variant names it'll be better to have a short enum name.
I think we can create a new enum, deprecate the old one, and use
Into
generics to make this a non-breaking change for most users.