pub struct AdvancedConfig {
pub custom_checkpoints: Vec<u64>,
pub max_reorg_depth: u64,
pub strict_mode: bool,
pub max_block_size_override: usize,
pub enable_rbf: bool,
}Expand description
Advanced configuration options
Advanced settings for power users and specific use cases. These options provide fine-grained control over behavior.
Fields§
§custom_checkpoints: Vec<u64>Custom checkpoint heights (additional to assume-valid) Format: comma-separated list of block heights Example: “100000,200000,300000” Default: empty (no custom checkpoints)
max_reorg_depth: u64Maximum depth for chain reorganization (safety limit) Prevents extremely deep reorganizations that could be DoS attacks Default: 100 blocks
strict_mode: boolEnable strict mode (reject any non-standard transactions) Default: false (accept standard transactions)
max_block_size_override: usizeMaximum block size to accept (override consensus limit for testing) Default: 0 (use consensus limit) WARNING: Setting this may cause consensus divergence
enable_rbf: boolEnable transaction replacement (RBF) by default Default: true
Trait Implementations§
Source§impl Clone for AdvancedConfig
impl Clone for AdvancedConfig
Source§fn clone(&self) -> AdvancedConfig
fn clone(&self) -> AdvancedConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AdvancedConfig
impl Debug for AdvancedConfig
Source§impl Default for AdvancedConfig
impl Default for AdvancedConfig
Source§fn default() -> AdvancedConfig
fn default() -> AdvancedConfig
Source§impl<'de> Deserialize<'de> for AdvancedConfig
impl<'de> Deserialize<'de> for AdvancedConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdvancedConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdvancedConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AdvancedConfig
impl PartialEq for AdvancedConfig
Source§impl Serialize for AdvancedConfig
impl Serialize for AdvancedConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for AdvancedConfig
impl StructuralPartialEq for AdvancedConfig
Auto Trait Implementations§
impl Freeze for AdvancedConfig
impl RefUnwindSafe for AdvancedConfig
impl Send for AdvancedConfig
impl Sync for AdvancedConfig
impl Unpin for AdvancedConfig
impl UnsafeUnpin for AdvancedConfig
impl UnwindSafe for AdvancedConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
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>
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