Comments (3)
Sorry, this a
Due to a already fixed problem on bitcore. Can you use the github version
of bitcore? Will update the package soon. You can continue the sync after
updating bitcore (run without -D)
On Sunday, June 1, 2014, thedawnrider [email protected] wrote:
I'm trying to sync the insight database for a testnet instance and the
sync process crashes at about 80% through.I've tried util/sync.js -D and it always crashes at the same point in the
sync.It seems like this is happening in a multisig transaction (from the
stacktrace below):
bitcore/lib/Address.js:122
Almost certainly this onehttp://test.insight.is/tx/2c63aa814701cef5dbd4bbaddab3fea9117028f2434dddcdab8339141e9b14d1
I'm afraid that's as far as I could get debugging this issue.
The stack trace from the error is:
insight server listening on port 3001 in production mode
info: Resuming sync from block: 00000000a0dff26bb4a33874a8ddcbb06b4ab8fce787e6bd7319e05ede36ab55 #204625
info: Seeking file to:00000000a0dff26bb4a33874a8ddcbb06b4ab8fce787e6bd7319e05ede36ab55
Reading Blockfile /home/ubuntu/.bitcoin/testnet3/blocks/blk00003.dat [127 MB]
... [some p2p_sync messages] ...
FOUND Starting Block!
info: Got 204625 blocks in current DB, out of 258500 block at bitcoind
info: bitcoind dataDir configured...importing blocks from .dat files
info: First file index: 3
info: Starting from: 00000000a0dff26bb4a33874a8ddcbb06b4ab8fce787e6bd7319e05ede36ab55
info: status: [79.159%]crypto.js:209
this._binding.update(data, encoding);
^
TypeError: Not a string or buffer
at Hash.update (crypto.js:209:17)
at exports.sha256 (/home/ubuntu/insight-api/node_modules/bitcore/util/util.js:14:49)
at Object.exports.sha256ripe160 (/home/ubuntu/insight-api/node_modules/bitcore/util/util.js:55:18)
at new Address.fromScriptPubKey (/home/ubuntu/insight-api/node_modules/bitcore/lib/Address.js:122:33)
at /home/ubuntu/insight-api/lib/TransactionDb.js:509:19
at Array.map (native)
at TransactionDb.getStandardizedTx (/home/ubuntu/insight-api/lib/TransactionDb.js:505:21)
at /home/ubuntu/insight-api/lib/HistoricSync.js:139:30
at Array.map (native)
at HistoricSync.getStandardizedBlock (/home/ubuntu/insight-api/lib/HistoricSync.js:138:20)
at /home/ubuntu/insight-api/lib/HistoricSync.js:154:22—
Reply to this email directly or view it on GitHub
#110.
Matías Alejo Garcia
Skype/Twitter: @EMATIU
Roads? Where we're going, we don't need roads!
from insight-api.
fixed on 3968327
from insight-api.
Thanks a lot, all good now, I'll close this issue.
from insight-api.
Related Issues (20)
- Request multiple transactions by list of txid
- Documentation for /api/utils/estimatefee HOT 1
- Setting up with an existing bitcoin full-node
- UTXO returns spent outputs
- Cannot broadcast transaction with huge amounts of inputs HOT 1
- Confirmation number for sent BCH transaction does not increase HOT 2
- Help. Blocks.js : 400 Bad Request Altcoin HOT 6
- "Invalid argument" instead of "invalid checksum" HOT 1
- Method not found. Code:-32601 HOT 7
- why sync not continue after 81% (446128 blocks height)
- How can I distinguish testnet and mainnet?
- what is p2p transform port?
- what is p2p transform port?
- Large block of the Bitcoin Cash
- Block Height Differences in insight
- Wrong estimate fee HOT 4
- Endpoint to get mempool txs HOT 1
- DdzFFzCqrht18zRUyie7z3PtuD3DzYs4f2fpGyme6ybojcqyovvhPsaDuSjhwmPYitRsenEcVAw6jh9XNxA2WP6Mvh22ZX9qNP5HQ5ix
- How to setup insight-api with bitcoin sv. Any kind of help is highly appreciated. HOT 1
- which repo to use? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insight-api.