https://github.com/c-cube/ocaml-chord
[unfinished] Chord DHT implementation in OCaml (not production-ready)
https://github.com/c-cube/ocaml-chord
Last synced: 1 day ago
JSON representation
[unfinished] Chord DHT implementation in OCaml (not production-ready)
- Host: GitHub
- URL: https://github.com/c-cube/ocaml-chord
- Owner: c-cube
- License: bsd-2-clause
- Created: 2013-06-15T12:31:18.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-25T01:02:54.000Z (almost 12 years ago)
- Last Synced: 2025-03-07T01:45:09.351Z (10 months ago)
- Language: OCaml
- Homepage:
- Size: 398 KB
- Stars: 4
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chord
A simple DHT implementation based on
[chord](http://en.wikipedia.org/wiki/Chord_%28peer-to-peer%29). It
uses `bencode_rpc` to communicate between nodes.
## Build
You will need OCaml >= 3.12 (at least, I test on 4.00.1). The libraries
`bencode`, `bencode_rpc` and `lwt` also need to be installed, either by hand
or with opam:
$ opam install lwt bencode bencode_rpc
Then, type
$ make
and it should build the library.
## License
BSD2, see the file `LICENSE`
## TODO
- test TCP implementation
- simple IRC-like messaging protocol (with broadcasting protocol)
- a CLI tool with TCP implementation