pub struct KeygenOutput {
pub wallet_properties: WalletProperties,
pub external_server_key_shares: Vec<ServerKeyShare>,
pub raw_public_key_uncompressed: Vec<u8>,
pub raw_public_key_compressed: Vec<u8>,
}Expand description
Output of run_keygen — the building block chain clients use to
implement create_wallet_account.
Fields§
§wallet_properties: WalletPropertiesIdentity-only WalletProperties. Chain clients fill in
account_address from the derived pubkey before returning.
Server key shares the customer must persist in their vault.
raw_public_key_uncompressed: Vec<u8>Uncompressed 65-byte secp256k1 pubkey (0x04 prefix). Chain clients derive their address representation from this.
raw_public_key_compressed: Vec<u8>Compressed 33-byte secp256k1 pubkey.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeygenOutput
impl RefUnwindSafe for KeygenOutput
impl Send for KeygenOutput
impl Sync for KeygenOutput
impl Unpin for KeygenOutput
impl UnsafeUnpin for KeygenOutput
impl UnwindSafe for KeygenOutput
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