pub struct LightValidatorConfig {
pub enable_indexer: bool,
pub enable_prover: bool,
pub wait_time: u64,
pub sbf_programs: Vec<(String, String)>,
pub upgradeable_programs: Vec<UpgradeableProgramConfig>,
pub limit_ledger_size: Option<u64>,
pub use_surfpool: bool,
pub validator_args: Vec<String>,
}Fields§
§enable_indexer: bool§enable_prover: bool§wait_time: u64§sbf_programs: Vec<(String, String)>Non-upgradeable programs: (program_id, program_path)
upgradeable_programs: Vec<UpgradeableProgramConfig>Upgradeable programs to deploy with a valid upgrade authority. Use this when the program needs a valid upgrade authority (e.g., for compression config).
limit_ledger_size: Option<u64>§use_surfpool: boolUse surfpool instead of solana-test-validator
validator_args: Vec<String>Additional arguments to pass to the validator (e.g., “–account
Trait Implementations§
Source§impl Debug for LightValidatorConfig
impl Debug for LightValidatorConfig
Auto Trait Implementations§
impl Freeze for LightValidatorConfig
impl RefUnwindSafe for LightValidatorConfig
impl Send for LightValidatorConfig
impl Sync for LightValidatorConfig
impl Unpin for LightValidatorConfig
impl UnsafeUnpin for LightValidatorConfig
impl UnwindSafe for LightValidatorConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more