Bitcoin Forum
April 27, 2024, 02:41:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 [207] 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591625 times)
btharper
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
December 07, 2012, 12:33:48 PM
 #4121

IMO it is your bitcoind lagging, try latest git https://github.com/bitcoin/bitcoin

Thanks a lot!



A slight difference. Wink
Wow, for those who don't care immediately to check the image, the "slight difference" is an order of magnitude.

Also, have you thought about adding your P2Pool node to nodees.p2pmine.com? Just another way to advertise, I believe there's also a thread (maybe more than one) that archives a large list of nodes
1714185695
Hero Member
*
Offline Offline

Posts: 1714185695

View Profile Personal Message (Offline)

Ignore
1714185695
Reply with quote  #2

1714185695
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714185695
Hero Member
*
Offline Offline

Posts: 1714185695

View Profile Personal Message (Offline)

Ignore
1714185695
Reply with quote  #2

1714185695
Report to moderator
1714185695
Hero Member
*
Offline Offline

Posts: 1714185695

View Profile Personal Message (Offline)

Ignore
1714185695
Reply with quote  #2

1714185695
Report to moderator
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
December 07, 2012, 05:03:43 PM
 #4122

IMO it is your bitcoind lagging, try latest git https://github.com/bitcoin/bitcoin

Thanks a lot!
A slight difference. Wink
Wow, for those who don't care immediately to check the image, the "slight difference" is an order of magnitude.

Also, have you thought about adding your P2Pool node to nodees.p2pmine.com? Just another way to advertise, I believe there's also a thread (maybe more than one) that archives a large list of nodes
It is only 10x faster ;]

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
December 07, 2012, 11:32:48 PM
 #4123

