flosight-ui/server
2017-08-28 12:49:46 -04:00
..
config remove tx.size until bcoin pr is merged 2017-08-27 21:53:42 -04:00
lib index block on tx model 2017-08-28 12:49:46 -04:00
logs Add 'server/' from commit 'eb7e5d10c97aafa302dfd4e7fd67a6bc2938c0a1' 2017-08-10 17:08:14 -04:00
public merge mongo changes 2017-08-19 20:59:37 -04:00
test move models into lib 2017-08-28 00:38:48 -04:00
.eslintrc.json Clean up eslint complaints 2017-08-16 14:13:18 -04:00
.gitignore Add 'server/' from commit 'eb7e5d10c97aafa302dfd4e7fd67a6bc2938c0a1' 2017-08-10 17:08:14 -04:00
index.js removed old audit code 2017-08-27 22:30:41 -04:00
package.json remove sockets 2017-08-27 22:53:39 -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