[chord] chord dbm.noauth.c

Emil Sit sit at MIT.EDU
Sat Oct 20 23:18:34 EDT 2007


On Sat, 20 October 2007 at 14:43 (-0500), Awad, Murad (UMKC-Student) wrote:
> How to extend dbm_noauth.C to support storing and fetching values
> using their content hashes. Basically, have two more command line
> options S (for store) and F (for fetch), which will take a value
> string and store/fetch it using its content hash as the key?

It sounds like you are using an older snapshot of the code.
That code should have dhash_benchmark.C (or dbm.C, if it
is new enough) that demonstrates using content hash blocks
as well as noauth and keyhash blocks.  The newer dbm.C should
be cleaner, more modular and easier to read so upgade to
that if you can.

-- 
Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/  



More information about the chord mailing list