yannarbraz
Posts: 5
Joined: Fri Mar 23, 2018 12:55 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Fri Apr 06, 2018 5:57 pm

got the same problem on BTC, my miners works but produce only HW .. no shares accepted, no hashrate..like i was overclocked but i did not
to me the problem have begun at 12 am on friday 6th

i have now pointed my miners on another pool and it work well..
any solution?

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Fri Apr 06, 2018 10:29 pm

Does anyone know if this issue is affecting non-Bitmain gear as well?

sawa
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 20
Joined: Sat Feb 17, 2018 10:15 am

Donate BTC of your choice to 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET

Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Fri Apr 06, 2018 10:52 pm

A few days ago, the miners started having problems with Ebit E9+

Staim
Posts: 3
Joined: Mon Mar 05, 2018 7:56 am

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Fri Apr 06, 2018 10:58 pm

Does anyone know if this issue is affecting non-Bitmain gear as well?
Such issue started with Ebit E9+ a few days ago.
With Bitmain S9 - today.
S7 and Pantech works fine..

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Fri Apr 06, 2018 11:28 pm

Does anyone else see an error like this when starting up their node?

Code: Select all

2018-04-06 13:56:37.311373 2018-04-06 13:56:37.311494 Loading shares... 2018-04-06 13:56:39.384184 1000 2018-04-06 13:56:40.482800 2000 HARMLESS error while reading saved shares, continuing where left off: Traceback (most recent call last): File "/usr/local/lib/pypy2.7/dist-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 588, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/local/lib/pypy2.7/dist-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1184, in gotResult _inlineCallbacks(r, g, deferred) File "/usr/local/lib/pypy2.7/dist-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/home/p2pool/testp2pool/p2pool/main.py", line 182, in main ss = p2pool_data.ShareStore(os.path.join(datadir_path, 'shares.'), net, share_cb, known_verified.add) --- <exception caught here> --- File "/home/p2pool/testp2pool/p2pool/data.py", line 817, in __init__ type_id_str, data_hex = line.strip().split(' ') exceptions.ValueError: expected length 2, got 3 2018-04-06 13:56:41.419829 3000 2018-04-06 13:56:42.373113 4000 2018-04-06 13:56:43.197983 5000 2018-04-06 13:56:44.105561 6000 2018-04-06 13:56:44.717141 7000 2018-04-06 13:56:45.450140 8000 2018-04-06 13:56:46.141473 9000 2018-04-06 13:56:46.839780 10000 2018-04-06 13:56:47.457633 11000
Note: this error gets sent to stderr, not stdout, and will be missing from the p2pool/data/bitcoin/log file.

sawa
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 20
Joined: Sat Feb 17, 2018 10:15 am

Donate BTC of your choice to 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET

Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Sat Apr 07, 2018 12:04 am

I checked several nodes. No such error

2018-04-07 04:49:46.247134 Loading shares...
2018-04-07 04:49:47.285864 1000
2018-04-07 04:49:47.882288 2000
2018-04-07 04:49:48.490471 3000
2018-04-07 04:49:49.023987 4000
2018-04-07 04:49:49.487824 5000
2018-04-07 04:49:49.963342 6000
2018-04-07 04:49:50.390623 7000
2018-04-07 04:49:50.878942 8000
2018-04-07 04:49:51.421952 9000
2018-04-07 04:49:51.805099 10000
2018-04-07 04:49:52.315064 11000
2018-04-07 04:49:52.765237 12000
2018-04-07 04:49:53.194358 13000
2018-04-07 04:49:53.564423 14000
2018-04-07 04:49:53.951253 15000
2018-04-07 04:49:54.337259 16000
2018-04-07 04:49:54.801515 17000
2018-04-07 04:49:55.171779 18000
2018-04-07 04:49:55.175872 Share loading took 8.929 seconds
2018-04-07 04:49:55.176021 ...done loading 18002 shares (9362 verified)!
2018-04-07 04:49:55.176078
2018-04-07 04:49:55.176136 Initializing work...
2018-04-07 04:49:56.182880 ...success!
2018-04-07 04:49:56.183041
2018-04-07 04:49:56.183117 Joining p2pool network using port 9335...
2018-04-07 04:49:56.487321 ...success!
2018-04-07 04:49:56.487478
2018-04-07 04:49:56.487548 Listening for workers on '' port 9334...
2018-04-07 04:49:58.239176 ...success!
2018-04-07 04:49:58.239287
2018-04-07 04:49:58.239350 Started successfully!
2018-04-07 04:49:58.239414 Go to http://127.0.0.1:9334/ to view graphs and statistics!

But with pypy there is always and everywhere this error

Traceback (most recent call last):
File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks
self._runCallbacks()
File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/opt/sha256d/p2pool-btc-fork/p2pool/util/deferral.py", line 256, in gotResult
it(res2)
File "/opt/sha256d/p2pool-btc-fork/p2pool/util/deferral.py", line 233, in it
res = gen.send(cur) # external code is run here
--- <exception caught here> ---
File "/opt/sha256d/p2pool-btc-fork/p2pool/util/deferral.py", line 284, in _worker
self.func(*self.args, **self.kwargs)
File "/opt/sha256d/p2pool-btc-fork/p2pool/util/expiring_dict.py", line 109, in <lambda>
self._expire_loop = expire_loop = deferral.RobustLoopingCall(lambda: self_ref().expire())
exceptions.AttributeError: 'NoneType' object has no attribute 'expire'

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Sat Apr 07, 2018 12:39 am

I'm moving most of my hashrate over to the BCH p2pool while I debug this issue.

There doesn't seem to be an easy-to-find fix. Maybe I'll have better luck finding it after I've gotten some sleep.

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Sat Apr 07, 2018 10:53 am

