-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dash network #518
Add Dash network #518
Conversation
@jprichardson I'm semi OK with this. Its been a top-5 contender for a while now. Did we end up with a solution that wasn't using |
@UdjinM6 ugh, tests are all failing because dash conflicts with bitcoin testnet. |
@UdjinM6 due to Dash conflicting with bitcoin testnet, it won't be able to be bundled with the default networks, even though it is within the top-5 market caps. I think @jprichardson had a repository for these constants, if not, we'll make one such that a user is not constrained to what we bundle by default. |
@dcousens Ah, I see. I knew |
@jprichardson technically the tests don't need to fail anymore since there is no 'automatic' default. In fact, its only failing because our tests include all the networks in network.json, so I guess, we could still merge. Re-opening for discussion. |
Thanks for re-opening. While failing tests like that was unexpected I actually think that code like the one in that test could be useful. Also changing Dash testnet |
917095d
to
92f1ebe
Compare
It seems like it's better to split this PR into 2 separate ones - for Dash mainnet and testnet respectively. I pulled latest commits from this repo and reworked commit in current PR to add only mainnet part of Dash network. Will create a new PR to add Dash testnet when we are ready. |
Yeah, my repo is https://github.com/cryptocoinjs/coininfo. I'd be fine with redoing it / renaming it / whatever if someone felt there was a better way. It does however support Dash if it matters: https://github.com/cryptocoinjs/coininfo/blob/master/lib/coins/doge.js |
@jprichardson I was looking for some lib like this also! 👍 Starred, forked and submitted cryptocoinjs/coininfo#13 to update Dash info there too. |
@jprichardson it'd be nice to have the |
Well, I pulled latest commits and rebased and still tests are failing (randomly actually): sometimes it's
sometimes it's
I guess that's because they rely on some external service and this has nothing to do with current PR. |
@UdjinM6 you are correct, the faucet API provided by BlockTrail is really sketchy and seems to fail 1/2 the time, if the tests weren't so worthwhile I'd of removed them by now. These are just part of the integration tests, not the unit tests. For a change like this, what is most important is that the unit tests do not fail. Sorry for the inconvenience. |
I wouldn't add DASH until it matures with better and trusted third party APIs. |
Closing in favour of #518 (comment)
I don't want these decisions to be political, hence why I'm in favour of the above. |
Ok, we'll just keep using my fork for now I guess. Btw any examples of what kind of
are needed for Dash to be included in the original lib? Thanks! pinging @losh11 as well |
@UdjinM6 I want to make it 100% clear that isn't against Dash in any way. The only reason |
@dcousens yep, thanks, no worries! Anyway, as I already mentioned we are completely fine using a fork (imo) and I'm surely looking forward to have the solution by @jprichardson too :) |
Please consider adding Dash network.
https://github.com/dashpay/dash
https://www.dash.org/
Thanks.