From c1569376e7106e7ec77700f176b85d7875543b92 Mon Sep 17 00:00:00 2001 From: landandair Date: Wed, 16 Apr 2025 17:52:33 -0500 Subject: [PATCH 1/2] - Updated README.md --- README.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d476504..0040390 100644 --- a/README.md +++ b/README.md @@ -3,26 +3,16 @@ Distributed and decentralized file server protocol utilizing the Reticulum Netwo TODO: -api: -- needs to add files to store and query store for values -Call up to base to fulfill requests +api: - needs read access to what the rns interface is doing call up to base to fulfill requests -- needs to be able to request whole files or request from interface if the file cant be accessed -Call up to base with a request and it returns data if it has it none if it made a request or already made it rns: -- needs decicions and desires -a queue of requests to service ideally - needs to notify base state about the desire list and progress method call to get state if that is requested by api store: -- needs to notify base state of state changes -- Need method to search for child hash to generate data chunk node from data and a hash +- Needs conversion to sqlite base state class: -- needs to hold onto a standby queue for requested hashes and caching auto-requests -- needs to determine if a new node in store meets standards for being cached and add it to standby queue -- needs to determine how to get a file the api requests -- needs to deliver api request node information \ No newline at end of file +- Needs api access to what rns is doing \ No newline at end of file From ed7cff37fc87a3928f8acaa3f48c30af05e246af Mon Sep 17 00:00:00 2001 From: landandair <103214142+landandair@users.noreply.github.com> Date: Wed, 16 Apr 2025 17:55:21 -0500 Subject: [PATCH 2/2] - Updated README.md - Made sure all input args are accounted for --- reticulum_file_server/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reticulum_file_server/main.py b/reticulum_file_server/main.py index 246db68..d9551eb 100644 --- a/reticulum_file_server/main.py +++ b/reticulum_file_server/main.py @@ -20,12 +20,13 @@ def main(args): server_name = args.name allow_all = args.allowAll allowed_peers_path = args.allowedPeers + config_path = args.config_path + # Cid_store_args if not os.path.exists(store_path): os.mkdir(store_path) # Reticulum interface args - config_path = None reticulum = RNS.Reticulum(config_path) identity_path = os.path.join(store_path, 'rns_identity.id') # TODO: Change this to point to rns location server_identity = None