[tahoe-dev] darcs patch: shorten ids

Brian Warner warner at allmydata.com
Mon Aug 13 15:55:54 PDT 2007


For this one, I'd like to see us standardize on some short-id lengths 
for various purposes. For example, we might decide that 4-character 
base32 strings are a clue that we're talking about a node, whereas 
6-characters might be a dirnode StorageIndex, and 8-characters is a CHK 
StorageIndex.

These are purely cosmetic, of course, but at least being consistent 
about nodeids always being displayed as N characters long will help 
people compare various log messages that are referring to the same node.

What were the mnet conventions here? I seem to remember seeing a lot of 
4-character node ids, but I don't know what conventions were used for 
files and blockids.

  -Brian


More information about the tahoe-dev mailing list