Reduce Stale Shares Là Gì – Hội Chia Sẻ Kinh Nghiệm Chăn Trâu Ba Miền

When I mine at a pool, only a part of my shares are accepted. There is a small percentage which is marked as stale.Bạn đang xem: Stale shares là gì

As far as I know I only get paid for accepted shares, so what are these stale shares and how can I avoid them?

*

*

Stale shares are the shares that were sent after a block was already solved, that is to say, they were sent late and were no longer valid. To avoid stale shares, best to have a reasonably fast mining rig (so you won”t take too long to calculate a share, probably not a problem for most machines), reliable internet connection (stable, not necessarily fast), but also an up-to-date mining software (if you are mining with some really old miner it might not communicate in the most efficient manner with the pool).

Đang xem: Stale shares là gì

Bạn đang xem: Stale shares là gì

In short – update your miner every now and then, make sure your internet is running okay, and don”t mine on really weak rigs.

Share Improve this answer Follow answered Oct 7 “11 at 22:28

*

ThePiachuThePiachu 42.3k2020 gold badges130130 silver badges337337 bronze badges Add a comment | 23A stale share occurs when you find a share and submit it to the mining pool after the pool has already moved on to the next block. The percentage of stale shares should be very low if everything”s working correct, around 2 out of 1,000 shares or so.

Several factors affect the stale share rate. The three most important are long polling, pool load, and miner-to-pool latency.

Tham khảo ngay  Hướng Dẫn Cách Sử Dụng Olymp Trade Để Mang Lại Lợi Nhuận Cao Nhất

Xem thêm: Bộ Vi Sai Là Gì – Những Điều Cần Biết Về Bộ Vị Sai Ô Tô

When the long polling notification goes out, all miners that support long polling request new work units at about the same time. This generates a massive burst of load as the pool has to manages lots of network traffic and do several SHA-256 operations for each share it issues. If the pool is slow to issue you a new work unit, the window in which you can generate stale shares increases.

The long polling and subsequent share request process requires a few network operations. Latency between the miner and the pool can slow this process down. Picking a pool with a controller near you (network wise) can reduce this part of the stale share window as well.

In addition, some pools have had bugs in their software that produced stale shares. The pool checks if the share is stale by seeing if it has a record of the work unit and clearing all work unit records when the chain changes. So if something goes wrong with the work unit tracking process, that will result in a stale share being reported.

Xem thêm: Thời Gian Các Phiên Giao Dịch Forex Theo Giờ Việt Nam 2021, Các Phiên Giao Dịch Forex Theo Giờ Việt Nam 2021

I probably shouldn”t admit it, but I was actually responsible for one such bug. My first implementation of long polling in the phunutiepthi.vn client rushed as quickly as possible to send out the notifications of a new block being discovered to miners — so quickly that some miners could request new work units before the client had finished processing the new block and they got work units based on the old block. Any shares they submitted based on those work units would be reported as stale.

Rate this post

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Back to top button