pub struct WitnessConfigView {
pub main_storage_proof_size_soft_limit: usize,
pub combined_transactions_size_limit: usize,
pub new_transactions_validation_state_size_soft_limit: usize,
}
Expand description
Configuration specific to ChunkStateWitness.
Fields§
§main_storage_proof_size_soft_limit: usize
Size limit for storage proof generated while executing receipts in a chunk. After this limit is reached we defer execution of any new receipts.
combined_transactions_size_limit: usize
A witness contains transactions from both the previous chunk and the current one. This parameter limits the sum of sizes of transactions from both of those chunks.
new_transactions_validation_state_size_soft_limit: usize
Soft size limit of storage proof used to validate new transactions in ChunkStateWitness.
Trait Implementations§
Source§impl Clone for WitnessConfigView
impl Clone for WitnessConfigView
Source§fn clone(&self) -> WitnessConfigView
fn clone(&self) -> WitnessConfigView
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WitnessConfigView
impl Debug for WitnessConfigView
Source§impl<'de> Deserialize<'de> for WitnessConfigView
impl<'de> Deserialize<'de> for WitnessConfigView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<WitnessConfig> for WitnessConfigView
impl From<WitnessConfig> for WitnessConfigView
Source§fn from(config: WitnessConfig) -> Self
fn from(config: WitnessConfig) -> Self
Converts to this type from the input type.
Source§impl Hash for WitnessConfigView
impl Hash for WitnessConfigView
Source§impl PartialEq for WitnessConfigView
impl PartialEq for WitnessConfigView
Source§impl Serialize for WitnessConfigView
impl Serialize for WitnessConfigView
impl Eq for WitnessConfigView
impl StructuralPartialEq for WitnessConfigView
Auto Trait Implementations§
impl Freeze for WitnessConfigView
impl RefUnwindSafe for WitnessConfigView
impl Send for WitnessConfigView
impl Sync for WitnessConfigView
impl Unpin for WitnessConfigView
impl UnwindSafe for WitnessConfigView
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key
and return true
if they are equal.