pub struct SoftwareRound2Wire {
pub software_dkg_version: u8,
pub sender_index: u16,
pub package_hex: String,
}Expand description
Wire-format round2 share, one per recipient. Encrypted per-recipient at the CLI level (nip44) before publishing.
package_hex is a secret signing share, so Debug is redacted and must
stay that way: this struct crosses #[tracing::instrument] boundaries in
the CLI where a derived Debug would leak the share into logs.
Fields§
§software_dkg_version: u8Discriminator, same rule as SoftwareRound1Wire.
sender_index: u16The 1-indexed participant identifier that produced this share.
package_hex: StringHex-encoded round2::Package for the specific recipient. Secret.
Trait Implementations§
Source§impl Clone for SoftwareRound2Wire
impl Clone for SoftwareRound2Wire
Source§impl Debug for SoftwareRound2Wire
impl Debug for SoftwareRound2Wire
Source§impl<'de> Deserialize<'de> for SoftwareRound2Wire
impl<'de> Deserialize<'de> for SoftwareRound2Wire
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Drop for SoftwareRound2Wire
impl Drop for SoftwareRound2Wire
Auto Trait Implementations§
impl Forget for SoftwareRound2Wire
impl Freeze for SoftwareRound2Wire
impl Move for SoftwareRound2Wire
impl RefUnwindSafe for SoftwareRound2Wire
impl Send for SoftwareRound2Wire
impl Sync for SoftwareRound2Wire
impl Unpin for SoftwareRound2Wire
impl UnsafeUnpin for SoftwareRound2Wire
impl UnwindSafe for SoftwareRound2Wire
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