The bitcoin blockchain API powering Insight
Go to file
2017-08-03 16:19:53 -04:00
config Processing tx, input and output. About to refactor tx models to fit insight 2017-08-03 15:21:07 -04:00
lib Transactions syncing, inputs and outputs mocked up. Bcoin data for tx, inputs and outputs varies depending on the vanilla object vs the object.toJSON() method Bcoin attaches to its primitives. Will likely need to redress this as Bcoin changes but for now this is how we move forward. 2017-08-03 16:19:53 -04:00
models Transactions syncing, inputs and outputs mocked up. Bcoin data for tx, inputs and outputs varies depending on the vanilla object vs the object.toJSON() method Bcoin attaches to its primitives. Will likely need to redress this as Bcoin changes but for now this is how we move forward. 2017-08-03 16:19:53 -04:00
test Transactions syncing, inputs and outputs mocked up. Bcoin data for tx, inputs and outputs varies depending on the vanilla object vs the object.toJSON() method Bcoin attaches to its primitives. Will likely need to redress this as Bcoin changes but for now this is how we move forward. 2017-08-03 16:19:53 -04:00
.eslintrc.json Initial Commit 2017-08-02 14:51:06 -04:00
.gitignore Transaction Models and updated config requires 2017-08-03 11:42:24 -04:00
index.js Transaction Models and updated config requires 2017-08-03 11:42:24 -04:00
package-lock.json bcoin node moved to its own file 2017-08-03 03:08:11 -04:00
package.json Added Readme. 2 command install 2017-08-02 18:36:01 -04:00
README.md Transactions syncing, inputs and outputs mocked up. Bcoin data for tx, inputs and outputs varies depending on the vanilla object vs the object.toJSON() method Bcoin attaches to its primitives. Will likely need to redress this as Bcoin changes but for now this is how we move forward. 2017-08-03 16:19:53 -04:00

Bcoin - Bitcore - Insight

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

Requirements

Mongodo running on your system.

PR has been submitted to Bcoin repo to fix a bug in their script library that is causing our sync process to crash when one of their checks to a tx script assesses if this is a pay to pubkey input. This is Bcoin-specific and should not affect syncing via DC Pool

Usage

npm install npm start

Logging is current defaulting to debug during dev. Bitcore logging is preceded by a timestamp. Bcoin logging with [info]

Nginx

The API is configured to run on port 3000 by default. Use the standard Nginx reverse proxy to flip http to https and handle ssl certs.

Priorities

  1. Required Insight-UI

/addr/:addrStr/?noTxList=1 /block/:blockhash /blocks /block-index/:blockHeight /currency /version /status /sync /peer /tx/:txId /txs /txs

sockets