flosight-api/server
2017-08-19 04:07:09 -04:00
..
config pre cleanup. Running entirely on mongo. 2017-08-19 03:15:17 -04:00
lib tx by address wired up 2017-08-19 04:07:09 -04:00
logs Add 'server/' from commit 'eb7e5d10c97aafa302dfd4e7fd67a6bc2938c0a1' 2017-08-10 17:08:14 -04:00
models reduced block model and parsing. 2017-08-17 00:44:50 -04:00
public All routes replaced. Stable but no tx inputs working. 2017-08-17 11:25:58 -04:00
test Add 'server/' from commit 'eb7e5d10c97aafa302dfd4e7fd67a6bc2938c0a1' 2017-08-10 17:08:14 -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 Clean up eslint complaints 2017-08-16 14:13:18 -04:00
package.json Message verification and bitcore-message added 2017-08-15 20:29:38 -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