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

Not all transactions are exported #3

Open
bschi opened this issue Mar 27, 2021 · 5 comments
Open

Not all transactions are exported #3

bschi opened this issue Mar 27, 2021 · 5 comments

Comments

@bschi
Copy link

bschi commented Mar 27, 2021

The script works very well. Thanks a lot! Unfortunately not all transactions are exported. My account has 25,467 transactions. Exported are 6,864 rows in the Excel.

Can this be fixed?

@ColonelJ
Copy link
Owner

Hi, thanks for your report. Where did you get the number of transactions 25,467 from? (The script or e.g. Tronscan? If it was the script you should note that internal transactions are not included in the CSV.) Did you look into which transactions were missing from the CSV? Are the same ones missing if you run the script again?

@bschi
Copy link
Author

bschi commented Mar 28, 2021

Hi,

Thank you very much for the quick reply.

It is this wallet:
TC85bGQQxrEBs5prnXgKZaX7RYUvjsDjRu

Tronscan shows:

  • Created: 2018-07-16 18:07:36 (Local)
  • Transactions: 25,468 Txns

Definitely missing transactions prior to November 12, 2018.

Here a transaction for example:
https://tronscan.org/#/transaction/948fa617c39b5256034600b6df28eec3835919ff1526dd0db88c1d399163a01f

As a download, I would need a complete list of all transactions. Is this possible with the script?

@ColonelJ
Copy link
Owner

Hi, I found the problem: TronGrid sometimes says it's got to the end of the transactions when it hasn't. I put in a hack to try downloading the same page of transactions again 4 more times to be sure it is actually the end. Anyway it seems to work, I got the following output for your wallet (snipped):

...
Downloading at timestamp 1540186488000 [Mon Oct 22 2018 06:34:48 GMT+0100 (British Summer Time)]
Received end of data, requesting again to confirm
End of data not confirmed, continuing download!
Downloading at timestamp 1540142445000 [Sun Oct 21 2018 18:20:45 GMT+0100 (British Summer Time)]
Downloading at timestamp 1539150621000 [Wed Oct 10 2018 06:50:21 GMT+0100 (British Summer Time)]
Downloading at timestamp 1535633442000 [Thu Aug 30 2018 13:50:42 GMT+0100 (British Summer Time)]
Downloading at timestamp 1535001564000 [Thu Aug 23 2018 06:19:24 GMT+0100 (British Summer Time)]
Received end of data, requesting again to confirm
Downloading completed! (Got 36147 transactions)
Processing 24297 non-internal transactions
Looking up TRC10 ID 1003406...
...

The last line of the CSV is the transaction you mentioned:

948fa617c39b5256034600b6df28eec3835919ff1526dd0db88c1d399163a01f,,1531757259000 [Mon Jul 16 2018 17:07:39 GMT+0100 (British Summer Time)],TransferContract,TAUN6FwrnwwmaEqYcckffC7wYmbaS6cBiX,TC85bGQQxrEBs5prnXgKZaX7RYUvjsDjRu,29999.000000,TRX,Tronix,_

So I think that means it's working. Note that the transaction count still doesn't match Tronscan, but I think that's because Tronscan includes some transactions that aren't to/from your wallet, so the count is wrong on Tronscan (I hope). Feel free to look into that further.

By the way, I applied the same fix to my other script at https://github.com/ColonelJ/tron-transfers-downloader

@bschi
Copy link
Author

bschi commented Mar 30, 2021

Thank you very much, it works. I realized in the meantime that I had opened this report in the wrong repository. I will test this extensively in the coming days.

@bschi
Copy link
Author

bschi commented Apr 17, 2021

The script worked since I tested it. Now it is not working anymore. I have opened another issue. Could you please review? :-)

ColonelJ/tron-transfers-downloader#5

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

2 participants