fixed stale_info documentation in p2pool.data
authorForrest Voight <forrest.voight@gmail.com>
Mon, 30 Jan 2012 17:35:54 +0000 (12:35 -0500)
committerForrest Voight <forrest.voight@gmail.com>
Mon, 30 Jan 2012 17:35:54 +0000 (12:35 -0500)
p2pool/data.py

index ca67ff5..5fdfa5f 100644 (file)
@@ -19,7 +19,7 @@ share_data_type = pack.ComposedType([
     ('new_script', pack.VarStrType()),
     ('subsidy', pack.IntType(64)),
     ('donation', pack.IntType(16)),
-    ('stale_info', pack.IntType(8)), # 0 nothing, 253 orphan, 254 doa. previously: 254*perfect_round(my_stale_prop), None if no shares
+    ('stale_info', pack.IntType(8)), # 0 nothing, 253 orphan, 254 doa. previously: perfect_round(254*my_stale_prop), 255 if no shares
 ])
 
 share_info_type = pack.ComposedType([