Add get_max_retransmit_slot/get_max_shred_insert_slot to RpcClient
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							c70674a616
						
					
				
				
					commit
					2a1639836a
				
			@@ -869,6 +869,14 @@ impl RpcClient {
 | 
			
		||||
            })?
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn get_max_retransmit_slot(&self) -> ClientResult<Slot> {
 | 
			
		||||
        self.send(RpcRequest::GetMaxRetransmitSlot, Value::Null)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn get_max_shred_insert_slot(&self) -> ClientResult<Slot> {
 | 
			
		||||
        self.send(RpcRequest::GetMaxShredInsertSlot, Value::Null)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn get_multiple_accounts(&self, pubkeys: &[Pubkey]) -> ClientResult<Vec<Option<Account>>> {
 | 
			
		||||
        Ok(self
 | 
			
		||||
            .get_multiple_accounts_with_commitment(pubkeys, self.commitment_config)?
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user