TX not found while trying syn.js index update reindex

71 Likes Comment
Blockchain index update issue

Problem:Duplicate “Time” in the rawtransaction rpc

Solution: Delete the line of file: src/rpcrawtransaction.cpp

entry.push_back(Pair("time", (int64_t)pindex->nTime));

Re-compile

the daemon wallet and remove previous synchronized data.

Another issue you’ll meet while running: node scripts/sync.js index update

Cannot read property 0 of undefined’ during initial sync/update.

And this is the workaround solution for your iquidus explorer.

I’ve had this issue and fixed it by changing the following line in explorer.js:
if (vout[i].scriptPubKey.type != 'nonstandard' && vout[i].scriptPubKey.type != 'nulldata') { 
to
if (vout[i].scriptPubKey.type != 'nonstandard' && vout[i].scriptPubKey.type != 'nulldata' && vout[i].scriptPubKey.hasOwnProperty("addresses")) {

You might like

About the Author: Toc Xoan

This guy likes taking photos, hunting cheap tours, exploring the unique culture of every cities of Vietnam. Contact: [email protected]. I've created a dogecoin wallet to receive blog funding: DE6F5FisSCy7yz5rpHY1ChMSGYnDMpFZ1Q

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.