pub fn persist_fork_choice_in_batch(&self) -> KeyValueStoreOp {
        let fork_choice = self.fork_choice.read();
        let persisted_fork_choice = PersistedForkChoice {
            fork_choice: fork_choice.to_persisted(),
            fork_choice_store: fork_choice.fc_store().to_persisted(),
        };
        persisted_fork_choice.as_kv_store_op(FORK_CHOICE_DB_KEY)
    }
/// Return a database operation for writing fork choice to disk.
Return a database operation for writing fork choice to disk.
Return a database operation for writing fork choice to disk .
pub fn persist_fork_choice_in_batch(&self) -> KeyValueStoreOp {
        let fork_choice = self.fork_choice.read();
        let persisted_fork_choice = PersistedForkChoice {
            fork_choice: fork_choice.to_persisted(),
            fork_choice_store: fork_choice.fc_store().to_persisted(),
        };
        persisted_fork_choice.as_kv_store_op(FORK_CHOICE_DB_KEY)
    }
pub fn persist_fork_choice_in_batch ( & self ) -> KeyValueStoreOp { let fork_choice = self . fork_choice . read ( ) ; let persisted_fork_choice = PersistedForkChoice { fork_choice : fork_choice . to_persisted ( ) , fork_choice_store : fork_choice . fc_store ( ) . to_persisted ( ) , } ; persisted_fork_choice . as_kv_store_op ( FORK_CHOICE_DB_KEY ) }
Return a database operation for writing fork choice to disk.
Return a database operation for writing fork choice to disk .
&self