pub fn new_from_parent(&self, block_start_time: i64, spv_compatibility: bool) -> Self {
        let mut b = match self {
            EvmState::Committed(committed) => committed.next_incomming(block_start_time as u64),
            EvmState::Incomming(incomming) => EvmBackend {
                state: incomming.state.new_update_time(block_start_time as u64),
                kvs: incomming.kvs.clone(),
            },
        };

        if spv_compatibility {
            b.state.block_version.activate_spv_compatibility()
        }

        EvmState::Incomming(b)
    }
/// Ignores all unapplied updates.
/// spv_compatibility - is oneway feature flag, if activated change current version from InitVersion to VersionConsistentHashes (dont change if version is feature).
Ignores all unapplied updates.
spv_compatibility - is oneway feature flag, if activated change current version from InitVersion to VersionConsistentHashes (dont change if version is feature).
Ignores all unapplied updates . spv_compatibility - is oneway feature flag if activated change current version from InitVersion to VersionConsistentHashes ( dont change if version is feature ) .
pub fn new_from_parent(&self, block_start_time: i64, spv_compatibility: bool) -> Self {
        let mut b = match self {
            EvmState::Committed(committed) => committed.next_incomming(block_start_time as u64),
            EvmState::Incomming(incomming) => EvmBackend {
                state: incomming.state.new_update_time(block_start_time as u64),
                kvs: incomming.kvs.clone(),
            },
        };
        if spv_compatibility {
            b.state.block_version.activate_spv_compatibility()
        }
        EvmState::Incomming(b)
    }
pub fn new_from_parent ( & self , block_start_time : i64 , spv_compatibility : bool ) -> Self { let mut b = match self { EvmState :: Committed ( committed ) => committed . next_incomming ( block_start_time as u64 ) , EvmState :: Incomming ( incomming ) => EvmBackend { state : incomming . state . new_update_time ( block_start_time as u64 ) , kvs : incomming . kvs . clone ( ) , } , } ; if spv_compatibility { b . state . block_version . activate_spv_compatibility ( ) } EvmState :: Incomming ( b ) }
Ignores all unapplied updates.
Ignores all unapplied updates .
&self
block_start_time
i64
spv_compatibility
bool
&self
block_start_time
i64
spv_compatibility
bool