pub struct SoftwareDkgResult {
pub key_package: KeyPackage,
pub public_key_package: PublicKeyPackage,
pub group_pubkey: [u8; 32],
pub our_index: u16,
}Expand description
Result returned from SoftwareDkgSession::finalize, mirroring the
hardware finalize shape so the CLI can share printing / storage code.
Fields§
§key_package: KeyPackageThis participant’s finalized KeyPackage. Store via
Keep::frost_store_dkg_share.
public_key_package: PublicKeyPackageThe group’s PublicKeyPackage. Also stored via the same helper so the verifying shares for every peer are available during aggregation.
group_pubkey: [u8; 32]The BIP-340 x-only 32-byte group pubkey the shares reconstruct to.
our_index: u16This participant’s 1-indexed share number.
Auto Trait Implementations§
impl Forget for SoftwareDkgResult
impl Freeze for SoftwareDkgResult
impl Move for SoftwareDkgResult
impl RefUnwindSafe for SoftwareDkgResult
impl Send for SoftwareDkgResult
impl Sync for SoftwareDkgResult
impl Unpin for SoftwareDkgResult
impl UnsafeUnpin for SoftwareDkgResult
impl UnwindSafe for SoftwareDkgResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more