[−][src]Struct solana_core::rpc::JsonRpcRequestProcessor
Methods
impl JsonRpcRequestProcessor
[src]
pub fn new(
config: JsonRpcConfig,
bank_forks: Arc<RwLock<BankForks>>,
block_commitment_cache: Arc<RwLock<BlockCommitmentCache>>,
blockstore: Arc<Blockstore>,
storage_state: StorageState,
validator_exit: Arc<RwLock<Option<ValidatorExit>>>
) -> Self
[src]
config: JsonRpcConfig,
bank_forks: Arc<RwLock<BankForks>>,
block_commitment_cache: Arc<RwLock<BlockCommitmentCache>>,
blockstore: Arc<Blockstore>,
storage_state: StorageState,
validator_exit: Arc<RwLock<Option<ValidatorExit>>>
) -> Self
pub fn get_account_info(
&self,
pubkey: Result<Pubkey>,
commitment: Option<CommitmentConfig>
) -> Result<Response<Option<RpcAccount>>>
[src]
&self,
pubkey: Result<Pubkey>,
commitment: Option<CommitmentConfig>
) -> Result<Response<Option<RpcAccount>>>
pub fn get_minimum_balance_for_rent_exemption(
&self,
data_len: usize,
commitment: Option<CommitmentConfig>
) -> Result<u64>
[src]
&self,
data_len: usize,
commitment: Option<CommitmentConfig>
) -> Result<u64>
pub fn get_program_accounts(
&self,
program_id: &Pubkey,
commitment: Option<CommitmentConfig>
) -> Result<Vec<RpcKeyedAccount>>
[src]
&self,
program_id: &Pubkey,
commitment: Option<CommitmentConfig>
) -> Result<Vec<RpcKeyedAccount>>
pub fn get_inflation(
&self,
commitment: Option<CommitmentConfig>
) -> Result<Inflation>
[src]
&self,
commitment: Option<CommitmentConfig>
) -> Result<Inflation>
pub fn get_epoch_schedule(&self) -> Result<EpochSchedule>
[src]
pub fn get_balance(
&self,
pubkey: Result<Pubkey>,
commitment: Option<CommitmentConfig>
) -> Result<Response<u64>>
[src]
&self,
pubkey: Result<Pubkey>,
commitment: Option<CommitmentConfig>
) -> Result<Response<u64>>
pub fn confirm_transaction(
&self,
signature: Result<Signature>,
commitment: Option<CommitmentConfig>
) -> Result<Response<bool>>
[src]
&self,
signature: Result<Signature>,
commitment: Option<CommitmentConfig>
) -> Result<Response<bool>>
pub fn set_log_filter(&self, filter: String) -> Result<()>
[src]
pub fn validator_exit(&self) -> Result<bool>
[src]
pub fn get_confirmed_block(
&self,
slot: Slot,
encoding: Option<TransactionEncoding>
) -> Result<Option<ConfirmedBlock>>
[src]
&self,
slot: Slot,
encoding: Option<TransactionEncoding>
) -> Result<Option<ConfirmedBlock>>
pub fn get_confirmed_blocks(
&self,
start_slot: Slot,
end_slot: Option<Slot>
) -> Result<Vec<Slot>>
[src]
&self,
start_slot: Slot,
end_slot: Option<Slot>
) -> Result<Vec<Slot>>
pub fn get_block_time(&self, slot: Slot) -> Result<Option<UnixTimestamp>>
[src]
pub fn get_signature_confirmation_status(
&self,
signature: Signature,
commitment: Option<CommitmentConfig>
) -> Option<RpcSignatureConfirmation>
[src]
&self,
signature: Signature,
commitment: Option<CommitmentConfig>
) -> Option<RpcSignatureConfirmation>
pub fn get_signature_status(
&self,
signature: Signature,
commitment: Option<CommitmentConfig>
) -> Option<Result<()>>
[src]
&self,
signature: Signature,
commitment: Option<CommitmentConfig>
) -> Option<Result<()>>
pub fn get_signature_statuses(
&self,
signatures: Vec<Signature>,
config: Option<RpcSignatureStatusConfig>
) -> Result<Response<Vec<Option<TransactionStatus>>>>
[src]
&self,
signatures: Vec<Signature>,
config: Option<RpcSignatureStatusConfig>
) -> Result<Response<Vec<Option<TransactionStatus>>>>
pub fn get_confirmed_transaction(
&self,
signature: Signature,
encoding: Option<TransactionEncoding>
) -> Result<Option<ConfirmedTransaction>>
[src]
&self,
signature: Signature,
encoding: Option<TransactionEncoding>
) -> Result<Option<ConfirmedTransaction>>
pub fn get_confirmed_signatures_for_address(
&self,
pubkey: Pubkey,
start_slot: Slot,
end_slot: Slot
) -> Result<Vec<Signature>>
[src]
&self,
pubkey: Pubkey,
start_slot: Slot,
end_slot: Slot
) -> Result<Vec<Signature>>
Trait Implementations
impl Clone for JsonRpcRequestProcessor
[src]
fn clone(&self) -> JsonRpcRequestProcessor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for JsonRpcRequestProcessor
impl Send for JsonRpcRequestProcessor
impl Sync for JsonRpcRequestProcessor
impl Unpin for JsonRpcRequestProcessor
impl UnwindSafe for JsonRpcRequestProcessor
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> 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<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,