Latest version from git + latest bitcoind from git, Debian stable AMD64.
Code:
2012-12-07 23:29:23.164939 Punishing share for 'not all txs present'! Jumping from 5ccfb701 to b7bd7558!
2012-12-07 23:29:23.165534 ... done processing 459 shares. New: 459 Have: 27802/~17280
2012-12-07 23:29:23.166138 Requesting parent share 89d921ca from 85.214.113.206:49333
2012-12-07 23:29:23.177849 > Watchdog timer went off at:
2012-12-07 23:29:23.178178 >   File "/home/pioruns/p2pool/run_p2pool.py", line 5, in <module>
2012-12-07 23:29:23.178375 >     main.run()
2012-12-07 23:29:23.178711 >   File "/home/pioruns/p2pool/p2pool/main.py", line 563, in run
2012-12-07 23:29:23.179124 >     reactor.run()
2012-12-07 23:29:23.179337 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
2012-12-07 23:29:23.179531 >     self.mainLoop()
2012-12-07 23:29:23.179801 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1177, in mainLoop
2012-12-07 23:29:23.180008 >     self.doIteration(t)
2012-12-07 23:29:23.180229 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 140, in doSelect
2012-12-07 23:29:23.180413 >     _logrun(selectable, _drdw, selectable, method, dict)
2012-12-07 23:29:23.180590 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
2012-12-07 23:29:23.180766 >     return callWithContext({"system": lp}, func, *args, **kw)
2012-12-07 23:29:23.180939 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
2012-12-07 23:29:23.181113 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
2012-12-07 23:29:23.181285 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
2012-12-07 23:29:23.181460 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
2012-12-07 23:29:23.181637 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
2012-12-07 23:29:23.181816 >     return func(*args,**kw)
2012-12-07 23:29:23.181999 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
2012-12-07 23:29:23.182187 >     why = getattr(selectable, method)()
2012-12-07 23:29:23.182369 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead
2012-12-07 23:29:23.183045 >     return self.protocol.dataReceived(data)
2012-12-07 23:29:23.183370 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 146, in new_dataReceived
2012-12-07 23:29:23.183618 >     old_dataReceived(data)
2012-12-07 23:29:23.183857 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 39, in dataReceived
2012-12-07 23:29:23.184097 >     self.dataReceived2(data)
2012-12-07 23:29:23.184332 >   File "/home/pioruns/p2pool/p2pool/util/datachunker.py", line 40, in _DataChunker
2012-12-07 23:29:23.184582 >     wants = receiver.send(buf.get(wants))
2012-12-07 23:29:23.184868 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 66, in dataReceiver
2012-12-07 23:29:23.185142 >     self.packetReceived(command, type_.unpack(payload))
2012-12-07 23:29:23.185391 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 91, in packetReceived
2012-12-07 23:29:23.185659 >     p2protocol.Protocol.packetReceived(self, command, payload2)
2012-12-07 23:29:23.185932 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 80, in packetReceived
2012-12-07 23:29:23.186215 >     handler(**payload2)
2012-12-07 23:29:23.186520 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 316, in handle_sharereply
2012-12-07 23:29:23.187200 >     self.get_shares.got_response(id, res)
2012-12-07 23:29:23.187448 >   File "/home/pioruns/p2pool/p2pool/util/deferral.py", line 124, in got_response
2012-12-07 23:29:23.187636 >     df.callback(resp)
2012-12-07 23:29:23.187819 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 318, in callback
2012-12-07 23:29:23.188002 >     self._startRunCallbacks(result)
2012-12-07 23:29:23.188180 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
2012-12-07 23:29:23.188355 >     self._runCallbacks()
2012-12-07 23:29:23.188528 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 441, in _runCallbacks
2012-12-07 23:29:23.188794 >     self.result = callback(self.result, *args, **kw)
2012-12-07 23:29:23.188982 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 949, in gotResult
2012-12-07 23:29:23.189161 >     _inlineCallbacks(r, g, deferred)
2012-12-07 23:29:23.189335 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
2012-12-07 23:29:23.189513 >     result = g.send(result)
2012-12-07 23:29:23.189692 >   File "/home/pioruns/p2pool/p2pool/node.py", line 128, in download_shares
2012-12-07 23:29:23.189867 >     self.handle_shares(shares, peer)
2012-12-07 23:29:23.190040 >   File "/home/pioruns/p2pool/p2pool/node.py", line 40, in handle_shares
2012-12-07 23:29:23.190243 >     self.node.set_best_share()
2012-12-07 23:29:23.190422 >   File "/home/pioruns/p2pool/p2pool/node.py", line 288, in set_best_share
2012-12-07 23:29:23.190760 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2012-12-07 23:29:23.191033 >   File "/home/pioruns/p2pool/p2pool/data.py", line 465, in think
2012-12-07 23:29:23.191243 >     if not self.attempt_verify(share):
2012-12-07 23:29:23.191427 >   File "/home/pioruns/p2pool/p2pool/data.py", line 415, in attempt_verify
2012-12-07 23:29:23.191601 >     share.check(self)
2012-12-07 23:29:23.191774 >   File "/home/pioruns/p2pool/p2pool/data.py", line 307, in check
2012-12-07 23:29:23.191950 >     if bitcoin_data.calculate_merkle_link([None] + other_tx_hashes, 0) != self.merkle_link:
2012-12-07 23:29:23.192128 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 192, in calculate_merkle_link
2012-12-07 23:29:23.192303 >     zip(hash_list[::2], hash_list[1::2] + [hash_list[::2][-1]])
2012-12-07 23:29:23.192478 >   File "/home/pioruns/p2pool/p2pool/main.py", line 242, in <lambda>
2012-12-07 23:29:23.192655 >     sys.stderr.write, 'Watchdog timer went off at:\n' + ''.join(traceback.format_stack())

DARKNET MARKETS >> https://DARKNETMARKETS.COM
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
December 09, 2012, 02:08:59 PM
 #4124

P2pool now supports TerraCoin.
Code:
latest commit 8bc9cd4e76

Merge pull request #52 from terracoin/master …
support for the Terracoin network
http://www.terracoin.org/
My TRC P2pool node is up
http://rav3n.dtdns.net:9322/
fee: 0,5%

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
December 09, 2012, 03:22:09 PM
 #4125

P2pool now supports TerraCoin.
Code:
latest commit 8bc9cd4e76

Merge pull request #52 from terracoin/master …
support for the Terracoin network
http://www.terracoin.org/
My TRC P2pool node is up
http://rav3n.dtdns.net:9322/
fee: 0,5%


Does it support merged mining like namecoin, or separate pool?

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
tiker
Sr. Member
****
Offline Offline

