From: alexhz Date: Thu, 7 Mar 2013 22:20:58 +0000 (+0000) Subject: add bootstrap node X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=commitdiff_plain;h=d413396da3047f77f551de5c43be31374e954313 add bootstrap node --- diff --git a/p2pool/networks.py b/p2pool/networks.py index 78439e3..2f24407 100644 --- a/p2pool/networks.py +++ b/p2pool/networks.py @@ -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, ), diff --git a/p2pool/util/pack.py b/p2pool/util/pack.py index c768258..8c1e37e 100644 --- a/p2pool/util/pack.py +++ b/p2pool/util/pack.py @@ -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