elbereth / dashninja-fe Goto Github PK
View Code? Open in Web Editor NEWDash Ninja Front-End (Public Rest API+HTML+JS)
License: GNU General Public License v3.0
Dash Ninja Front-End (Public Rest API+HTML+JS)
License: GNU General Public License v3.0
It would be nice to have a simple prices API that would return the current price of DASH at a given moment.
There is a similar, free service here: cryptonator.com
On first call to /api/masternodes with a list of pubkeys or output hash leads to 500 server response.
Next call works.
I want my nagios to know if my masternode is alive and OK. Is it possible to ask dashninja server for it in some way? if yes, how?
Would it be possible to add the estimated date/time of next payment in the masternode API?
(Just like what DashMasternodeTool does when one clicks on the "Get status" button.)
Currently, through the API, we can get a bunch of info about multiple MNs using a single URL based on pubkeys, for instance:
https://www.dashninja.pl/api/masternodes?testnet=0&portcheck=1&pubkeys=[PUBKEY1,PUBKEY2,PUBKEY3,…,…,…]
But now the whole Dash network is DIP3 compliant. It would be very useful to get the same multiple MNs info based on protxhash, using an URL that would look like this:
https://www.dashninja.pl/api/masternodes?testnet=0&portcheck=1&protxhash=[HASH1,HASH2,HASH3,…,…,…]
The problem with the current pubkey URL is that multiple DIP3 masternodes may share the same payout address (i.e. pubkey). So they won't be retrieved by the current API.
With the deterministic masternodes now we always have an block number estimate for the payouts.
It would be nice to have that information in the API too.
We could have:
MasternodeLastPaidBlock - block number when the last payment was received
MasternodeLastPaidTime - unix time when the last payment happened
MasternodeLastPaidAmount - the amount of the last payment
MasternodeNextPaymentBlock - block number when the next payment is due
MasternodeNextPaymentTime - an estimation when that block will happen based on previous block times
Hi, do you have any doc or tutorial to set up and run it? Thank you
If you open the details page of the "XuFWPDazxYoCe6fiuvSdPSYcHErt9ZESTg" masternode, you will see that it had 3 payments in the past.
If you check the API call for the same masternode, you see only the last payment's details.
It would be nice to have all the past payments listed in the API as well.
When I open the deterministic-masternodes URL and click on the masternode's ProTxHash value to see its details I got an empty page template without the masternode's information:
The pubkey line says "Need "mnpubkey" parameter", so I guess the masternode is not loaded by the protxhash parameter of the mndetails.html page.
If I click on the pubkey of the masternode on the deterministic masternode list, it opens up the Dash blockchain explorer chainz.cryptoid.info. This should open up the proper maternode details page, I think.
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.