Activity: 459
Merit: 250



View Profile WWW
December 09, 2012, 05:00:33 PM
 #4126

Probably it's own network.  I was poking around myself a couple days ago to see if it would work with PPCoin.
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
December 09, 2012, 06:42:38 PM
Last edit: December 09, 2012, 07:11:02 PM by lenny_
 #4127

Latest version from git + latest bitcoind from git, Debian stable AMD64.
Code:
2012-12-09 18:22:40.473092 Processing 357 shares from 207.32.38.41:9333...
2012-12-09 18:24:13.647074 > GOT INCOMPLETE BLOCK FROM PEER! 6921c9ea bitcoin: http://blockexplorer.com/block/00000000000001c0d99924ef2ed8918b653a619a744c66e50e7495776921c9ea
2012-12-09 18:24:28.254019 Punishing share for 'not all txs present'! Jumping from 5ccfb701 to b7bd7558!
2012-12-09 18:24:28.254721 ... done processing 357 shares. New: 357 Have: 34118/~17280
2012-12-09 18:24:28.255548 Requesting parent share c635fe65 from 82.197.205.237:9333
2012-12-09 18:24:28.264173 > Watchdog timer went off at:
2012-12-09 18:24:28.264478 >   File "/home/pioruns/p2pool/run_p2pool.py", line 5, in <module>
2012-12-09 18:24:28.264665 >     main.run()
2012-12-09 18:24:28.264839 >   File "/home/pioruns/p2pool/p2pool/main.py", line 563, in run
2012-12-09 18:24:28.265013 >     reactor.run()
2012-12-09 18:24:28.265184 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
2012-12-09 18:24:28.265356 >     self.mainLoop()
2012-12-09 18:24:28.265607 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1177, in mainLoop
2012-12-09 18:24:28.265879 >     self.doIteration(t)
2012-12-09 18:24:28.266069 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 140, in doSelect
2012-12-09 18:24:28.266255 >     _logrun(selectable, _drdw, selectable, method, dict)
2012-12-09 18:24:28.266431 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
2012-12-09 18:24:28.266807 >     return callWithContext({"system": lp}, func, *args, **kw)
2012-12-09 18:24:28.267097 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
2012-12-09 18:24:28.267324 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
2012-12-09 18:24:28.267510 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
2012-12-09 18:24:28.267693 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
2012-12-09 18:24:28.267873 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
2012-12-09 18:24:28.281068 >     return func(*args,**kw)
2012-12-09 18:24:28.281347 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
2012-12-09 18:24:28.281541 >     why = getattr(selectable, method)()
2012-12-09 18:24:28.281726 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead
2012-12-09 18:24:28.281908 >     return self.protocol.dataReceived(data)
2012-12-09 18:24:28.282092 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 146, in new_dataReceived
2012-12-09 18:24:28.282273 >     old_dataReceived(data)
2012-12-09 18:24:28.282557 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 39, in dataReceived
2012-12-09 18:24:28.282853 >     self.dataReceived2(data)
2012-12-09 18:24:28.283102 >   File "/home/pioruns/p2pool/p2pool/util/datachunker.py", line 40, in _DataChunker
2012-12-09 18:24:28.283300 >     wants = receiver.send(buf.get(wants))
2012-12-09 18:24:28.283482 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 66, in dataReceiver
2012-12-09 18:24:28.283657 >     self.packetReceived(command, type_.unpack(payload))
2012-12-09 18:24:28.283830 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 91, in packetReceived
2012-12-09 18:24:28.284005 >     p2protocol.Protocol.packetReceived(self, command, payload2)
2012-12-09 18:24:28.284181 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 80, in packetReceived
2012-12-09 18:24:28.284355 >     handler(**payload2)
2012-12-09 18:24:28.284525 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 316, in handle_sharereply
2012-12-09 18:24:28.284695 >     self.get_shares.got_response(id, res)
2012-12-09 18:24:28.284870 >   File "/home/pioruns/p2pool/p2pool/util/deferral.py", line 124, in got_response
2012-12-09 18:24:28.285041 >     df.callback(resp)
2012-12-09 18:24:28.285209 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 318, in callback
2012-12-09 18:24:28.285387 >     self._startRunCallbacks(result)
2012-12-09 18:24:28.285563 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
2012-12-09 18:24:28.285735 >     self._runCallbacks()
2012-12-09 18:24:28.285900 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 441, in _runCallbacks
2012-12-09 18:24:28.286071 >     self.result = callback(self.result, *args, **kw)
2012-12-09 18:24:28.286245 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 949, in gotResult
2012-12-09 18:24:28.286415 >     _inlineCallbacks(r, g, deferred)
2012-12-09 18:24:28.286772 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
2012-12-09 18:24:28.287023 >     result = g.send(result)
2012-12-09 18:24:28.287259 >   File "/home/pioruns/p2pool/p2pool/node.py", line 128, in download_shares
2012-12-09 18:24:28.287521 >     self.handle_shares(shares, peer)
2012-12-09 18:24:28.287739 >   File "/home/pioruns/p2pool/p2pool/node.py", line 40, in handle_shares
2012-12-09 18:24:28.287923 >     self.node.set_best_share()
2012-12-09 18:24:28.288097 >   File "/home/pioruns/p2pool/p2pool/node.py", line 288, in set_best_share
2012-12-09 18:24:28.288278 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2012-12-09 18:24:28.288496 >   File "/home/pioruns/p2pool/p2pool/data.py", line 465, in think
2012-12-09 18:24:28.288679 >     if not self.attempt_verify(share):
2012-12-09 18:24:28.288856 >   File "/home/pioruns/p2pool/p2pool/data.py", line 415, in attempt_verify
2012-12-09 18:24:28.289033 >     share.check(self)
2012-12-09 18:24:28.289204 >   File "/home/pioruns/p2pool/p2pool/data.py", line 307, in check
2012-12-09 18:24:28.289381 >     if bitcoin_data.calculate_merkle_link([None] + other_tx_hashes, 0) != self.merkle_link:
2012-12-09 18:24:28.289555 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 195, in calculate_merkle_link
2012-12-09 18:24:28.289759 >     res = [x['hash']() for x in hash_list[0][2]]
2012-12-09 18:24:28.289940 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:24:28.290120 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:24:28.290296 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:24:28.290582 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:24:28.290858 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:24:28.291101 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:24:28.291346 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:24:28.291568 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:24:28.291753 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:24:28.291934 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:24:28.292113 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:24:28.292288 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:24:28.292460 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:24:28.292629 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:24:28.292802 >   File "/home/pioruns/p2pool/p2pool/util/pack.py", line 72, in pack
2012-12-09 18:24:28.292967 >     data = self._pack(obj)
2012-12-09 18:24:28.293134 >   File "/home/pioruns/p2pool/p2pool/util/pack.py", line 52, in _pack
2012-12-09 18:24:28.293300 >     f = self.write(None, obj)
2012-12-09 18:24:28.293464 >   File "/home/pioruns/p2pool/p2pool/util/pack.py", line 297, in write
2012-12-09 18:24:28.293631 >     assert set(item.keys()) == self.field_names, (set(item.keys()) - self.field_names, self.field_names - set(item.keys()))
2012-12-09 18:24:28.293803 >   File "/home/pioruns/p2pool/p2pool/main.py", line 242, in <lambda>
2012-12-09 18:24:28.293971 >     sys.stderr.write, 'Watchdog timer went off at:\n' + ''.join(traceback.format_stack())
2012-12-09 18:24:28.347407 > ########################################
2012-12-09 18:24:28.347773 > >>> Warning: LOST CONTACT WITH BITCOIND for 2.1 minutes! Check that it isn't frozen or dead!
2012-12-09 18:24:28.348024 > ########################################
Code:
2012-12-09 18:24:59.081412 Processing 232 shares from 72.130.76.188:9333...
2012-12-09 18:26:26.743392 Punishing share for 'not all txs present'! Jumping from 5ccfb701 to b7bd7558!
2012-12-09 18:26:26.743977 ... done processing 232 shares. New: 232 Have: 34360/~17280
2012-12-09 18:26:26.744586 Requesting parent share 185843be from 68.47.235.12:9333
2012-12-09 18:26:26.753361 > Watchdog timer went off at:
2012-12-09 18:26:26.753663 >   File "/home/pioruns/p2pool/run_p2pool.py", line 5, in <module>
2012-12-09 18:26:26.753854 >     main.run()
2012-12-09 18:26:26.754030 >   File "/home/pioruns/p2pool/p2pool/main.py", line 563, in run
2012-12-09 18:26:26.754209 >     reactor.run()
2012-12-09 18:26:26.754386 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
2012-12-09 18:26:26.754784 >     self.mainLoop()
2012-12-09 18:26:26.755040 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1177, in mainLoop
2012-12-09 18:26:26.755239 >     self.doIteration(t)
2012-12-09 18:26:26.755417 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 140, in doSelect
2012-12-09 18:26:26.755590 >     _logrun(selectable, _drdw, selectable, method, dict)
2012-12-09 18:26:26.755765 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
2012-12-09 18:26:26.755943 >     return callWithContext({"system": lp}, func, *args, **kw)
2012-12-09 18:26:26.756122 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
2012-12-09 18:26:26.756299 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
2012-12-09 18:26:26.756476 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
2012-12-09 18:26:26.756657 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
2012-12-09 18:26:26.756839 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
2012-12-09 18:26:26.757018 >     return func(*args,**kw)
2012-12-09 18:26:26.757196 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
2012-12-09 18:26:26.757369 >     why = getattr(selectable, method)()
2012-12-09 18:26:26.757545 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead
2012-12-09 18:26:26.757721 >     return self.protocol.dataReceived(data)
2012-12-09 18:26:26.757894 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 146, in new_dataReceived
2012-12-09 18:26:26.758066 >     old_dataReceived(data)
2012-12-09 18:26:26.758239 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 39, in dataReceived
2012-12-09 18:26:26.758411 >     self.dataReceived2(data)
2012-12-09 18:26:26.758776 >   File "/home/pioruns/p2pool/p2pool/util/datachunker.py", line 40, in _DataChunker
2012-12-09 18:26:26.759150 >     wants = receiver.send(buf.get(wants))
2012-12-09 18:26:26.759427 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 66, in dataReceiver
2012-12-09 18:26:26.759747 >     self.packetReceived(command, type_.unpack(payload))
2012-12-09 18:26:26.759973 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 91, in packetReceived
2012-12-09 18:26:26.760161 >     p2protocol.Protocol.packetReceived(self, command, payload2)
2012-12-09 18:26:26.760428 >   File "/home/pioruns/p2pool/p2pool/util/p2protocol.py", line 80, in packetReceived
2012-12-09 18:26:26.760630 >     handler(**payload2)
2012-12-09 18:26:26.760810 >   File "/home/pioruns/p2pool/p2pool/p2p.py", line 316, in handle_sharereply
2012-12-09 18:26:26.760988 >     self.get_shares.got_response(id, res)
2012-12-09 18:26:26.761167 >   File "/home/pioruns/p2pool/p2pool/util/deferral.py", line 124, in got_response
2012-12-09 18:26:26.761341 >     df.callback(resp)
2012-12-09 18:26:26.761518 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 318, in callback
2012-12-09 18:26:26.761700 >     self._startRunCallbacks(result)
2012-12-09 18:26:26.761876 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
2012-12-09 18:26:26.762050 >     self._runCallbacks()
2012-12-09 18:26:26.762219 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 441, in _runCallbacks
2012-12-09 18:26:26.762389 >     self.result = callback(self.result, *args, **kw)
2012-12-09 18:26:26.762737 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 949, in gotResult
2012-12-09 18:26:26.762989 >     _inlineCallbacks(r, g, deferred)
2012-12-09 18:26:26.763295 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
2012-12-09 18:26:26.763696 >     result = g.send(result)
2012-12-09 18:26:26.763977 >   File "/home/pioruns/p2pool/p2pool/node.py", line 128, in download_shares
2012-12-09 18:26:26.764179 >     self.handle_shares(shares, peer)
2012-12-09 18:26:26.764354 >   File "/home/pioruns/p2pool/p2pool/node.py", line 40, in handle_shares
2012-12-09 18:26:26.764531 >     self.node.set_best_share()
2012-12-09 18:26:26.764704 >   File "/home/pioruns/p2pool/p2pool/node.py", line 288, in set_best_share
2012-12-09 18:26:26.764884 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2012-12-09 18:26:26.765101 >   File "/home/pioruns/p2pool/p2pool/data.py", line 465, in think
2012-12-09 18:26:26.765290 >     if not self.attempt_verify(share):
2012-12-09 18:26:26.765467 >   File "/home/pioruns/p2pool/p2pool/data.py", line 415, in attempt_verify
2012-12-09 18:26:26.765641 >     share.check(self)
2012-12-09 18:26:26.765815 >   File "/home/pioruns/p2pool/p2pool/data.py", line 307, in check
2012-12-09 18:26:26.765992 >     if bitcoin_data.calculate_merkle_link([None] + other_tx_hashes, 0) != self.merkle_link:
2012-12-09 18:26:26.766167 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 195, in calculate_merkle_link
2012-12-09 18:26:26.766343 >     res = [x['hash']() for x in hash_list[0][2]]
2012-12-09 18:26:26.766667 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:26:26.766921 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:26:26.767174 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:26:26.767405 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:26:26.767594 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:26:26.767771 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:26:26.767946 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:26:26.768119 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:26:26.768295 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:26:26.768471 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:26:26.768649 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:26:26.768829 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:26:26.769015 >   File "/home/pioruns/p2pool/p2pool/bitcoin/data.py", line 187, in <lambda>
2012-12-09 18:26:26.769191 >     lambda _left=left, _right=right: hash256(merkle_record_type.pack(dict(left=_left(), right=_right()))),
2012-12-09 18:26:26.769370 >   File "/home/pioruns/p2pool/p2pool/main.py", line 242, in <lambda>
2012-12-09 18:26:26.769549 >     sys.stderr.write, 'Watchdog timer went off at:\n' + ''.join(traceback.format_stack())
2012-12-09 18:26:26.823746 > ########################################
2012-12-09 18:26:26.824181 > >>> Warning: LOST CONTACT WITH BITCOIND for 1.5 minutes! Check that it isn't frozen or dead!
2012-12-09 18:26:26.824448 > ########################################
Memory usage still very high:
651MB virtual, 490MB physical. Probably that's why it's loosing contact with bitcoind (swapping memory).
p2pool version commit 8bc9cd4e7614b7ac5109f83698e2fb4e9abd1567
bitcoind version commit 622da5df6ec0efc46804321f4b77ea17a9579821

