I've finally come to getting Insight sync the Minerals block chain ~1 MByte (4031 blocks) of it for testing
It's more work than I expected and I had to find required parameters at the core of the genesis block using the wallet daemon, base58.h and main.cpp from the source code.
____ _ __ __ ___ _
/ _/___ _____(_)___ _/ /_ / /_ / | ____ (_)
/ // __ \/ ___/ / __ `/ __ \/ __/ / /| | / __ \/ /
_/ // / / (__ ) / /_/ / / / / /_ / ___ |/ /_/ / /
/___/_/ /_/____/_/\__, /_/ /_/\__/ /_/ |_/ .___/_/
/____/ /_/
v0.2.7
# Configuration:
Network: livenet INSIGHT_NETWORK
Database Path: /home/hoshi/.insight INSIGHT_DB
Safe Confirmations: 6 INSIGHT_SAFE_CONFIRMATIONS
Ignore Cache: no INSIGHT_IGNORE_CACHE
# Bicoind Connection configuration:
RPC Username: hoshi BITCOIND_USER
RPC Password: Yes(hidden) BITCOIND_PASS
RPC Protocol: http BITCOIND_PROTO
RPC Host: 127.0.0.1 BITCOIND_HOST
RPC Port: 33441 BITCOIND_PORT
P2P Port: 33442 BITCOIND_P2P_PORT
Data Dir: /home/hoshi/.Minerals/ BITCOIND_DATADIR
Change setting by assigning the enviroment variables in the last column. Example:
$ INSIGHT_NETWORK="testnet" BITCOIND_HOST="123.123.123.123" ./insight.js
info: starting...
insight server listening on port 3000 in development mode
info: Could not find block files at: /home/hoshi/.Minerals//blocks/blk*.dat. Disabling file sync.
info: Got 0 blocks in current DB, out of 4031 block at bitcoind
info: syncing from RPC (slow)
info: Starting from: 00000c639b0fbf250ba63c6ef2952dbb44bb1051324a27383b8a56fb833d8137
info: status: [0%]
info: status: [0.025%]
...
info: status: [99.752%]
info: status: [100%]
Done Syncing { status: 'finished',
blockChainHeight: 4031,
syncPercentage: '100.000',
height: 4031,
syncTipHash: undefined,
error: null,
type: 'from RPC calls',
startTs: 1410726207968,
endTs: 1410726304465 }
info: status: [100%]
Front-end can't seem to connect to back-end for some reason. Some troubleshooting required. But first things first: a good night's rest.