Bitcoin Forum
December 10, 2016, 04:59:43 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 258 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2034764 times)
mdude77
Legendary
*
Offline Offline

Activity: 1358


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

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

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
1481389183
Hero Member
*
Offline Offline

Posts: 1481389183

View Profile Personal Message (Offline)

Ignore
1481389183
Reply with quote  #2

1481389183
Report to moderator
1481389183
Hero Member
*
Offline Offline

Posts: 1481389183

View Profile Personal Message (Offline)

Ignore
1481389183
Reply with quote  #2

1481389183
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481389183
Hero Member
*
Offline Offline

Posts: 1481389183

View Profile Personal Message (Offline)

Ignore
1481389183
Reply with quote  #2

1481389183
Report to moderator
1481389183
Hero Member
*
Offline Offline

Posts: 1481389183

View Profile Personal Message (Offline)

Ignore
1481389183
Reply with quote  #2

1481389183
Report to moderator
tiker
Sr. Member
****
Offline Offline

Activity: 459



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

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: 953



View Profile
December 09, 2012, 06:42:38 PM
 #4143

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
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


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

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
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
December 09, 2012, 08:49:27 PM
 #4145

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
mdude77
Legendary
*
Offline Offline

Activity: 1358


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

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

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
December 10, 2012, 01:32:12 AM
 #4147

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:)
mdude77
Legendary
*
Offline Offline

Activity: 1358


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

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

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
Proofer
Sr. Member
****
Offline Offline

Activity: 251


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

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



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

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


View Profile
December 10, 2012, 06:12:34 AM
 #4151

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


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

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: 1320


Don`t panic! Organize!


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

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
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
forrestv
Hero Member
*****
Offline Offline

Activity: 510


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

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: 953



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

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.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


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

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
iongchun
Member
**
Offline Offline

Activity: 76


View Profile
December 11, 2012, 04:18:02 AM
 #4157


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%.

Since people will keep talking about this "problem",
how about showing "Local status" on the static page based on efficiency?
Ex. "Good" for >110%, "Normal" for 100~110%, "Below Normal" for 90~100%, "Bad" for <90%.

Bitcoin: 1NFMpJUW7sTKmnVKj12MxhPvCvzAKQ5gUV
Namecoin: N5Tnt3JyMeizsoAFAZDr7CSxjzDtPSisK8
Mining with P2Pool. Graph. Blocks.
cabin
Full Member
***
Offline Offline

Activity: 205


View Profile
December 11, 2012, 12:59:42 PM
 #4158

Quote
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'...

If it uses up all 10 before p2pool has a chance to connect then this happens. You can either start p2pool quickly after bitcoin or increase it to 20 or something.

1Cabinz1RSccAbFx2DikYomSKeMupy7M6V
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
December 11, 2012, 01:16:15 PM
 #4159

Quote
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'...

If it uses up all 10 before p2pool has a chance to connect then this happens. You can either start p2pool quickly after bitcoin or increase it to 20 or something.
Or restart bitcoind after starting p2pool.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 11, 2012, 04:53:54 PM
 #4160

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
This was while p2pool was already running normally:
Code:
proofer@miner:~/src/p2pool$ run_p2pool.py --version
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
unknown
proofer@miner:~/src/p2pool$:
The p2pool directory is renamed from the forrestv-p2pool-6880123 directory that was the expansion of the 9.4 linux tarball.
Pages: « 1 ... 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 258 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!