Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dagurval/doublespend.cash]: Use date+number to derive double spend hash #38

Open
chaintip opened this issue Jun 25, 2018 · 0 comments
Open

Comments

@chaintip
Copy link
Owner

chaintip commented Jun 25, 2018

Repository: dagurval/doublespend.cash
Issue #2: Use date+number to derive double spend hash

I thought about using the json-api of doublespend.cash to collect information about double spends and create statistics.

To do so I need to know the url before querying the api. With urls like
/txdata/cc4d87dc905b913ef4af8020e54f6dfda4a3017e.json
it seems impossible to write the program (at least for me :)
If you however derive the hash from something like date+number - for example: 2018062501, 2018062502 etc. - you can easily query the json-api to collect data about doublespends.

@GitCash send 0.005 bch to @dagurval

Update: I think it is this line:
"h.update(txid_first.encode() + txid_second.encode())"
in this file
https://github.com/dagurval/doublespend.cash/blob/master/respend/txdata.py

I guess replacing it with (date+k) requires some kind of loop to count k ...


Total Bounty: 0 BCH| ~ 0.00 USD

To claim this bounty, get a pull request merged with @chaintip fixes #2 in the creation comment.

Returned Tips:

  • 0.0149966 BCH| ~ 6.16 USD from dagurval returned 2 years ago.
  • 0.00018621 BCH| ~ 0.08 USD from gitcash_testtip_30 returned 2 years ago.
  • 0.00018621 BCH| ~ 0.08 USD from gitcash_testtip_29 returned 2 years ago.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant