git://git.novaco.in
/
p2pool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
removed long-outdated __main__ tests
[p2pool.git]
/
p2pool
/
util
/
math.py
diff --git
a/p2pool/util/math.py
b/p2pool/util/math.py
index
0e2866e
..
8ad9b77
100644
(file)
--- a/
p2pool/util/math.py
+++ b/
p2pool/util/math.py
@@
-247,10
+247,3
@@
class RateMonitor(object):
self.first_timestamp = t
else:
self.datums.append((t, datum))
-
-if __name__ == '__main__':
- import random
- a = 1
- while True:
- print a, format(a) + 'H/s'
- a = a * random.randrange(2, 5)