Closed marsella closed 1 year ago
Note on the last point about pub use -- we're talking in the example PR about changing the format of public types for the user. I'm not sure that we will actually have a decision by the time this PR gets addressed, but FYI.
The output type for keygen is currently a tuple
(Vec<KeySharePublic>, KeySharePrivate)
. However, we use this output in a few specific ways:Since these uses are fairly constrained and they have to be done by the calling application, we should put them together in a nice, named, documented interface. This can live in the keygen module (probably
keygen/participant.rs
) but should bepub use
'd in the mainlib.rs
.k256::ecdsa::VerifyingKey
from the set of public keyshares (like in the full protocol test at the bottom ofprotocol.rs
).CurvePoint
type topub(crate)
and remove thepub use
for the type.pub use