mirror of https://github.com/noerw/geo-dht
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
767632deec | 5 years ago | |
---|---|---|
.gitignore | 5 years ago | |
README.md | 8 years ago | |
app.py | 5 years ago | |
commands.py | 8 years ago | |
geohash32.py | 5 years ago | |
keyspace.py | 5 years ago | |
node.py | 5 years ago | |
randomLocation.py | 5 years ago | |
test.sh | 8 years ago |
README.md
To start the first Node in a DHT:
python app.py
To start a new node and join it to an existing DHT:
python app.py {entry_port}
...where entry port is a port on localhost with another running Node.
Valid commands:
GET {key}
PUT {key} {value}