I have found a batch of older S9s (running bmminer 1.0, manual frequency control) that seem to be immune to this problem.

Working:

Code: Select all

Miner Type Antminer S9 Hostname antMiner Model GNU/Linux Hardware Version 4.0.1.0 Kernel Version Linux 3.10.31-ltsi-00003-gcf03eb9 #81 SMP Mon Apr 25 11:20:36 CST 2016 File System Version Mon Jul 11 18:23:27 CST 2016 BMminer Version 1.0.0 Uptime 23 Load Average 0.84, 0.76, 0.73
Not working:

Code: Select all

Miner Type Antminer S9 Hostname antMiner Model GNU/Linux Hardware Version 16.8.1.3 Kernel Version Linux 3.14.0-xilinx-gb190cb0-dirty #57 SMP PREEMPT Fri Dec 9 14:49:22 CST 2016 File System Version Fri Jul 21 05:15:25 EDT 2017 Logic Version S9V2.23 BMminer Version 2.0.0 Uptime 9:48 Load Average 0.30, 0.79, 1.10
A batch of these immune S9s were mining on http://ml.toom.im:9332/static/graphs.html?Week under the address 12hygG3... and showed no hashrate deficits, even while 1EyWF5... and another machine on the same node went haywire.

The bugged S9 batches will fail to start up if the *primary* pool is a BTC p2pool experiencing this bug, but will start up fine if the primary pool is a different pool (working) and only secondary pool is showing this bug. In that case, the S9 will show the secondary (bugged?) p2pool as "alive".

Celebrimbot
Posts: 5
Joined: Sat Apr 07, 2018 11:13 am

Donate BTC of your choice to 1JL8YVyeuRdEUZYmQusEtuko6TciN7Aumy

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Sat Apr 07, 2018 11:31 am

I'm not sure this is the same issue but for me P2Pool appears to be reporting normally to terminal output [except perhaps it reports New Work! more than I recall previoulsy].

The S9 reports the node as alive but it discards all works and accepts 0 - and so my local node sees no hashrate at all.

Works from other pools (BTC.com for example) are accepted.

I assume I'm way behind the curve here - but just wanted to check that this wasn't a different issue.

Miner Type Antminer S9
Hostname antMiner
Model GNU/Linux
Hardware Version 16.8.1.3
Kernel Version Linux 3.14.0-xilinx-ge8a2f71-dirty #82 SMP PREEMPT Tue May 16 19:49:53 CST 2017
File System Version Fri Nov 17 17:37:49 CST 2017
Logic Version S9_V2.54
BMminer Version 2.0.0
Uptime 22
Load Average 0.08, 0.14, 0.09



p2pool node: 79.70.72.231:9332

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Sat Apr 07, 2018 11:53 am

The S9 reports the node as alive but it discards all works and accepts 0 - and so my local node sees no hashrate at all.

Works from other pools (BTC.com for example) are accepted.
Yes, that appears to be the same issue. I've seen the issue manifest two different ways from the Antminer's perspective. In some cases, the miner will be running seemingly normally, but will not have any accepted work. In other cases, the miner will simply fail to start up.

My working hypothesis is that sometimes p2pool hands out work that bmminer 2.0 can't handle correctly, and when bmminer 2.0 gets unmineable work while it's still booting, it dies and restarts, but when bmminer 2.0 gets unmineable work after it has finished booting and has completed some mineable work, it will just fail to mine.

sawa
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 20
Joined: Sat Feb 17, 2018 10:15 am

Donate BTC of your choice to 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET

Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Sat Apr 07, 2018 9:11 pm

I think about such a thing. I see in the code - p2pool supports extranonce https://github.com/ilsawa/p2pool-jtoomi ... ork.py#L21
COINBASE_NONCE_LENGTH = 8
However, when you dig through sgminer, until you specify "--no-extranonce" it will not be digging.
Is it possible that the implementation of extranonce in p2pool is written incorrectly?

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 1:31 am

jtoomimnet BTC p2pool seems to have started to work again about 2 hours ago, at least on my nodes. I don't know why, unfortunately.

My best guess at this point is that the newer S9s don't support a coinbase transaction size over 8192 bytes or something like that.

kr1z1s
Posts: 5
Joined: Mon Apr 09, 2018 9:23 am

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 9:28 am

jtoomimnet BTC p2pool seems to have started to work again about 2 hours ago, at least on my nodes. I don't know why, unfortunately.

My best guess at this point is that the newer S9s don't support a coinbase transaction size over 8192 bytes or something like that.

Hello!

Asic is not related to the transactions, they do not reach to it. Records in coinbase are generated by a node, and the information is not sent through the stratum to asic.
My opinion is that there is a problem in the stratum p2pool server, specifically in the extranonce https://www.nicehash.com/help/patches-f ... bscription

Celebrimbot
Posts: 5
Joined: Sat Apr 07, 2018 11:13 am

Donate BTC of your choice to 1JL8YVyeuRdEUZYmQusEtuko6TciN7Aumy

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 9:44 am

Have I got the timing right here? It's back up almost exactly 3 days after going down?

Could it be a buggy share was generated that cause an issue until it dropped off the sharechain?

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 10:00 am

Asic is not related to the transactions, they do not reach to it. Records in coinbase are generated by a node, and the information is not sent through the stratum to asic.
My opinion is that there is a problem in the stratum p2pool server, specifically in the extranonce https://www.nicehash.com/help/patches-f ... bscription
Incorrect. The stratum protocol includes the coinbase transaction (aka Generation Transaction) plus the merkle path to the coinbase transaction, because mining hardware needs to modify the coinbase transaction in order to roll the extranonce values. Otherwise miners would be restricted to about 4 GH/s if they only can modify the nonce and the nTime values in the header. No transactions other than the coinbase transaction are included.

