Giter Club home page Giter Club logo

bitcore-dash's People

Contributors

bitjson avatar brandonrobertz avatar braydonf avatar chjj avatar devrandom avatar dskloet avatar dthorpe avatar eordano avatar ethers avatar fanatid avatar gasteve avatar himynameismartin avatar kleetus avatar kyledrake avatar manan19 avatar maraoz avatar marianorod avatar martindale avatar matiu avatar nmarley avatar olalonde avatar pnagurny avatar rubensayshi avatar ryanxcharles avatar sagivo avatar snogcel avatar throughnothing avatar trapp avatar trevinhofmann avatar yemel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitcore-dash's Issues

Bitcore dash is running Bitcoin

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
      }
    }
  }
}

Deprecated packages in NPM

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

bitcore-dash production. F.A.O Alex

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.