pub struct EigenConfig {
pub disperser_rpc: String,
pub eth_rpc_url: SecretUrl,
pub settlement_layer_confirmation_depth: u32,
pub eigenda_svc_manager_address: H160,
pub wait_for_finalization: bool,
pub authenticated: bool,
pub srs_points_source: SrsPointsSource,
pub custom_quorum_numbers: Vec<u8>,
}Expand description
Configuration for the EigenDA remote disperser client.
Fields§
§disperser_rpc: StringURL of the Disperser RPC server
eth_rpc_url: SecretUrlURL of the Ethereum RPC server
settlement_layer_confirmation_depth: u32Block height needed to reach in order to consider the blob finalized a value less or equal to 0 means that the disperser will not wait for finalization
eigenda_svc_manager_address: H160Address of the service manager contract
wait_for_finalization: boolWait for the blob to be finalized before returning the response
authenticated: boolAuthenticated dispersal
srs_points_source: SrsPointsSourcePoints source
custom_quorum_numbers: Vec<u8>Custom quorum numbers
Implementations§
Source§impl EigenConfig
impl EigenConfig
Sourcepub fn new(
disperser_rpc: String,
eth_rpc_url: SecretUrl,
settlement_layer_confirmation_depth: u32,
eigenda_svc_manager_address: H160,
wait_for_finalization: bool,
authenticated: bool,
srs_points_source: SrsPointsSource,
custom_quorum_numbers: Vec<u8>,
) -> Result<Self, ConfigError>
pub fn new( disperser_rpc: String, eth_rpc_url: SecretUrl, settlement_layer_confirmation_depth: u32, eigenda_svc_manager_address: H160, wait_for_finalization: bool, authenticated: bool, srs_points_source: SrsPointsSource, custom_quorum_numbers: Vec<u8>, ) -> Result<Self, ConfigError>
Create a new EigenConfig
Trait Implementations§
Source§impl Clone for EigenConfig
impl Clone for EigenConfig
Source§fn clone(&self) -> EigenConfig
fn clone(&self) -> EigenConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EigenConfig
impl Debug for EigenConfig
Source§impl PartialEq for EigenConfig
impl PartialEq for EigenConfig
impl StructuralPartialEq for EigenConfig
Auto Trait Implementations§
impl Freeze for EigenConfig
impl RefUnwindSafe for EigenConfig
impl Send for EigenConfig
impl Sync for EigenConfig
impl Unpin for EigenConfig
impl UnwindSafe for EigenConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request