https://en.bitcoin.it/wiki/Stratum_mini ... ing.notify

By the way, if there were a problem with the extranonce support in p2pool, then p2pool would not work at all. Extranonce support is a basic feature for stratum for ASICs.

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 10:18 am

Here's an example of a stratum message that resulted in successful mining (from a PERSIST=False solo BTC node):

Code: Select all

{"jsonrpc": "2.0", "method": "mining.set_difficulty", "params": [1.0], "id": 195884064} {"jsonrpc": "2.0", "method": "mining.notify", "params": ["182955827428075749803548148877528253969", "e3609409ba8ea8d1ede921df2287aeb445ddceb60031f5b60000000000000000", "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff04039ee407ffffffff040000000000000000266a24aa21a9eda3a7365132626370d73d46ccf596bdc32eb8466e2f16970786bfc0d014cd057dfe665f00000000001976a91460379a6a0a13f18639b3e1c4b729d6e6a77791e388ac2710294a00000000434104ffd03de44a6e11b9917f3a29f9443283d9871c9d743ef30d5eddcd37094b64d1b3d8090496b53256786bf5c82932ec23c3b74d9f05a6f95a8b5529352656664bac00000000000000002a6a28a4c21aa137a380aab4d8708a588fe45b7a44ca02e438628b17941db3f4cfd3e500000000", "00000000", ["6d1141e38f88186370c2b93ff6261d2b71806a3d47ee98fb1a6be3b4d185f16e", "4dfd5eee31a256cdbac9593fde5f47f7b6dbc3176e922f3d20632ec1cb596a03", "9551271679f3e57c718da44c2288fdba067593c6e47ca9bdf4ad90c59a7a0b39", "171fa1245fdff417a46d626c7d0023e1876a69933bc62306da6293bbfc488c90", "83ea1431edb669bba613be156e3e8bcc8ddbaed1b8085159522bb657c74fafc7", "bf787356fdb3bfa898ae5d936d2eff77865c248f94efb372766327c811f5e686", "0f7cb4fbec9ccd72fa7070edb56232aa5c1ac77d9f27ca5c2a6dea3697a3b211"], "20000000", "17502ab7", "5aca8726", true], "id": 601823222}
Here's an example of a stratum notify message from the BTC p2pool while it wasn't working:

Code: Select all

