farmr icon indicating copy to clipboard operation
farmr copied to clipboard

Suggestion: Change "last block X days ago" to "last proof X days ago" and specific to harvester

Open Qwinn1 opened this issue 3 years ago • 7 comments

Prior to v1.2.0, the Nodes card never reported more than 8 or so nodes. Now it's up to 50 on my farm.

Let me say I realize it's entirely possible this is completely correct and legitimate. I suspect it's possible that previously it was only reporting outbound nodes, and now (perhaps due to more verbose logging in 1.2.0) it is now also counting inbound node connections, which I believe can go up to 80 per the default config.yaml.

Just thought I'd mention it as something you might want to look into. And if I'm right in my suspicion, it might be worth having the card report outbound and inbound as separate values instead of a sum, if it's possible to distinguish them in the logs.

Oh, let me also add that everything else Farmr related is working beautifully under 1.2.0. No other issues to report at all.

Qwinn1 avatar Jul 08 '21 19:07 Qwinn1

Thanks for reporting it. It doesn't get nodes from logs. It gets them from chia show -c I believe. Is port 8444 forwarded in your device? 8 used to be the limit for non-forwarded nodes, not sure if they increased it in 1.2.0

gilnobrega avatar Jul 08 '21 20:07 gilnobrega

I don't have it forwarded, no.

Oh, while I'm here, let me throw another suggestion out. If you look under any "Expected Time To Win" under any harvester or farmer, the "last block X days ago" is reporting the last block won by any harvester in the network. So if I win one today, that stat under every harvester goes to "last block 0 days ago". It would be quite helpful if that could, with some clever log parsing, report when that harvester last won a block, or perhaps more accurately, found a proof.

I only bring this up because, probably by coincidence, the last chia proof and 3 flax proofs were all won by the same harvester out of my 4. If that were to return proofs won by that specific harvester, I would've become aware of that anomaly sooner rather than only by manually digging through the logs to find which one actually found the proof for each block as I win them. It would be useful to alert the user as to which harvesters are definitely working correctly and which may have issues.

Qwinn1 avatar Jul 08 '21 20:07 Qwinn1

Oh, as for the nodes thing, I just checked and, yeah, wow, the much higher number of nodes IS showing up in chia show -c, and for that matter they're also appearing in the GUI Full Node tab as well. Pretty darn long list now (up to 70 on my chia farmer). They must have upped that a great deal. Either that or unlocked it for non-forwarded farmers.

Qwinn1 avatar Jul 08 '21 20:07 Qwinn1

Aaaand correction on my ETW suggestion. Looking closer, it appears that "last block X days ago" only shows a non-zero value for X on the Farmer and Farm, and always "last block 0 days ago" on harvesters, regardless of when the last proof was found on any harvester. I revise my suggestion to let it be "last block X days ago" on the "Farm" entry, and "last proof X days ago" for each of the individual farmers/harvesters. Or just make them all "last proof X days ago" on all of them, even the Farm entry (though that one would be the most recent of all harvesters), if that's easier for you.

Qwinn1 avatar Jul 08 '21 20:07 Qwinn1

Since the nodes question was effectively answered, figured I'd change the title to the outstanding issue

Qwinn1 avatar Jul 08 '21 21:07 Qwinn1

Oh so this explains why effort is not working for most people farming with poolable plots

gilnobrega avatar Jul 09 '21 23:07 gilnobrega

Noticing something interesting on my Flax tabs. I won a couple of proofs on my Windows harvester today, and the overall Farm tab is correct in saying "last block won 0 days ago". On the Farmer tab for my Ubuntu Farmer, though, it says won last block 3 days ago... which is almost correct, in that the last proof I got by the harvesting being done by that Farmer was something like 4 days, 2 hours ago. If it is in fact reporting on the proof found 4 days ago by that specific harvester, I would presume based on the log file, then it is that functionality that I'm being asked to be extended to each harvester. (My windows harvester which won blocks today is saying "Started farming X days ago", so it's not recognizing those won proofs.) At any rate, I thought the fact that the Farm and Farmer tabs were mostly accurately reporting different values for last block won X days ago was interesting and might be helpful.

EDIT: ARGH, never mind, I misread it... the Farmer tab says ETW 3 days, last block won 0 days ago. So, no, they're not reporting different values. I'll leave this up since it might help illustrate what I'm hoping for better, but I'm just an idiot.

Qwinn1 avatar Jul 12 '21 21:07 Qwinn1