-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pool Support: Correct handling of partial proofs #252
Comments
We could perhaps monitor log for "farmed unfinished_block" instead of "found X proof" |
I was so happy when i received this ‘ ℹ️ Chia HARVESTER Too bad it was just a false positive, based on the 100’s of additional proof-found messages that came in afterwards 😃 |
+1 here - Chiadog used to be discreet but with the partial proof found notifications, it is barking so much that my Telegram bot is now spammed ;) I believe that the partial proofs could be simply mentionned in the daily report. |
Until we have changed the default behaviour, you can comment / delete this line:
|
Thanks. This seems to work fine for a temporary solution. |
I was thinking of just counting the partial proofs and report them daily. That shouldn't be hard to code |
The very next log event after a partial proof should contain something like Then a special exception needs to be put into the activity handler which waits to append the Proof event until the next line has been checked. I believe @springjools has volunteered for the pull request 😜 |
I'll try, but it's 28 °C outside and inside so my brains works slowly |
One thing: I'm not sure if the farmer submits a partial to the pool if the proof actually creates a new block. Unfortunately I would have to wait checks notes .. 1 year and 10 months before I could confirm that in my logs. Perhaps someone can get hold of the logs for a block forming proof so we can compare? |
@kilbot One thing you may want to think about is that if a user is using DEBUG as their log level then the |
Could someone please post some log files with partials (preferably in debug mode as @btbamman989 suggested) |
Logging level INFO is required for Chiadog to work at the moment. |
Harvester and farmer logs in INFO mode from the one minute with 3 partials
|
Interesting option.. the logfile wouldn't get too verbose if using DEBUG mode? |
Thanks for the log, @okkar, that's helpful. And I see what you are saying now, @btbamman989, scanning multiple lines is not going to work because it can be inconsistent. So, I'm changing my suggestion to:
Is anyone lucky enough to have farmed a block for a pool so we can confirm that log message? |
I agree with the above suggestions, it's better than what I was going to suggest, which was to make an own counter from scratch |
I have a work-in-progress implementation with parsing Farmed block and submitting partial https://github.com/kanasite/chiadog/tree/farming-log |
the default behavior proof/partial notification will be disabled |
example of daily stats: ℹ️ Chia DAILY Received ☘️: 0.0000005 XCH
|
Is it ready to test it on a live environment? |
I added for my own usage, then it came across make me thinking if Submitting partial is worth noting since it's not much different from a found proof. |
Keep in mind that some people will be solo farming plus pool farming (possible to multiple pools). I agree that there is no point duplicating information, but we also want to make sure important debugging info is surfaced. I'm still unsure how How about something like: chia DAILY Hello farmer! Here's what happened in the last 24 hours: Received : 0.0000005 XCH Proofs : 100 found! - 58 partials submitted to pool.url - 42 partials submitted to pool2.url - 0 blocks created Search : - average: 0.20s over 9332 searches - over 5s: 144 occasions (1.5%) - over 15s: 0 occasions (0.0%) Plots : 1524 Eligible plots : 0.21 average Skipped SPs : 11 (0.12%) |
The release 0.7.0 including this change is now out! |
Great job! Thanks a lot!!! |
When farming for a pool using the new pool protocol, chiadog triggers hundreds of "found proof" notifications per day, because your farmer finds proofs for partials (low difficulty solutions for a pool) all the time.
This gets you a lot of messages by a telegram bot for example. ;)
Suggestion: Teach chiadog to differentiate "normal" proofs from partial proofs and disable partial proof notifications. Daily notifications about partial proofs should be sufficient. Or just make proof notification deactivatale.
The text was updated successfully, but these errors were encountered: