pub struct ProgramAbiDigests {
pub program: [u8; 32],
pub abi: [u8; 32],
}Expand description
SHA-256 of the new program image and of the new ABI content. Each manager instruction commits to its digest and installs only buffer bytes that hash to it, so the buffers cannot be swapped after the transaction (or a multisig request) is built.
Fields§
§program: [u8; 32]§abi: [u8; 32]Trait Implementations§
Source§impl Clone for ProgramAbiDigests
impl Clone for ProgramAbiDigests
impl Copy for ProgramAbiDigests
Auto Trait Implementations§
impl Forget for ProgramAbiDigests
impl Freeze for ProgramAbiDigests
impl Move for ProgramAbiDigests
impl RefUnwindSafe for ProgramAbiDigests
impl Send for ProgramAbiDigests
impl Sync for ProgramAbiDigests
impl Unpin for ProgramAbiDigests
impl UnsafeUnpin for ProgramAbiDigests
impl UnwindSafe for ProgramAbiDigests
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