{"jsonrpc": "2.0", "method": "mining.set_difficulty", "params": [2603.7972670780655], "id": 900862714} {"jsonrpc": "2.0", "method": "mining.notify", "params": ["211037449794551114934242333941638956556", "3fa4af3cf8c9440ef483dea80844be785cc77b45003bb1590000000000000000", "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0403c2e307ffffffffe50000000000000000266a24aa21a9edcf250737b8106bedaee6c38c28c5270a2a38535971611bc9f331478fd07fd8990c080000000000001976a91492e43f01820d141dd34f503bc9b08ae51a58d09488acfb110000000000001976a9147d352e74b390f54308575e33233240d142ac921788acaf170000000000001976a9140809d9e2b5011d4719efed4be816d072965493de88ace4290000000000001976a91458a447d8ae0c8f0ff4ea2d45b8b3571fdd2e629288acb8360000000000001976a914ff57c33261c40a4a8fbd775c3fabe434c7f3964888aca85b0000000000001976a91408dbc642e3bead2458311326a9e00bd50cdc34d788ace7690000000000001976a91499d4b43be25e0baf47a02cf8f42617c067d426b788acd4750000000000001976a914e4e32bcb5fbd2b3bb6f096c4a0220b687988626888ac7c910000000000001976a914c2c420dc7d821bc5a01ffa182346a7e9b5615aae88acd89d0000000000001976a91401145ec7b9926ca14d34f453749c60c93697d1df88accdbf0000000000001976a9145c8685fa186e4bcba07f7e158a9f651793ab77d988ac9ddb0000000000001976a914e310d9411fec8ae9a981729a2f2f2405444550e488ac87e30000000000001976a914bd9ecfdc1a1bbe3cd348fabdc8811384ea952fd388ac92e50000000000001976a9142b42c30630eca95cdd235199573bbd1c0a0bc96d88ac83e80000000000001976a914eac97d6d854d71b239d1c1849b4098c82c1f8a9a88acd2f30000000000001976a914d47f12e50a563d0d946ac785aea1bc3fef9f1f5788ac7ff90000000000001976a914c61d9a4bec7a35d31b993975c4095ab5aaeace7488ac2f1f0100000000001976a91495f4ceb712f705932fdf7fc9284cbe48a21bb3d888acec380100000000001976a9141abce1edc050d13972edd5323f76e28ea97e833288ac2b460100000000001976a914c056d0cdeffad940bc72ab523c5469b53849d9e088acc9ec0100000000001976a914f0c381d510736cb22203f295ad0a953fc678007288ac72110200000000001976a9144c04d90beacfb9f627058e624f9198a243a66a6b88ac671b0200000000001976a91479425c5c25f25d8ec890ace2f97eb7038a87960588ac27480200000000001976a914fd078bf33edb2d0a09f371983e96e20231b3c13b88aca45d0200000000001976a914be185698157861835ac419b880014ee18d4a49c288ac20b80200000000001976a914305c3a18ab406dd2071577cfd641b5aef2032ee888acb1ca0200000000001976a914cd7050e96fffa0fda98d0865c54eeeabe1b8594288ac4ed70200000000001976a914b8c99aefdadfe5bb86ad1ebc7a62d5b521d6f69288ac97240300000000001976a914bc8ebc9bf4dd513656dc405e37fa33f2af3c275088ac52780300000000001976a914f1b4d9ce11be04ef115865a5f7f37e0c05c3236288ac509a0300000000001976a914b137b78670e3e8131f4c9e7ef3b658dd35b68e6988ac6fae0300000000001976a91455f94a28584ab5369b0b73ae9187ef3f8a0933a488acd4e70300000000001976a9146fe43fb989debe78c23d2cde3a146fe66ad1cba588ac0df50300000000001976a9143cf4ecad7603984f060b1af8950ef53b77ad541388acdc2b0400000000001976a914f83ead6c37373d046af3274267e4849f89436f1188ac9f470400000000001976a914c50361a68ccf709ee36bbf378bfe05378c09912d88ace9550400000000001976a91447e7a00b8f446d7374790971843dcc59f52ed03f88acab8f0400000000001976a9148f3a86351f7912480708be72385426afc0dfdf9288ace4980400000000001976a914bf818e936f5cf9c77be115ca398e29ee88ab4e5788ac87ca0400000000001976a914ef510f898abf63878543d06d9d8ae811c396691088ac07e50400000000001976a914e5a907f126603d5b5cbff56907cf56ad55ca7f5088ac9e040500000000001976a9146ff5a23c08c8acab8e784671627abcb16c256bfd88ac67240500000000001976a91400896fd0063a497e0e6df1d1c8d95a4747f8d87988ac203d0500000000001976a91465fb3d3a77c507c491058418e41f37fabc80fba688ac99550500000000001976a914cdf50d6573a2d6baee806f0d6d813aec6b1fea3a88acf4620500000000001976a914e613159687eecbc4a65a4f31f7e8e52a11387d6688ac2cae0500000000001976a914196cc8087611fbab12b5613d921b3abc8eaf9de188ac05c90500000000001976a9147a7c915c394ee1543ec1c91b8af31c8265d915e088aca8e20500000000001976a914994956f39c3356c7146ddc3d12e928b720f631df88acc6180600000000001976a914fc10adb85b97524d3011698e4fcdac3edd02a33088ac5d370600000000001976a914a8ea79e4dee006d12feeea58b4ddfd870b4305b788acfb3f0600000000001976a914aaa59597632a1ca2ffa9b91ce23b9cd5cbcf20d188ac34420600000000001976a914800c208c2df3fecfd14ce090b3f8eb928223df7488ac46a50600000000001976a914b517b864925a1095d17f594e0a41448ef69a834d88ac86b60600000000001976a914a16e6bda3884627778762fe5934ec4abe112708788ac1ec10600000000001976a914301db9645f73c61282045b701fd7a3bc6611a46188ac5dee0600000000001976a9149782b3a19e5c6f31234fedd9f0c76f31a520f10388ac280f0700000000001976a914f02ac334363b4bd0e9936caf53023b9daa7c7d4b88aca8120700000000001976a91447448ddaea00af9d51d0adda729dac576aa3acb488ac3f2d0700000000001976a9143fa7b0a2f50e0170ad67326ce573593daf54e91488ac624f0700000000001976a914a5be630afecaa5703c76bfabf285ab626b8e6d0388ac88920700000000001976a91460127151d45520fd0defacc64681d53c2842501288acc6a40700000000001976a914baae8a129fe9ec59053455c22fc8ac2e48367b2e88ac4fd60700000000001976a914e038b606a8e899b3209c5a6a2d088c4403c21efc88acb7fb0700000000001976a91467a88b2f412b59a23b0d41694b697e394189844e88acb7110800000000001976a914349f5073a1b0a909e1ffa32686e167c86f76819c88acce460800000000001976a91468318e67dceb6b61a1e36e2b876a87ae5313bc3c88ac52830800000000001976a9143911d2ce796b1e1789614203bc4b8e960b525e1a88acb38b0800000000001976a9149713b5a4da640902d00b552389a3051f0cff724688ac41a10800000000001976a91497477a64ff4e43e7e4e10ee2c883a1dda656f19988ac9a130900000000001976a914770726c90fe47f24917ee373da16c7a059f731a488ac16160900000000001976a9145c673c85007facf19621280cb621aaec8d6639ef88acc5700900000000001976a91494bdc3ee8b015201b0cacc2412a53ebe9cb2e4f488ace2e60900000000001976a914c16bb6d5e526603d757820bbb3c2cacac2cc808888aca6f30900000000001976a9146b47487774d4303fd37bbf76221dca596538047588ac84080a00000000001976a914e0decfa78dfda65f8ea67d9a80abb5b242cbdff188ac3b2f0a00000000001976a9143fd470360435e64ebd7a9b1decdb09f68694b86088acf6460a00000000001976a91484642d48c1e23d17084f66cec654d710e532783088acf8560a00000000001976a914ff39fb421e58f00977846034e3a37d457f71294388acdd7e0a00000000001976a9146d432f51412b71d000818fdb86a72da69a18bfb688ac1c9c0a00000000001976a914b9c2fccd21e7b7e605ef0be4ba72ecddb2f7d04188ac96bc0a00000000001976a9143bc5096bd749327a21aabfe3cca2de857a7a697388ac0a090b00000000001976a9143d97437cf7a35c9a409accd86b3dc220ba5566c788ac62290b00000000001976a91483663f77d63e0f795083a2c5648550163cd3d6f088ac37570b00000000001976a914a12e903c6e7633bc620a7ad039f509c6eda00d5888acc4780b00000000001976a914c0ab5ce6777ea61d4b65572096c0907b58910b3088ac18c10b00000000001976a914742e2adaea7810c78124ff7664fc9cc5f8d42d2b88ac3b030c00000000001976a914d2f42f93943198b21cd0c0062e5372d9c244dbb388acf6030c00000000001976a9143744ac137b582c5963598381217bc300d67eca5f88acc50e0c00000000001976a91401a360bc1c1fb7c26e9aecaf52222db596dd716d88acdf0e0c00000000001976a914836eae694a76c262b93be1b2ac1c6b308fa8bb0588aca6240c00000000001976a914479530f4272fb85a74255c1759afed16bc3e691688acb03b0c00000000001976a914b9fdc9f1a03fc398161b8faf81f3b64cfc7f2e7988acb1650d00000000001976a91405cfedcf2c98d3852726b5b1a808a07912c3c11888acbd720d00000000001976a914829cc6e9adbba7898a2692eebfac4c29b35f925788ace9920d00000000001976a914f2e7c8bf05b557669dc6deb28d309335358a01b188ac49b70d00000000001976a9143e69c75cdcb8c8291056e64b74da94917ec2b81688ac9ac70d00000000001976a914d0568cd5ae52155a416d5173260c30ca7dc1380a88ac5fdc0d00000000001976a91477d40e697b46ce6842719960f12494d17f491a0988accdee0d00000000001976a914d67aecdc933e9f08d10363ad6e2b84e129a3f33a88acd2b80e00000000001976a9144f60421e04638b77bfcf53637c25c84490713a6888ac40eb0e00000000001976a914fd88f3e9d8145335635fe0e368b14b3f3b137c5b88acce190f00000000001976a914d70c12faf250806145cae7a410563eb15291b0b088acee810f00000000001976a914760b4a308b3af0a11cf06363b3a730a2f4b5fe3688ac7add0f00000000001976a9147f92ba76e7aa6dffe677370cdd1ec722e5d2e75c88ac51ec0f00000000001976a914e788699551e341b49a654d6882929beee733354988ace2541000000000001976a9144716cee0384746866c7e84784a7e7d15fa8e575088ac3d5a1000000000001976a9145d1969265c3858073917b075996a7214b5cb546b88ac62cd1000000000001976a9145c426e4bdc9b229fc2aa4b866dd7a1de2af1d9b188ac4a461100000000001976a914d1411e6ed46a64687af24ab40f394dda85b2484c88ac6b4f1100000000001976a914029e141d64f80112df059758598e20cf17c77efb88acd8951100000000001976a91406d6adee77cd9ed4d67926b39b098a7f95d5fc4d88ac3a031200000000001976a9142b8d7d313a63f24fc061f48c4bcf69b926d5e69288acae1c1200000000001976a9148a18977843f34226f31cc855af45e98f08a474c288acba651200000000001976a9149e0c9d8d260e898f14a94689ca8c1f77d7b762c988ac47701200000000001976a9144ab56eda4d73a57cf6e8011fcbd385aa9027694b88ac94791200000000001976a914becc1ea21b55678082c8b4a4b3fc4f6a01b5b97588ac839d1300000000001976a914366587122890633b0051310d3433aea350958ae988ac1cfe1300000000001976a914f8c0e3b3121709078e4442a151ec6cdc0ee184b588acdbff1300000000001976a9148e2cd8ac5e49e24f6bbe3560d816d4c8fff8badf88acfc791400000000001976a914e9c0d63f5f2aa29155f66655dac950dd69befe0188ac629e1400000000001976a9140f80c02510d2c4f169fb2da6f85e364ffdbdfaa588ac85bc1400000000001976a914bbdf13824d6e54a7545da4acfe6eb5a8c9e2c2ec88acb6c81400000000001976a914741d8c6751dd070dc87225f624b266967535b75388acb0db1500000000001976a914f4b1fd4885758901d7930e500b43485d154955ca88acf70e1600000000001976a91445d4d13fe54f41d638fefd13998f91c3de5d641e88acfd581600000000001976a9141fb3ddb68ffc0a1fd75743072bbb55142665c6fe88ac8ea11600000000001976a914ffd8446f28a8b16184f4abf23c85c972b934966c88ac3c351700000000001976a914577c6ed3450d2f27c0b701da79e2b78ba688f60788acaa581700000000001976a914411feae1177555e45410ea0afcbd938afb2259e788ac9a811700000000001976a91423fcc28b467513f127e5037cfa346e34b50cabc088ac12c41700000000001976a914d29eae00e6d41d5ebab05b9c30f52b7f1af1f87c88ac3f461800000000001976a9143549d3f97d9ab223a36002a4176b140822d9234d88ac124f1800000000001976a914be0de6670da9b293d684a1c1d298b13919f9e97988ac85a01800000000001976a9143365b14bcb4f56b0765198b0e960dc59d37c59e188acd2541900000000001976a914533e14be62b717c068a41789cf2609e794f75c2088ac92cb1900000000001976a91429c7d93df1d06c34e03b48b37062f73ad368e1d288ac58721a00000000001976a914081a03d6aadb3b1cda522d8fb33a4e44227f729988acebc81a00000000001976a914ccadd77f77e7a9928433fe819fbd6c6926c3cdba88ace3861b00000000001976a9141fe17385629e3b16d41fd0c48e285901f585465788ac7ddb1b00000000001976a9146770d69609f0c3d9b8297e645b14bc7f716b2c2988ac17091c00000000001976a91463c3571f07f385c2bff5521731098144c1b5baaf88acf7601c00000000001976a9149d847883805adcc940e7d59a78c3ce0b1465d50e88ac0f731c00000000001976a914275d4e624bb09f27daddf04c9b238eb265eed16b88ac2d781c00000000001976a91431c404e8b7a1ce5ccc3e8d597a59a9a5d9d1040f88ac0e001d00000000001976a914ac62e8f597dbbbb21810e7180b85e345bc7a57ad88acad141d00000000001976a91434ef8559790b7073811cf59dc84af076429d09b188ac6aac1d00000000001976a914bf1ba90133785298496d3f899f252ed50d62e19e88acf90c1e00000000001976a914283b9d704b740b3695556d3e5a3c9d5cd3e1106988ac11361e00000000001976a914ded0f0ca037bfcef4cc2ad09557ceb30a962c1f088aceb431e00000000001976a9144b390dc8a48b6af212f7f4d8287ba21596d2443e88ace2eb1e00000000001976a914bdcdefbb249dc3270ff2b958b7b0b5f41d6fc1f688ac25af1f00000000001976a91418c7a974509a4c909d4ea7550e6a1b8742654b5088ac14b11f00000000001976a914e9a4247b15b9a82866690345278cd39c2284f9ce88ac6db41f00000000001976a9142b8424b9b7881e1bf6cd89190dc91ac3817f418f88acd5ca2000000000001976a914290fdbd7e3ea21cbcaed82997616433439aa750e88ac09e72100000000001976a91460379a6a0a13f18639b3e1c4b729d6e6a77791e388aca8152200000000001976a9146228bb6d9d53426b759f9845bd56effc221091be88acf31d2200000000001976a9143a84bcad4e08f1934c4cbffb409a9bd2f765139188ac41b32200000000001976a9148734367b133ead208797db2514d1f16c3024148b88ac7aa72300000000001976a914fd5d0f713f649d72864c3b8839e2b439173a5b3d88acdeae2300000000001976a9146226c2ed7dc2e1debd6c4c454b2a527d3fd51cca88ac5bbd2300000000001976a914c46dd979fb466180e5180c3ce03a76c08950be0788acd4402400000000001976a914598d185dd59808a265dbef6c858cd7763df2c9e588ac5c372500000000001976a9148f8859fd87c36b85d11319b82e661898e5f8864088ac67592500000000001976a914049fa7271177a8573d15ebcf20c5f74b9a8b780388ac0f592600000000001976a914b97a1caa7ef8768d1944a6daf0b506e1d06331b088acac682800000000001976a91488a200b2c950b58a2bbbd298e5ed4d788f488a0488acb0f12800000000001976a9143060a3b313b43681d280a67688baabadfde0569088ac5cfb2800000000001976a914ebccd3780bdb7d66ff1f8bbabc83d8672284fe8c88acddbf2900000000001976a9146659740e0c78c094f7f30a6e497c0d2df67107c488ac30d52900000000001976a9147d10dc92a6bf2b8f18a00c65b679dc6209589f3188acc73d2b00000000001976a914f0c4524873d29ebeea8c992e9ca100ef8ab6507988ac39912f00000000001976a9142f837b2c8c361afd36725fbad0ead147c2564f1288ac5dde3200000000001976a9140bffe338eb64a9e32ff4d9a4dad1926410130b1088ac14553300000000001976a9145bc306bc93dff88c3c92666799db66703437639188ac157b3500000000001976a914b6ce88f89f707497af0ca7d71bc282d4d8d37d2888ac154d3600000000001976a9145f91fe1ec898dda316952dea1c477ae2389908fc88ac65373900000000001976a91451630da4cde6444db40548840c011ea21ad15a9a88ac8c283a00000000001976a914b6aebf3a116dc9b61b5eedbbb6c591e06f2aaaba88ac56993b00000000001976a9140ae6266ad2f6a6d13412f7ecbbf22045bb8b4b3588ac0f683c00000000001976a914c076b8b83ee3ce5d00da9e11d216c475bcab6cef88acfa7e3e00000000001976a91453a8aff5438842d989c861b6d8cae441d7f6388a88ac61c23f00000000001976a9140545d5310458c45876179ffd105742ac36425dab88aca9a44400000000001976a91412b813638a37d37e3742995fe87b6efa1c0ca48488acaada4600000000001976a91418571aadc02a6f467b8def6af76664ca27d71b0988acfb2f4a00000000001976a914a63adaf38ac0b88b09720494a63df639c110962688acda334c00000000001976a914549a361b0402a077387f3df6989fd3d3c6260c5388ac45c14c00000000001976a91486017f47e509e2532cda4da11c4d34312a4ebb0588ac2c624e00000000001976a914ba9b1976ea6ce61cf2ec2cb115cbcf030f5f0d2d88accba55100000000001976a91444c57b1d7f0020aee953399487654fdf09f7e1ff88acef795200000000001976a9149016a61dc15e1ba6cbaeed22c45f383645364fbb88ac0eae5400000000001976a914573feb0033c9dd10483881840c87c0c316ed2d8d88ac2fd55600000000001976a9144e81073d65315c09878fb9ef99771f78ca273fb288ac1a8c5b00000000001976a914228ad110f5ea0ef37c1f0dde160a753c045d6f0f88aced9b5b00000000001976a9149b5a01e2d9c304285befe2607eecff4e869be97988ac22c25e00000000001976a914784b6312f554f28da35d758ed5649aaeedb40ae988ac83236000000000001976a91405541ef58696527445f3b53e622af8f8a31f386c88ac9bde6500000000001976a914c22348180b6ddbb562ac4235bd7358b744af60e588ac4bf56500000000001976a9144fd0f8b6fe80f7bad188fc175f935aa01139827488ac72326700000000001976a91453bfbb1829387e06460448b232f1626fb0bc5f8c88ac72c16800000000001976a9141ad7d4a4f278c5ffac4e64c4ad942f512a8c6c5388ace5876a00000000001976a9146e7d0924c8194fde6b437725cff14b218ed8287488ac3c8b6d00000000001976a9141a0657ee9846aefe66f0e6504ee8ffb4b1ba725a88ac27fc6d00000000001976a9148780ce9b5cd879505fd5d14f55d9af77209f5c8688ac38767b00000000001976a914aef3032b81922d4c5f022338e1eb29310bdb496688acc8cc7c00000000001976a9147ae20dbd987c9d8663c8d79f2401c2d8a83fe74988acd0268e00000000001976a9141bb17bc1b38e79ba2e3b4b5de93d444ee95e1c5788ac4f3f8e00000000001976a914894010f368dd131d64b053f6874564699d624fc288ac99839100000000001976a914988ebf9c813ee27c0183280ad672fe91442168dc88ac000a9600000000001976a91405ffc9b453991ac93f60151f41be44d4f01b520788ac5bef9b00000000001976a9143977105047b331b29939fb1a180d8f856995685188ac91859c00000000001976a91475284c248459f34657812a1f38e334fed7b04cd888ac129aad00000000001976a914771a14c681ba25a76024b94ebb1fd958313e3e4788ac2f1dc700000000001976a9140d9899fb92ea4555a90f925d96cf82bed29a771288ac1200d900000000001976a91447b1b766389168021b71be0a04dd57ed4cff6f6a88accdb6e200000000001976a91456b907d2498b68ef6891ed667084810362ea922688acddba4101000000001976a914b7c46dbfe0aaafe18a7fef8a88020ba70401281c88ac872c5901000000001976a91466a0bbf251d7153812ade138d73a67f77245741988acb226a801000000001976a914e965ff55f96f9e4cdba268ec23c3c290018307be88acc07ff601000000001976a9141cf94b6a0aa7b4ad717c3fd19c47a4bb18df85f588ac8c632c02000000001976a9149777242ec87633cf7df07915fbd77c84787a3c8988acafc14802000000001976a914f0f87371d003f1e2db4d804dd86f8b8d440ec39b88ac0a56c302000000001976a914a4330b117a1d2ba09e85de912adc58760952b09188acc0b4d00e000000001976a914ae6a2f5b8268c54a9d1ac5d8a44551443240f3c388ac45c2ec12000000001976a914f5e8af4e09115b88772a738cd52f2847a874b66488acccfb000000000000434104ffd03de44a6e11b9917f3a29f9443283d9871c9d743ef30d5eddcd37094b64d1b3d8090496b53256786bf5c82932ec23c3b74d9f05a6f95a8b5529352656664bac00000000000000002a6a28f51920f47081cf6c2669aa6d8373ee659b21957785215fdaa9c6e2bf59c65e2104000000", "00000000", ["0650e4ed37398f8c2f4c9598650129055de253eb563f53ad65575182b4174f63", "b5a8063459a75508e09779bdcb41fd31e256100ae9332d0e094b2cd07d3ad14c", "ee6415e922d6bb4115c2b7ea8bdb391491093c7fbfa01a12609ba3d8ad060d9b", "704fca49195b128d609418c4d3799247a68ce0efe289368d150c7982d864598b", "7fae7a29d0c67afd0a0c338ea7e70749829c5783dc3dc5cd15d9711b858339f7", "6cc5dbfc09d8fdf44b65c24806aa453d6feb2d4eb1ff31af9d1912b25504d202", "15271589bffe24bd1f50293a99f370506a9eb8ea71120eb09cb6ad4a8ae0951f", "8c67a305ec70ef5205c33eef87d8483fc4cc8bbff575acc62a85b5e46343c6ff"], "20000000", "17502ab7", "5ac8b273", true], "id": 75843821}
These messages were captured by packet sniffing the TCP connection between my p2pool node and an S9. For some reason, the first message results in hardware mining happily, but the second message does not. The most obvious difference is that the second message is much larger due to all of the extra payout information that has to go into the coinbase transaction. The other difference is the difficulty, but I tried changing a few things with the difficulty and had no success there.
Last edited by jtoomim on Mon Apr 09, 2018 12:47 pm, edited 1 time in total.

