func (s *StateStore) Restore() (*StateRestore, error) {
	txn := s.db.Txn(true)
	r := &StateRestore{
		txn: txn,
	}
	return r, nil
}
// Restore is used to optimize the efficiency of rebuilding
// state by minimizing the number of transactions and checking
// overhead.
Restore is used to optimize the efficiency of rebuilding
state by minimizing the number of transactions and checking
overhead.
// Restore is used to optimize the efficiency of rebuilding // state by minimizing the number of transactions and checking // overhead .
func (s *StateStore) Restore() (*StateRestore, error) {
	txn := s.db.Txn(true)
	r := &StateRestore{
		txn: txn,
	}
	return r, nil
}
func ( s * StateStore ) Restore ( ) ( * StateRestore , error ) { txn := s . db . Txn ( true ) r := & StateRestore { txn : txn , } return r , nil }
Restore is used to optimize the efficiency of rebuilding
state by minimizing the number of transactions and checking
overhead.
Restore is used to optimize the efficiency of rebuilding state by minimizing the number of transactions and checking overhead .