Here is a list of error codes that may result from the validation of shares submitted by the miner:
- 20: Invalid nonce size
- 21: Invalid job id
- 22: Duplicate share
- 23: Invalid rolling time
- or Invalid ntime (rolling time not allowed)
- 24: Invalid extranonce2 size
- 25: Invalid share
- 26: Low difficulty share
- 27: Invalid extranounce2 suffix
- or Invalid nonce2