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

Sync data crashed in the middle in Kurrent coin #63

Closed
kurrentproject opened this issue Dec 30, 2016 · 4 comments
Closed

Sync data crashed in the middle in Kurrent coin #63

kurrentproject opened this issue Dec 30, 2016 · 4 comments

Comments

@kurrentproject
Copy link

kurrentproject commented Dec 30, 2016

I set up an iquidus explorer for Kurrent (https://bitcointalk.org/index.php?topic=1691086.0), a zerocoin/X11 coin. When I sync data with sync.js (index update), everything goes on well until block 1257, where there's a vout[1], and it crashes:

1256: b2baf0dc884dcee7f56faae7e0b69a5db9d08165bfb5bfbe8709c5008df85df5
vout:0:bd70165c6ef524ba7cfff71403e72c1df285b9ab0c33f49a9e176429bcf31a43
1257: bd70165c6ef524ba7cfff71403e72c1df285b9ab0c33f49a9e176429bcf31a43
vout:0:887aded62f59bb442284259bc98283013be8c55037f120424ce9524f61f2616f
vout:1:887aded62f59bb442284259bc98283013be8c55037f120424ce9524f61f2616f

TypeError: Cannot read property '0' of undefined
at module.exports.syncLoop.arr_vout.(anonymous function).amount (/var/www/ht
ml/iquidus-explorer/lib/explorer.js:291:74)
at Object.loop.next (/var/www/html/iquidus-explorer/lib/explorer.js:189:18)
at /var/www/html/iquidus-explorer/lib/explorer.js:296:20
at Object.module.exports.convert_to_satoshi (/var/www/html/iquidus-explorer/
lib/explorer.js:25:12)
at /var/www/html/iquidus-explorer/lib/explorer.js:294:28
at /var/www/html/iquidus-explorer/lib/explorer.js:263:14
at Object.loop.next (/var/www/html/iquidus-explorer/lib/explorer.js:194:24)
at Object.module.exports.syncLoop (/var/www/html/iquidus-explorer/lib/explor
er.js:205:10)
at Object.module.exports.is_unique (/var/www/html/iquidus-explorer/lib/explo
rer.js:252:20)
at module.exports.syncLoop.arr_vout.(anonymous function).amount (/var/www/ht
ml/iquidus-explorer/lib/explorer.js:291:24)
at Object.loop.next (/var/www/html/iquidus-explorer/lib/explorer.js:189:18)
at Object.module.exports.syncLoop (/var/www/html/iquidus-explorer/lib/explor
er.js:205:10)
at Object.module.exports.prepare_vout (/var/www/html/iquidus-explorer/lib/ex
plorer.js:284:20)
at /var/www/html/iquidus-explorer/lib/database.js:141:17
at /var/www/html/iquidus-explorer/lib/explorer.js:393:14
at Object.loop.next (/var/www/html/iquidus-explorer/lib/explorer.js:194:24)

I tried to sync only with vout[0], but still there are similar errors after a few more blocks. Any suggestions? Thanks.

@kurrentproject kurrentproject changed the title Sync data crashed in the middle in Kurrent Sync data crashed in the middle in Kurrent coin Dec 30, 2016
@kurrentproject
Copy link
Author

this is where the Kurrent is minted into zerocoin, corresponding to a temporary destruction of the coin, where the explorer not working. Hope dev has a simple way to get around it.

@iquidus
Copy link
Owner

iquidus commented Jan 16, 2017

This is something I will need to look into further.

@zoincoin
Copy link

I have the same problem on Zoin coin. The script is locked on the first zerocoin transaction

@TheHolyRoger
Copy link
Collaborator

Duplicate of #56

@TheHolyRoger TheHolyRoger marked this as a duplicate of #56 Dec 25, 2019
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

4 participants