Browse Source

Remove unnecessary experiment files

Steven Engler 3 years ago
parent
commit
a68c35a946
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/relay_working_experiment.py

+ 5 - 1
src/relay_working_experiment.py

@@ -386,9 +386,13 @@ if __name__ == '__main__':
 									raise
 								#
 							#
+							os.system('rm -rf /run/user/3271/chutney-net/nodes/*/diff-cache')
+							os.system('rm -rf /run/user/3271/chutney-net/nodes/*/keys')
+							os.system('rm -f /run/user/3271/chutney-net/nodes/*/cached-*')
+							os.system('rm -f /run/user/3271/chutney-net/nodes/*/v3-status-votes')
 							shutil.copytree('/run/user/3271/chutney-net/nodes', os.path.join(save_data_path, 'nodes'))
 							os.system("ps u | grep 'tor'")
-							os.system("rm -rf /run/user/3271/chutney-net/*")
+							os.system('rm -rf /run/user/3271/chutney-net/*')
 							break
 						#
 						exp = None