DARKNET MARKETS >> https://DARKNETMARKETS.COM
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
December 09, 2012, 08:45:15 PM
 #4128

Odd, in my 4GB VM:
Code:

  1  [|||||                                        9.0%]     Tasks: 39; 2 running
  2  [||||||                                       9.2%]     Load average: 0.43 0.50 0.45
  Mem[||||||||||||||||||||||||||||||||||||||3203/3954MB]     Uptime: 08:23:40
  Swp[||                                      57/2043MB]

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
    1 root       20   0 24336   516   512 S  0.0  0.0  0:01.11 /sbin/init
 1447 rav3n      20   0 24800   840   400 S  0.0  0.0  0:02.29 +¦ SCREEN -U -d -m python /home/rav3n/p2pool/run_p2pool
 1448 rav3n      20   0  564M  359M  2188 S  7.0  9.1 36:22.46 -  L¦ python /home/rav3n/p2pool/run_p2pool.py --merged
 1396 rav3n      20   0 2330M 1734M  3980 S  1.0 43.9  7:50.18 +¦ i0coind -daemon
 1391 rav3n      20   0  784M  231M  3384 S  6.0  5.9  4:14.65 +¦ ixcoind -daemon
 1372 rav3n      20   0 1516M  282M 21592 S  0.0  7.1 11:51.55 +¦ bitcoind -daemon
 1365 rav3n      20   0 24800   840   400 S  0.0  0.0  0:01.86 +¦ SCREEN -U -d -m python /home/rav3n/p2pool/run_p2pool
 1366 rav3n      20   0  387M  180M  2176 S  0.0  4.6  9:13.65 -  L¦ python /home/rav3n/p2pool/run_p2pool.py -f 0.5 --
 1335 rav3n      20   0  731M  116M  3720 S  0.0  2.9  4:15.51 +¦ namecoind -daemon
 1324 rav3n      20   0 24800   840   400 S  0.0  0.0  0:02.10 +¦ SCREEN -U -d -m python /home/rav3n/p2pool/run_p2pool
 1325 rav3n      20   0  400M 52780  2192 S  1.0  1.3  6:20.48 -  L¦ python /home/rav3n/p2pool/run_p2pool.py -f 0.5 --
 1173 rav3n      20   0 1210M  125M  2988 S  0.0  3.2  6:29.93 +¦ litecoind -daemon
 1171 rav3n      20   0 1121M 16584  3568 S  5.0  0.4  3:07.90 +¦ terracoind -daemon

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
December 09, 2012, 08:49:27 PM
Last edit: December 09, 2012, 09:10:38 PM by lenny_
 #4129

