Type Alias HoprSurb
pub type HoprSurb = SURB<X25519Suite, HoprSphinxHeaderSpec>;
Expand description
Single Use Reply Block representation for HOPR protocol.
Aliased Type§
pub struct HoprSurb {
pub first_relayer: KeyIdent,
pub alpha: GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>,
pub header: RoutingInfo<HoprSphinxHeaderSpec>,
pub sender_key: SecretValue<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>,
pub additional_data_receiver: SurbReceiverInfo,
}
Fields§
§first_relayer: KeyIdent
ID of the first relayer.
alpha: GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
Alpha value for the header.
header: RoutingInfo<HoprSphinxHeaderSpec>
Sphinx routing header.
sender_key: SecretValue<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
Encryption key to use to encrypt the data for the SURB’s creator.
additional_data_receiver: SurbReceiverInfo
Additional data for the SURB receiver.