Bitzi
home of the
Bitpedia
digital media encyclopedia

About, Products, Download, Search, Browse, Discuss, BitSocieties, Help



Bitzi works
best with Bitzi-Powered Applications.
Register or Sign In 

Bitzi Developer Discussion: MojoId e Mojo Dinode

Main Site : bboard : Bitzi Developer Discussion : One Message

Message:

MojoId e Mojo Dinode   [forward as email]
I'm a user of MojoNation and I like to publish many files.

Could you write in Bitcollider a few lines of code to insert in the tags the MojoID and the Dinode of a file?

Or maybe a more broad option to insert URLs when Bitcolliding files (so users are able to add directly the MojoId (eg. http://localhost:4040/id/{the MojoId}) and the dinode of a file.

I also will send a mail to MojoNation-devel mailing list to suggest write code that register the published files on Bitzi.

Convergence will help both to grow strong and great.

 
-- painlord, September 07, 2001 07:35 am

Replies:

Re: MojoId e Mojo Dinode   [forward as email]
We would be interested in tracking MojoIds for files, as I understand that it is strictly calculable from the file itself. Is the algorithm for creating a MojoId documented somewhere? (Or, can you point at the specific place in mojo source code where they are created?)

What is a "dinode" and what is its significance?

 
-- gojomo, September 07, 2001 11:34 am

Re: MojoId e Mojo Dinode   [forward as email]
----- Original Message ----- From: "Andrew Loewenstern" <[email protected]>

Subject: Re: [Mojonation-devel] Error when trying to download pasting the dinode and the MojoId in the browser.

> The broker needs help from content trackers to

> lookup a mojoid, which is the hash of the

> dinode. I use wget for full dinodes. However,

> you might not be able to paste the dinode onto > the command line because it > is too long. In that case, save the dinode to > a file and use the -i/--intput-file wget

> command. I also recommend -t1 -T0 so wget only

> tries once and doesn't ever time out.

This is interesting, so maybe Bitzi need the dinode and not the MojoId.

There is a flow-chart about MN working

http://www.mojonation.net/docs/technical_overview.shtml

Mojo Nation source are available at Sourceforge

http://sourceforge.net/cvs/?group_id=8340

I find "def get_mojoid_from_dinode(dinode):" in

contentlib.py in Mojonation/evil/common

appear that MojoId are compressed Dinode (but Python is over my ability for now).

The dinode is the identifier of the "resource" (usually a file - but sametimes a web site) published over MojoNation.

It locate the sharemap with the list of blocks containing the file. It is the Universal identifier in MN!

Also for dinode calculation see in sharemap.py

 
-- painlord, September 07, 2001 02:30 pm

Mojo Confusion Risin'   [forward as email]
As previously, looking at the MN tech overview and incomplete documentation has only deepened my confusion.

So, please: what is the one primary identifier which is used to request a resource from MN?

How long is it in bytes, and how is it typically displayed (hex? base32? base64?)?

 
-- gojomo, September 07, 2001 04:34 pm
[ Post a reply ]

© 2012 The Bitzi Corporation | Policies | Company Info | In The Press | Link To Us

310,818 bitizens have contributed 18,951,944 tags about 3,763,550 files.