36 lines
898 B
Markdown
36 lines
898 B
Markdown
# 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
|