Chia-Network / pool-reference

Reference python implementation of Chia pool operations for pool operators
Apache License 2.0
439 stars 197 forks source link

difficulty is for per harvesters? #264

Closed tommy4111 closed 2 years ago

tommy4111 commented 2 years ago

/update_farmer receives PutFarmerRequest which has no harvester_id. So updating difficulty here is not relevant if farmer has multiple harvesters correct? If so, just ignore suggested_difficulty request?

Only /post_partial has harvester_id.

Thanks

tommy4111 commented 2 years ago

Or single difficulty setting can be used for all harvesters for a farmer is fine? If I want a better plot_size estimation, then I would want difficulty setting per harvester?

tommy4111 commented 2 years ago

Looks like /get_farmer request response with the difficulty setting that farmer will respect. However, /get_farmer request contains no harvester_id, so we can't change difficulty per harvester.

Any ideas?

keliew commented 2 years ago

Looks like /get_farmer request response with the difficulty setting that farmer will respect. However, /get_farmer request contains no harvester_id, so we can't change difficulty per harvester.

Any ideas?

Apparently, that's by design. Discussion was in #pools on keybase.

mariano54 commented 2 years ago

Yes the difficulty is per farmer not per harvester.