|
const uint16_t share_rnd = upk_u16le(share_hash, 0); |
This is deterministic, and a pool could potentially infer a client side reward split when that may not be desirable.
Suggest creating a random key of sorts to base the above variable on to XOR with. Can either be set and occasionally rotated, or a pseudorandom feedback mechanism based on an initial random key, provided it's random enough to not affect the actual reward splits.