Yes, a little bit smaller usage in your machine. Your biggest p2pool instance eats 359 MB RAM (564 MB virtual).
At this moment, my p2pool memory usage decreased to 442 MB RAM (651 MB virtual).
P2pool is first time since v9 - usable, it not losing contact with bitcoind anymore, look at graphs: http://lenny.dnsd.me:9332/static/graphs.html?Hour

DARKNET MARKETS >> https://DARKNETMARKETS.COM
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
December 10, 2012, 01:04:32 AM
 #4130

I think using the latest bitcoind is a bad idea.

Here's why.

I fired up bitcoind in my linux vm.  Pulled the latest git of p2pool, and pointed it to bitcoind.  Pointed all 3 of my miners (measly 4.5GH/s) to it.

Within 30 minutes I had 4 shares, all orphans.

I changed p2pool to point to my local official build of bitcoind (7.1) and restarted it.

Two hours later I have 7 shares, 0 orphans, 0 dead.

Granted, it could be coincidence.  But the latest bitcoind does say "do not use for mining".

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
December 10, 2012, 01:32:12 AM
Last edit: December 10, 2012, 04:36:57 PM by lenny_
 #4131

I am not using my node for mining, just for supporting network as 24/7 peer.
Did you make sure that your bitcoind from git had latest blockchain? Files are different from 0.7.1 and may be not compatible when you switching versions with same ~/.bitcoin directory.