sawa
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 20
Joined: Sat Feb 17, 2018 10:15 am

Donate BTC of your choice to 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET

Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 10:20 am

By the way, if there were a problem with the extranonce support in p2pool, then p2pool would not work at all. Extranonce support is a basic feature for stratum for ASICs.
But then the asics Baikal and sgminer dont connect with the p2pool until you turn off the extranonce

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 10:34 am

I think about such a thing. I see in the code - p2pool supports extranonce https://github.com/ilsawa/p2pool-jtoomi ... ork.py#L21
COINBASE_NONCE_LENGTH = 8
However, when you dig through sgminer, until you specify "--no-extranonce" it will not be digging.
Is it possible that the implementation of extranonce in p2pool is written incorrectly?
The --no-extranonce option in sgminer disables the use of the extranonce.subscribe stratum extension. P2pool does not support the extranonce.subscribe extension. Extranonce.subscribe is only useful for servers like Nicehash that act as middle-men between the miners and other pools. Needing to disable extranonce.subscribe with sgminer is normal and does not indicate an error with p2pool's extranonce support (which is working properly as far as I can tell) nor with p2pool's lack of extranonce.subscribe support (which p2pool doesn't need).

Normally with stratum, each miner receives one extranonce1 value when setting up the TCP connection and subscribing, and that extranonce1 value does not change for the lifetime of the TCP connection. This is fine for most usage of stratum, but if you want to be using your poolserver as a proxy or switchboard, then you may need to pipe stratum jobs received from other pools over the stratum connection to your miner, and those other jobs will usually have different extranonce1 values. If that's the case, you have a few options: (1) You can force a reconnection so that you can assign a new extranonce1 value to the miner (this is what Nicehash does without extranonce.subscribe). (2) You can get control of the other poolservers and force them to all use the same extranonce value (this is what Prohashing does), or (3) You can use the Extranonce.subscribe protocol extension to allow for the extranonce1 value to be updated without restarting the TCP connection.

The problem we have been having has nothing to do with Baikal miners, as this problem only affected the BTC p2pool, and the Baikal miners do not mine SHA256d.

sawa
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 20
Joined: Sat Feb 17, 2018 10:15 am

Donate BTC of your choice to 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET

Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 11:09 am

Thanks, it means that everything depends on the size of the coinbase transaction.
Therefore, we write to the developers of the asics. Miners who dig at my nodes have already contacted them

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 11:42 am

Thanks, it means that everything depends on the size of the coinbase transaction.
Therefore, we write to the developers of the asics. Miners who dig at my nodes have already contacted them
No, it means that we need to test the hypothesis to see if it's correct first.

misjuk
Posts: 4
Joined: Mon Apr 09, 2018 11:59 am
Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 12:05 pm

Thanks, it means that everything depends on the size of the coinbase transaction.
Therefore, we write to the developers of the asics. Miners who dig at my nodes have already contacted them
No, it means that we need to test the hypothesis to see if it's correct first.
Hi all! So where is the problem? some one says its on the asic, other side say its on the p2p. I was start mining on p2p about 6 weeks back... And it was perfect. But on friday i saw that all my S9 was disconnected from p2p, and then connected again and that few times. I decide to jump to BCH node, and when problem will be fixed i will come back to BTC. Its 3 days ago, but i cant see reply or some news is the problem is fixed? if check the graph on the other pool, i see that this problem was everywhere.. But it was fixes in fast time. But with p2p its 3 days ago now.. Can some one please explane, will problem will be fixed? Or need to find new pool? Thanks

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 12:35 pm

The problem has not been fixed. We don't yet know where the problem is. We just have guesses at this point. The problem went away for now, but it will probably be back unless we fix it first. The problem appears to be related to both the ASIC and p2pool.

sawa
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 20
Joined: Sat Feb 17, 2018 10:15 am

Donate BTC of your choice to 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET

Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 12:37 pm

The problem is not solved yet.
As a variant of a dirty solution - one owner does not need to divide his employees into several addresses, you need to dig into one address. This will reduce the size of the coinbase transaction

Tornado_Of_Coins
Posts: 2
Joined: Wed Mar 07, 2018 1:50 am

P2Pool address list

Mon Apr 09, 2018 1:20 pm

Jt, Ive been following your thread since you left bitcointalk and I noticed that one my address in my S9 is showing as dead. Do you have a list of your p2pool's? Sorry if this has been posted, I looked but I couldn't find it.

misjuk
Posts: 4
Joined: Mon Apr 09, 2018 11:59 am
Contact: Telegram

Re: P2Pool address list

Mon Apr 09, 2018 1:28 pm

Jt, Ive been following your thread since you left bitcointalk and I noticed that one my address in my S9 is showing as dead. Do you have a list of your p2pool's? Sorry if this has been posted, I looked but I couldn't find it.
Hi. I think this one is his stratum+tcp://jtoomim.crabs.pro:9334

misjuk
Posts: 4
Joined: Mon Apr 09, 2018 11:59 am
Contact: Telegram

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 1:33 pm

The problem has not been fixed. We don't yet know where the problem is. We just have guesses at this point. The problem went away for now, but it will probably be back unless we fix it first. The problem appears to be related to both the ASIC and p2pool.
I just have receive the answer from bitmain support. :

We are checking with the engineers and will get back to you as soon as we have more information.

So what for now we need to do? Can we come back to BTC p2p mining? Or need wait until problem will be fixed? Thanks

sawa
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 20
Joined: Sat Feb 17, 2018 10:15 am

Donate BTC of your choice to 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET

Contact: Telegram

Re: P2Pool address list

Mon Apr 09, 2018 1:54 pm

Jt, Ive been following your thread since you left bitcointalk and I noticed that one my address in my S9 is showing as dead. Do you have a list of your p2pool's? Sorry if this has been posted, I looked but I couldn't find it.
There is a scanner for p2pool nodes of the jtoomimnet network http://p2pool.top/scanner/btc-j/

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 3:31 pm

I'm trying to set up a side p2pool with a miner that mines a share using a different payout address each time to see if I can reproduce the bug.

yannarbraz
Posts: 5
Joined: Fri Mar 23, 2018 12:55 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Mon Apr 09, 2018 8:31 pm

ok, i've started my S9 on BTC jtoomimnet and it seems to be working fine ;)
i don't what the problem could had been, but during that time i'd tried to mine on BTC p2poolmainnet and the same problem was occuring on it
Strange how the bug had lasted for exactly 3 days, as you said it may happen again

jtoomim
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 135
Joined: Fri Nov 06, 2015 7:46 pm

Re: P2pool: Decentralized, DoS-resistant, trustless, censorship-resistant pool.

Tue Apr 10, 2018 11:16 am

I have replicated the problem on my test node by configuring my miners to use a different Bitcoin address for each share. The problem first occurred around when the coinbase transaction reached 225-227 outputs, which is similar to the peak number I saw on jtoomimnet while the problem was occurring. This corresponds to approximately 8 kB for the coinbase transaction size.

My guess is that someone on jtoomimnet decided to use the dynamic address generation feature of p2pool in order to obscure their identity and hashrate, and that that triggered the bug. If you have been doing that, please don't do that for now.

As a workaround hack, I have added a commit to 1mb_segwit that will print out the current number of coinbase transaction outputs (aka payment dests). That number is currently around 138. If it gets to 226 or close, I expect we will have another crash. If we get above 200 outputs, it might be a good idea to switch to a different pool.

A long-term solution may be to hard limit the number of outputs to 200 per block, and to pay people with small balances less frequently than once per block. Adding this change will be a hard fork, and will not be trivial to do. It might take me a couple of weeks to finish.

Return to “Pools”

Who is online

Users browsing this forum: No registered users and 1 guest