Kudaraidee / yiimp

Crypto mining pool
61 stars 116 forks source link

solo doesn't work #58

Closed seoseo29 closed 1 year ago

seoseo29 commented 1 year ago

Hello, I installed the pool, everything beckons, I set the password for SOLO c = FEAT,m= solo, but solo does not charge, but charges prop, something needs to be configured separately?

xiaolin1579 commented 1 year ago

YAAMP_FEES_SOLO in /var/web/serverconfig.php

seoseo29 commented 1 year ago

there is a parameter of 1, solo does not work, what should I put? define('YAAMP_FEES_SOLO', 1);

xiaolin1579 commented 1 year ago

/var/web/yaamp/core/backend/blocks.php https://github.com/Kudaraidee/yiimp/blob/dev/web/yaamp/core/backend/blocks.php#L96

itsgudenuf commented 1 year ago

I set this in my /var/web/serverconfig.php define('YAAMP_FEES_SOLO', 0.0);

It seems to work fine. It was 0.5 which worked.

When I change these settings, I already restart memcached and php7.3-fpm

xiaolin1579 commented 1 year ago

I set this in my /var/web/serverconfig.php define('YAAMP_FEES_SOLO', 0.0);

It seems to work fine. It was 0.5 which worked.

When I change these settings, I already restart memcached and php7.3-fpm

yes, solo fee 0.5%

seoseo29 commented 1 year ago

solo should be 99% [url=https://ibb.co/M6B0WpY][img]https://i.ibb.co/xHFTPGp/2022-09-25-14-31-10.jpg[/img][/url] [url=https://ru.imgbb.com/]jpg bmp gif[/url]

xiaolin1579 commented 1 year ago

solo should be 99% [url=https://ibb.co/M6B0WpY][img][https://i.ibb.co/xHFTPGp/2022-09-25-14-31-10.jpg[/img][/url]](https://i.ibb.co/xHFTPGp/2022-09-25-14-31-10.jpg%5B/img%5D%5B/url%5D) [url=https://ru.imgbb.com/]jpg bmp gif[/url]

make sure he actually found block

seoseo29 commented 1 year ago

I've tried everything, solo doesn't work

xiaolin1579 commented 1 year ago

Did you put m=solo on all machines?

seoseo29 commented 1 year ago

yes, c=FITA,m=solo

xiaolin1579 commented 1 year ago

There seems to be some bug in clearing worker solo from block share.

xiaolin1579 commented 1 year ago

This allows solo users to still receive shares from shared users, but shared users will not receive shares from solo users.

seoseo29 commented 1 year ago

can I fix it?

xiaolin1579 commented 1 year ago

https://github.com/Kudaraidee/yiimp/commit/1173628e7c1de71d6a2b980f5dc29938984a54d6