EDIT:
Memory usage is really low now:) I left p2pool overnight, and after 12 hours of running, it establish connections to Peers: 5 out, 4 in. Physical usage 296MB, virtual 440MB. Well done, forrestv! I still can use p2pool on my 1GB RAM machine, I will leave it running:)

DARKNET MARKETS >> https://DARKNETMARKETS.COM
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
December 10, 2012, 01:36:39 AM
 #4132

I am not using my node for mining, just for supporting network as 24/7 peer.
Did you make sure that your bitcoind from git had latest blockchain? Files are different from 0.7.1 and may be not compatible when you switching versions with same ~/.bitcoin directory.

Yes.  Blockchain pulled it from that build only.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Proofer
Member
**
Offline Offline

Activity: 266
Merit: 36


View Profile
December 10, 2012, 04:23:39 AM
 #4133

Where in my linux p2pool directory can I look to find the human-readable version number, e.g., currently, 9.4?
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
December 10, 2012, 04:34:29 AM
 #4134

Granted, it could be coincidence. 

A handfull of shares are far too few to identify statistically valid patterns.

My stats for the past couple days with the latest bitcoind...

Code:
Shares: 137 (8 orphan, 1 dead) Stale rate: ~6.6% (3-13%) Efficiency: ~110.8% (104-115%)

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Ed
Member
**
Offline Offline

