Skip to content

Duplicate shares #16

Description

@1towia

Hello, I think there is a way to send duplicate shares to the pool that are accepted as valid:

By resending the "mining.submit" message with differents extraNonce2 (params[3]) in a way that it remain valid and don't alter the header.
To do this, It's possible to change the lasts characters of extraNonce2 by non hexadecimal characters.

I don't know if the pool pay for those invalid shares, I can't test right now.

https://github.com/z-classic/node-stratum-pool/blob/master/lib/stratum.js#L169
https://github.com/z-classic/node-stratum-pool/blob/master/lib/jobManager.js#L177-L187
https://github.com/z-classic/node-stratum-pool/blob/master/lib/blockTemplate.js#L116-L124
https://github.com/z-classic/node-stratum-pool/blob/master/lib/blockTemplate.js#L71

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions