You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, so I went through your module and looks like it would be possible to reuse single ID several times. I know this was due my original PHP example having same issue.
There are two ways of passing hashcashid - either autogenerate (default behavior), or use some kind of CSRF token, or somehow track which ids were already used.
But /api/checkwork provides easier solution for random IDs. Each time your run checkwork call it will set "verified" to true and next time you check work you can see that this work was already verified before. To get better understanding check Node.js example on home page. I am going to update PHP/Ruby examples soon too.
Let me know if this does not make any sense and I'll try to explain or maybe try write some python :))
The text was updated successfully, but these errors were encountered:
Hi, so I went through your module and looks like it would be possible to reuse single ID several times. I know this was due my original PHP example having same issue.
There are two ways of passing hashcashid - either autogenerate (default behavior), or use some kind of CSRF token, or somehow track which ids were already used.
But /api/checkwork provides easier solution for random IDs. Each time your run checkwork call it will set "verified" to true and next time you check work you can see that this work was already verified before. To get better understanding check Node.js example on home page. I am going to update PHP/Ruby examples soon too.
Let me know if this does not make any sense and I'll try to explain or maybe try write some python :))
The text was updated successfully, but these errors were encountered: