pub struct DeltaMptKeyPadding(/* private fields */);Expand description
The padding is uniquely generated for DeltaMPT at each intermediate epoch, and it’s used to compute padding bytes for address and storage_key. The padding setup is against an attack where adversary artificially build deep paths in MPT.
Trait Implementations§
Source§impl Clone for DeltaMptKeyPadding
impl Clone for DeltaMptKeyPadding
Source§fn clone(&self) -> DeltaMptKeyPadding
fn clone(&self) -> DeltaMptKeyPadding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeltaMptKeyPadding
impl Debug for DeltaMptKeyPadding
Source§impl Decodable for DeltaMptKeyPadding
impl Decodable for DeltaMptKeyPadding
Source§impl Default for DeltaMptKeyPadding
impl Default for DeltaMptKeyPadding
Source§fn default() -> DeltaMptKeyPadding
fn default() -> DeltaMptKeyPadding
Returns the “default value” for a type. Read more
Source§impl DerefMut for DeltaMptKeyPadding
impl DerefMut for DeltaMptKeyPadding
Source§impl<'de> Deserialize<'de> for DeltaMptKeyPadding
impl<'de> Deserialize<'de> for DeltaMptKeyPadding
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 Encodable for DeltaMptKeyPadding
impl Encodable for DeltaMptKeyPadding
Source§impl PartialEq for DeltaMptKeyPadding
impl PartialEq for DeltaMptKeyPadding
Source§impl Serialize for DeltaMptKeyPadding
impl Serialize for DeltaMptKeyPadding
Source§impl Deref for DeltaMptKeyPadding
impl Deref for DeltaMptKeyPadding
impl Eq for DeltaMptKeyPadding
impl StructuralPartialEq for DeltaMptKeyPadding
Auto Trait Implementations§
impl Freeze for DeltaMptKeyPadding
impl RefUnwindSafe for DeltaMptKeyPadding
impl Send for DeltaMptKeyPadding
impl Sync for DeltaMptKeyPadding
impl Unpin for DeltaMptKeyPadding
impl UnwindSafe for DeltaMptKeyPadding
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