dashevo / bitcore-dash Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bitpay/bitcore
A full stack for dash and blockchain-based applications
Home Page: https://bitcore.io/
License: Other
This project forked from bitpay/bitcore
A full stack for dash and blockchain-based applications
Home Page: https://bitcore.io/
License: Other
To get around this issue I decided to install bitcore dash directly from GH using npm install -g dashevo/bitcore-dash#v4.1.0
However, I noticed that my /insight endpoint is serving bitcoin testnet instead of dash. Even the block height was the same (1325172). My bitcore-node.json is below:
{
"network": "testnet",
"port": 3001,
"services": [
"bitcoind",
"web",
"insight-api",
"insight-ui"
],
"servicesConfig": {
"bitcoind": {
"spawn": {
"datadir": "/root/.bitcore/data",
"exec": "/usr/local/lib/node_modules/bitcore/node_modules/bitcore-node/bin/bitcoind"
}
},
"insight-api": {
"disableRateLimiter": true,
"rateLimiterOptions": {
"limit": 1000000000000
}
}
}
}
I'm trying to build a docker container and I keep getting deprecated warnings when running
npm install -g bitcore-dash
npm WARN deprecated [email protected]: Deprecated - Please use https://www.npmjs.com/package/@dashevo/dashcore-lib
npm WARN deprecated [email protected]: Deprecated - please use https://www.npmjs.com/package/@dashevo/insight-api
And then the whole install fails with:
> [email protected] preinstall /usr/local/lib/node_modules/bitcore-dash/node_modules/bitcore-node-dash
> ./scripts/download
Downloading dash: https://bamboo.dash.org/browse/DASHL-REL-13/artifact/JOB1/gitian-linux-dash-dist/dashcore-0.12.2-linux64.tar.gz
npm WARN deprecated [email protected]: Deprecated - Please use https://www.npmjs.com/package/@dashevo/dashcore-lib
npm ERR! Linux 4.9.87-linuxkit-aufs
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "bitcore-dash"
npm ERR! node v4.9.1
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! [email protected] preinstall: `./scripts/download`
npm ERR! Exit status 22
npm ERR!
npm ERR! Failed at the [email protected] preinstall script './scripts/download'.
npm ERR! This is most likely a problem with the bitcore-node-dash package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./scripts/download
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bitcore-node-dash
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls bitcore-node-dash
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
Hi
I know this may not be an issue. My head hurts from weeks of googling and trying and trying, and.. trying.
I have successfully installed bitcore-dash on a VPS, but for the life of me I cannot expose it to sub.domain.com to access the block-explorer.
Please.. at present when I run bitcored I get:
[2018-04-15T10:51:23.016Z] info: Using config: /bitcore/.bitcore/bitcore-node-dash.json
[2018-04-15T10:51:23.019Z] info: Using network: livenet
[2018-04-15T10:51:23.020Z] info: Starting bitcoind
[2018-04-15T10:51:23.022Z] info: Using bitcoin config file: /bitcore/.bitcore/data/dash.conf
[2018-04-15T10:51:23.028Z] info: Starting dash process
[2018-04-15T10:51:28.102Z] info: Dash Height: 15688 Percentage: 99.97
[2018-04-15T10:51:28.109Z] info: Dash Daemon Ready
[2018-04-15T10:51:28.110Z] info: Starting web
[2018-04-15T10:51:28.142Z] info: Starting insight-api-dash
[2018-04-15T10:51:28.143Z] info: Starting insight-ui-dash
[2018-04-15T10:51:28.144Z] info: Bitcore Node ready
[2018-04-15T10:51:28.587Z] warn: ZMQ connection delay: tcp://127.0.0.1:28332
[2018-04-15T10:51:28.588Z] info: ZMQ connected to: tcp://127.0.0.1:28332
But, as you can see, it is not running on port:3001 it is using 28332.
What do I need to do to switch this into a live production mode?
what info needs to go into the apache vhost file?
please help.. I have 15 days to get this working, write up and submit, my uni dissertation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.