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

Error in scripts/sync.js on zcash coin #60

Closed
baldpope opened this issue Nov 1, 2016 · 7 comments
Closed

Error in scripts/sync.js on zcash coin #60

baldpope opened this issue Nov 1, 2016 · 7 comments

Comments

@baldpope
Copy link

baldpope commented Nov 1, 2016

Setting up a new explorer session to read ZCash block chain. Most everything has gone well, but recieving the following error on block 396 (each and every time)

/opt/zcash_explorer/explorer$ /usr/local/bin/node scripts/sync.js index check
script launched with pid: 5609

TypeError: Cannot read property 'scriptPubKey' of undefined
at /opt/zcash_explorer/explorer/lib/explorer.js:310:18
at Object.loop.next (/opt/zcash_explorer/explorer/lib/explorer.js:194:24)
at Object.module.exports.syncLoop (/opt/zcash_explorer/explorer/lib/explorer.js:205:10)
at Object.module.exports.prepare_vout (/opt/zcash_explorer/explorer/lib/explorer.js:284:20)
at /opt/zcash_explorer/explorer/lib/database.js:141:17
at /opt/zcash_explorer/explorer/lib/explorer.js:392:14
at Object.loop.next (/opt/zcash_explorer/explorer/lib/explorer.js:194:24)
at /opt/zcash_explorer/explorer/lib/explorer.js:378:22
at Object.module.exports.convert_to_satoshi (/opt/zcash_explorer/explorer/lib/explorer.js:25:12)
at /opt/zcash_explorer/explorer/lib/explorer.js:376:30
at /opt/zcash_explorer/explorer/lib/explorer.js:263:14
at Object.loop.next (/opt/zcash_explorer/explorer/lib/explorer.js:194:24)
at Object.module.exports.syncLoop (/opt/zcash_explorer/explorer/lib/explorer.js:205:10)
at Object.module.exports.is_unique (/opt/zcash_explorer/explorer/lib/explorer.js:252:20)
at /opt/zcash_explorer/explorer/lib/explorer.js:374:26
at /opt/zcash_explorer/explorer/lib/explorer.js:358:20

@baldpope
Copy link
Author

baldpope commented Nov 1, 2016

Is it possibly erroring out because there are too many transactions tied to this particular block? I bumped the TX in settings.json and it's now showing 400. Going to bump this number again and re-run. Any thoughts would be greatly appreciated though.

@baldpope
Copy link
Author

baldpope commented Nov 1, 2016

no luck, only other error is this:

/usr/local/bin/node scripts/sync.js index update
script launched with pid: 5754
tx not found: c4eaa58879081de3c24a7b117ed2b28300e7ec4c4c1dff1d3f1268b7857a4ddb

Continues to die on block 396.

@WaveringAna
Copy link

WaveringAna commented Apr 4, 2017

Block 396 is where the first joinsplit happened and its trying to read the output, which there is none

@cryptorex
Copy link

was this ever fixed, if so, how?

@DeckerSU
Copy link

DeckerSU commented Nov 5, 2017

@baldpope , @cryptorex Try to use this fix .

@cryptorex
Copy link

thanks for responding @DeckerSU I used this cryptorex@267a0df

@TheHolyRoger
Copy link
Collaborator

Dup of #56

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

5 participants