[][src]Struct solana_btc_spv_api::spv_processor::SpvProcessor

pub struct SpvProcessor {}

Methods

impl SpvProcessor[src]

pub fn validate_header_chain(
    headers: HeaderChain,
    proof_req: &ProofRequest
) -> Result<(), InstructionError>
[src]

pub fn check_account_unallocated(data: &[u8]) -> Result<(), InstructionError>[src]

pub fn do_client_request(
    keyed_accounts: &mut [KeyedAccount],
    request_info: &ClientRequestInfo
) -> Result<(), InstructionError>
[src]

pub fn do_cancel_request(
    keyed_accounts: &mut [KeyedAccount]
) -> Result<(), InstructionError>
[src]

pub fn do_submit_proof(
    keyed_accounts: &mut [KeyedAccount],
    proof_info: &Proof
) -> Result<(), InstructionError>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self