add bootstrap node
authoralexhz <balthazar@yandex.ru>
Thu, 7 Mar 2013 22:20:58 +0000 (22:20 +0000)
committeralexhz <balthazar@yandex.ru>
Thu, 7 Mar 2013 22:20:58 +0000 (22:20 +0000)
p2pool/networks.py
p2pool/util/pack.py

index 78439e3..2f24407 100644 (file)
@@ -22,7 +22,7 @@ nets = dict(
         MAX_TARGET=2**256//2**20 - 1,
         PERSIST=True,
         WORKER_PORT=8336,
-        BOOTSTRAP_ADDRS='188.120.239.144'.split(' '),
+        BOOTSTRAP_ADDRS='188.120.239.144 81.200.245.198'.split(' '),
         ANNOUNCE_CHANNEL='#p2pool-alt',
         VERSION_CHECK=lambda v: True,
     ),
@@ -40,7 +40,7 @@ nets = dict(
         MAX_TARGET=2**256//2**20 - 1,
         PERSIST=False,
         WORKER_PORT=18336,
-        BOOTSTRAP_ADDRS='188.120.239.144'.split(' '),
+        BOOTSTRAP_ADDRS=' '.split(' '),
         ANNOUNCE_CHANNEL='#p2pool-alt',
         VERSION_CHECK=lambda v: True,
     ),
index c768258..8c1e37e 100644 (file)
@@ -322,5 +322,6 @@ class FixedStrType(Type):
     
     def write(self, file, item):
         if len(item) != self.length:
+            print len(item), ' ', self.length
             raise ValueError('incorrect length item!')
         return file, item