[−][src]Enum solana_storage_program::storage_instruction::StorageInstruction
Variants
Initialize the account as a validator or archiver
Expects 1 Account: 0 - Account to be initialized
Fields of InitializeStorage
owner: Pubkey
account_type: StorageAccountType
Redeem storage reward credits
Expects 1 Account: 0 - Storage account with credits to redeem 1 - Clock Syscall to figure out the clock epoch 2 - Archiver account to credit - this account must be the owner 3 - MiningPool account to redeem credits from 4 - Rewards Syscall to figure out point values
Fields of ProofValidation
segment: u64
The segment during which this proof was generated
proofs: Vec<Vec<ProofStatus>>
A Vec of proof masks per keyed archiver account loaded by the instruction
Trait Implementations
impl Clone for StorageInstruction
[src]
fn clone(&self) -> StorageInstruction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StorageInstruction
[src]
impl<'de> Deserialize<'de> for StorageInstruction
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for StorageInstruction
[src]
Auto Trait Implementations
impl RefUnwindSafe for StorageInstruction
impl Send for StorageInstruction
impl Sync for StorageInstruction
impl Unpin for StorageInstruction
impl UnwindSafe for StorageInstruction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,