Skip to content
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

Support reward notifications for more scenarios #167

Closed
dvic opened this issue May 22, 2021 · 5 comments
Closed

Support reward notifications for more scenarios #167

dvic opened this issue May 22, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@dvic
Copy link

dvic commented May 22, 2021

I believe that if you follow the best practice of using a separate (offline) wallet (describe here https://github.com/Chia-Network/chia-blockchain/wiki/Good-Security-Practices-on-Many-Machines#keep-your-wallet-separate) you won't get notified (because the wallet logs won't contain the lines for the correct wallet)? Maybe it's a good idea to have a separate notification for when you have won and another one that watches the wallet logs?

@martomi martomi added the enhancement New feature or request label May 23, 2021
@martomi martomi changed the title support win notification when keeping wallet separate Support reward notifications for more scenarios May 24, 2021
@martomi
Copy link
Owner

martomi commented May 24, 2021

I'll hijack that issue and generalise it a little so that we have the full context in the same place.

The XCH notifications currently work only in the following scenario:

Running full node + harvester + wallet on the same machine and receiving rewards on that same wallet.

These notifications are just a bonus on top of critical alerts in monitoring your harvesters, so resolving that won't be a priority from my side but contributions are welcome.

@martomi martomi self-assigned this May 24, 2021
@martomi
Copy link
Owner

martomi commented May 24, 2021

The low hanging fruit here is to bring back the "Found proof" notifications. I'll do that even though a found proof doesn't guarantee an actual reward. It's the best we can do that works for all possible setups.

martomi added a commit that referenced this issue May 24, 2021
closes #167
closes #182

The wallet events that were supposed to replace these notifications do
not work in many of the scenarious that chiadog operates in.

This commit reverses the removal of the found proof notifications.
@martomi martomi closed this as completed May 24, 2021
@martomi martomi reopened this May 24, 2021
@dvic
Copy link
Author

dvic commented May 25, 2021

Having the "found proof" notifications are enough for me for now. Thanks!

@Ganbin
Copy link

Ganbin commented Jul 26, 2021

Hi,

Since we have the official pool protocol, finding proofs doesn't give much more info if we have found a block with a reward destination inna separated wallet.

The only usefull information in this case I have found in the debug log was this line :

2021-07-24T16:01:42.245 full_node chia.full_node.full_node: INFO     Starting to make the unfinished block
2021-07-24T16:01:42.255 full_node chia.full_node.full_node: INFO     Made the unfinished block
2021-07-24T16:01:42.328 full_node chia.full_node.full_node: INFO     🍀 ️Farmed unfinished_block 409126291baa2debe79099cff716ac0aedc451354105ed2667dc1ddfed3d8be0, SP: 42, validation time: 0.04041004180908203, cost: 202394374

Could we consider to add such parser?

@Ganbin
Copy link

Ganbin commented Jul 26, 2021

Actually the answer in #252 (comment) would solve this issue.

Hope this will come soon :)

jinnatar pushed a commit to jinnatar/chiadog that referenced this issue Feb 5, 2023
closes martomi#167
closes martomi#182

The wallet events that were supposed to replace these notifications do
not work in many of the scenarious that chiadog operates in.

This commit reverses the removal of the found proof notifications.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants