SkillAgentSearch skills...

CChord

This is a chord implementation in C++, Chord is a protocol and algorithm for a peer-to-peer distributed hash table.

Install / Use

/learn @Goles/CChord
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<!-- ================================================== --> <!-- = Chord++ By Laurent Vanni & Nicolas Goles Domic = --> <!-- ================================================== -->

Building the chord Engine in OSX:

$make ARCH=osx

Building the chord Engine in LINUX:

$make ARCH=linux

Installing the chord++ library ( called mymed.a for now )

$sudo make install

This should produce a libmymed.a static library which you can link to your project and copy the library headers to /usr/include/mymed/

<!-- ===================== --> <!-- = Compile & Install = --> <!-- ===================== -->

$make ARCH=linux // You can also do ARCH=osx $sudo make install // This will install the headerfiles in /usr/include/mymed/ $make clean // You can also specify veryclean

NOTE: You will have to put the mymed.a lib where you will use it ( you could put it somewhere in /usr/lib if you want but it's not done by default)

<!-- ========= --> <!-- = Usage = --> <!-- ========= -->

You can actually take a look at the file "example.c" to see a small example.

<!-- ======== --> <!-- = TODO = --> <!-- ======== -->

There are still some memory leaks in this project, not VERY serious ( we left it running with around 50 nodes for 3 months until it crashed from out of memory). We don't have time to isolate this leaks, so contributions are appreciated :).

L.V & N.G

View on GitHub
GitHub Stars18
CategoryDevelopment
Updated1y ago
Forks8

Languages

C++

Security Score

75/100

Audited on Sep 25, 2024

No findings