mirror of
https://github.com/landandair/Reticulum-Decentralized-File-Server.git
synced 2025-12-22 09:27:08 +00:00
Merge pull request #2 from landandair/initial_function
Initial function
This commit is contained in:
16
README.md
16
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
|
||||
- Needs api access to what rns is doing
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user