madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 664 forks source link

Pool public key: None - Plots do not show up in pool #951

Closed forReason closed 2 years ago

forReason commented 2 years ago

I am plotting newly in ubuntu. In windows I did not have any issues with the same command.

Issue: Plots do show up in chia farm summary but not online in space pool.

chia plots check reveals:

2021-09-28T11:32:42.843  chia.plotting.check_plots        : INFO     Testing plot /mnt/plotfield2/plots_pooling/plot-k32-2021-09-14-20-23-c3ba2a4b34c3dfc0bf0c3db2a6d2ee276689b66a9a7a2dcf1461d3b676e25a7f.plot k=32
2021-09-28T11:32:42.843  chia.plotting.check_plots        : INFO        Pool public key: None
2021-09-28T11:32:42.852  chia.plotting.check_plots        : INFO        Farmer public key: [censored]
2021-09-28T11:32:42.852  chia.plotting.check_plots        : INFO        Local sk: <PrivateKey [censored]>
2021-09-28T11:32:43.072  chia.plotting.check_plots        : INFO        Looking up qualities took: 219 ms.
2021-09-28T11:32:43.572  chia.plotting.check_plots        : INFO        Finding proof took: 501 ms
2021-09-28T11:32:43.730  chia.plotting.check_plots        : INFO        Looking up qualities took: 158 ms.

I notice that there is no pool public key. Is this normal?

the plots are beeing plotted using the following command:
./chia_plot -t $tempdir1 -d $target1dir -n -1 -r 8 -w -c [pool contract] -f [farmer key]

madMAx43v3r commented 2 years ago

Make sure -c argument is correct.

GT-CK commented 2 years ago

I accidentally plotted a bunch of plots as solo farming, to debug I used chia plotnft show to see if the number of plots for the NFT match the total expected... when it did not I used chia plots check to find the plots with a Pool public key (i.e. solo farming), however if you have not used the correct contract address, that may be harder to spot due to this outstanding enhancement: https://github.com/Chia-Network/chia-blockchain/issues/8030

forReason commented 2 years ago

So The issue is not related to madmax. It is (I guess) a chia bug. As this was the farmer, I did not have a wallet synched. The Wallet needs to be synched at least to your nft block! Even on a farming only machine.

altendky commented 2 years ago

A system that did not create the nft does learn about it by syncing the wallet through the blocks that the nft was created and modified in. Perhaps you want a harvester rather than a farmer? they don't require any keys or wallet and instead connect to a farmer with the keys and wallet/nft. https://github.com/Chia-Network/chia-blockchain/wiki/Farming-on-many-machines