flosight-ui/server
2017-08-22 10:34:55 -04:00
..
config more cleaning up 2017-08-22 00:29:10 -04:00
lib Fix /txs default return to return the properly transformed response 2017-08-22 10:34:55 -04:00
logs
models fix max tx 2017-08-22 01:23:12 -04:00
public merge mongo changes 2017-08-19 20:59:37 -04:00
test
.eslintrc.json Clean up eslint complaints 2017-08-16 14:13:18 -04:00
.gitignore
index.js Clean up eslint complaints 2017-08-16 14:13:18 -04:00
package.json helmet and static expires header 2017-08-22 01:44:51 -04:00
README.md Remove console logs. Fix cors 2017-08-10 23:05:48 -04:00

Bitcore - Bcoin - Insight

Rebuilt Bitcore with Bcoin engine and Insight API sitting on top of Mongo.

Requirements

Mongodb running on your system.

node >=7.6.0 - This requirement comes from Bcoin. Developed under 8.2.0.

Usage

npm install
npm start

A Full Bcoin node will start in console.

http://localhost:3000

Configuration

A configuration object exists in /config/index.js

Bcoin accepts a config object per Bcoin docs. Same for Mongo/Mongoose

Resetting Application State

mongo
use bitcore
db.blocks.drop()
db.transactions.drop()

Ctrl+D out of mongo

rm -rf ${bcoin-prefix-in-config.js}/chain.ldb

Contributing

  1. Fork
  2. Branch
  3. Send a PR