bitcoinjs/bitcoinjs-server — Issue #61: Error: Prior block missing, cannot calculate median time
Author: jpierre
Created: 2012-02-07 06:03:41+00:00
State: open

I can't get past block 10:

7 Feb 07:01:27 - info: Downloading blocks 11/165724 (top: 97be56d606, peer: 140.112.29.57:8333)
7 Feb 07:01:28 - error: Error while adding block to chain: Error: Prior block missing, cannot calculate median time
at /home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/lib/schema/block.js:324:17
at Array.map (native)
at Function.calcMedian (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/lib/schema/block.js:322:31)
at next (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:51:23)
at /home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:83:14
at check (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:99:9)
at Function. (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:116:22)
at next (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:51:23)
at DB.getBlockByHashCallback (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/lib/db/leveldb/storage.js:362:7)
7 Feb 07:01:57 - info: Downloading blocks 11/165724 (top: 97be56d606, peer: 93.187.142.114:8333)
7 Feb 07:01:57 - error: Error while adding block to chain: Error: Prior block missing, cannot calculate median time
at /home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/lib/schema/block.js:324:17
at Array.map (native)
at Function.calcMedian (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/lib/schema/block.js:322:31)
at next (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:51:23)
at /home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:83:14
at check (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:99:9)
at Function. (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:116:22)
at next (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/node_modules/step/lib/step.js:51:23)
at DB.getBlockByHashCallback (/home/jpierre/src/dev/node/smscoin/node_modules/bitcoinjs/lib/db/leveldb/storage.js:362:7)
7 Feb 07:02:27 - info: Downloading blocks 11/165724 (top: 97be56d606, peer: 67.210.248.19:8333)
7 Feb 07:02:52 - info: Downloading blocks 11/165724 (top: 97be56d606, peer: 67.210.248.19:8333)
7 Feb 07:03:22 - info: Downloading blocks 11/165724 (top: 97be56d606, peer: 173.255.227.247:8333)