Activity: 69
Merit: 10


View Profile
December 10, 2012, 06:12:34 AM
Last edit: December 10, 2012, 08:22:08 AM by Ed
 #4135

Try editing your bitcoin conf with the below settings. The reasoning behind them is with less connections and less transactions to process your bitcoind will respond faster. It did help a lot for me. Also I've noticed that anyone compiling their own bitcoin from git has a big advantage too since the new db system for the next bitcoin release is way faster. If you can't compile your own keep an eye out for a 0.8RC1 when it comes out.

Code:

maxconnections=10

#Maximum size, in bytes, of blocks you create:
blockmaxsize=50000

#How many bytes of the block should be dedicated to high-priority transactions,                                                                                                
#included regardless of the fees they pay                                                                                                                                
blockprioritysize=2000

#Minimum block size you want to create; block will be filled with free transactions                                                                                      
#until there are no more or the block reaches this size:                                                                                                                  
blockminsize=0

#Fee-per-kilobyte amount (in BTC) considered the same as "free"                                                                                                                    
#Be careful setting this: if you set it to zero then                                                                                                                      
#a transaction spammer can cheaply fill blocks using                                                                                                                      
#1-satoshi-fee transactions. It should be set above the real                                                                                                              
#cost to you of processing a transaction.                                                                                                                                
mintxfee=0.0005

