From: Zooko O'Whielacronx Date: Fri, 2 Jan 2009 05:14:57 +0000 (-0700) Subject: doc: remove notes to self that I accidentally included in a recent patch X-Git-Url: https://git.rkrishnan.org/%5B/rgr-080307.php?a=commitdiff_plain;h=fe707630af8b67b63df09146f8f97ab591a70b63;p=tahoe-lafs%2Ftahoe-lafs.git doc: remove notes to self that I accidentally included in a recent patch --- diff --git a/src/allmydata/storage.py b/src/allmydata/storage.py index bff0431b..e89eb512 100644 --- a/src/allmydata/storage.py +++ b/src/allmydata/storage.py @@ -36,12 +36,12 @@ NUM_RE=re.compile("^[0-9]+$") # 0x04: share data length, four bytes big-endian = A # See Footnote 1 below. # 0x08: number of leases, four bytes big-endian (unused) # 0x0c: beginning of share data (see immutable.layout.WriteBucketProxy) -# A+0x0c = B: first lease. Lease format is: (unused) XXX -# B+0x00: owner number, 4 bytes big-endian, 0 is reserved for no-owner (unused) XXX -# B+0x04: renew secret, 32 bytes (SHA256) (unused) XXX -# B+0x24: cancel secret, 32 bytes (SHA256) (unused) XXX -# B+0x44: expiration time, 4 bytes big-endian seconds-since-epoch (unused) XXX -# B+0x48: next lease, or end of record (unused) XXX +# A+0x0c = B: first lease. Lease format is: +# B+0x00: owner number, 4 bytes big-endian, 0 is reserved for no-owner +# B+0x04: renew secret, 32 bytes (SHA256) +# B+0x24: cancel secret, 32 bytes (SHA256) +# B+0x44: expiration time, 4 bytes big-endian seconds-since-epoch +# B+0x48: next lease, or end of record # Footnote 1: as of Tahoe v1.3.0 this field is not used by storage servers, but it is still # filled in by storage servers in case the storage server software gets downgraded from >= Tahoe