flosight-ui/server
2017-08-15 11:38:40 -04:00
..
config moved rpc settings to config. Little confusing as is. Needs improvement 2017-08-15 02:24:30 -04:00
lib add tx paging and protections 2017-08-15 11:38:40 -04:00
logs
models Remove index from txs. Explicit return and fix spent and received in addr. 2017-08-15 10:42:36 -04:00
public
test
.eslintrc.json
.gitignore
index.js
package.json
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