when I set maxconnections=10 my p2pool is not started, just stay in

Code:
2012-12-09 21:05:51.285000 p2pool (version 9.4)
2012-12-09 21:05:51.300000
2012-12-09 21:05:51.300000 Testing bitcoind RPC connection to 'http://127.0.0.1:8332/' with username 'zzzzz'...
2012-12-09 21:05:51.378000     ...success!
2012-12-09 21:05:51.394000     Current block hash: 23vdgbfgbfhnfgn563hyjntjntgnbgfn6443h46h3nynn4tbtbrb
2012-12-09 21:05:51.394000     Current block height: 211544
2012-12-09 21:05:51.394000
2012-12-09 21:05:51.394000 Testing bitcoind P2P connection to '127.0.0.1:8333'...
Ed
Member
**
Offline Offline

Activity: 69
Merit: 10


View Profile
December 10, 2012, 06:20:00 AM
 #4136

P2Pool release 9.4 tag: 9.4 hash: c95830cd6486b848c9201668720072485b2a8aed

Windows binary: http://u.forre.st/u/ahajjytb/p2pool_win32_9.4.zip
Source zipball: https://github.com/forrestv/p2pool/zipball/9.4
Source tarball: https://github.com/forrestv/p2pool/tarball/9.4

Changes:
* Fixed inefficient memory usage - Resident memory went from 736MB to 266MB for Diablo-D3

unfortunately p2pool wasted work do not go below 15-20% as was before hardfork
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
December 10, 2012, 06:53:40 AM
 #4137

Where in my linux p2pool directory can I look to find the human-readable version number, e.g., currently, 9.4?
run_p2pool.py --version

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
December 10, 2012, 05:17:57 PM
 #4138

P2Pool release 9.4 tag: 9.4 hash: c95830cd6486b848c9201668720072485b2a8aed

Windows binary: http://u.forre.st/u/ahajjytb/p2pool_win32_9.4.zip
Source zipball: https://github.com/forrestv/p2pool/zipball/9.4
Source tarball: https://github.com/forrestv/p2pool/tarball/9.4

Changes:
* Fixed inefficient memory usage - Resident memory went from 736MB to 266MB for Diablo-D3

unfortunately p2pool wasted work do not go below 15-20% as was before hardfork

Stale P2Pool shares are not "wasted" - they still can solve blocks and get us all a payout. They're just don't count for P2Pool credit, which affects everyone to some degree, so everything is optimal and fair as long as your efficiency is close to 100%.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
December 10, 2012, 05:28:18 PM
 #4139

Code:
$ python run_p2pool.py --version
/home/pioruns/p2pool/p2pool/util/pack.py:203: DeprecationWarning: object.__new__() takes no parameters
  return Type.__new__(cls, bits, endianness)
9.4-11-g8bc9cd4
Huh
Code:
$ python --version
Python 2.6.6
Some incompatibility with python 2.6.6? I tried it on python 2.7.3 (VM) and and no error.

DARKNET MARKETS >> https://DARKNETMARKETS.COM
forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
December 10, 2012, 05:35:00 PM
 #4140

Quote from: lenny_ link=topic=18313.msg1390522#msg1390522 date=1355160498
Some incompatibility with python 2.6.6? I tried it on python 2.7.3 (VM) and and no error.
[/quote

It's just a warning that is actually meaningless, since it was triggered by a bug in Python. It doesn't happen for new versions of Python because the erroneous warning was removed.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Pages: « 1 ... 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 [207] 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!