Comments (5)
Thanks @warai17 ... the easiest way is to just grab that from the ninja api response "lastVoted" which is already incorporated into the monitor. @BitDesert Would it make sense to add an up/down indicator to the ninja API response to prevent duplication of the up/down logic within the monitor code.
from nanonodemonitor.
Hmm, the "up/down" field would be a processed one by ninjas laws. If we leave it at the monitor you could modify it just as you like, but at ninja I could check probably more parameters that a PHP monitor can't.
I'm not quite sure what's the best way...
from nanonodemonitor.
How about the same logic that is used to send the email Up/Down notifications from Ninja?
from nanonodemonitor.
Iād prefer this notification to be consistent with what Ninja is reporting. I feel that adding that to the Ninja API is the best way to maintain this consistency. As a fallback, I would implement a simple time difference check of the last vote.
from nanonodemonitor.
I would rather suggest using a third party service as the monitor has no way to notify the user via email or push notifications.
Login at https://mynano.ninja/ and verify your representative, if you link your social media accounts you get email notifications.
from nanonodemonitor.
Related Issues (20)
- Use RPC uptime to get node uptime HOT 1
- Support for nano_ address prefix HOT 2
- How about giving access to the "process_block" RPC function ? HOT 3
- Delegator number is not shown properly HOT 1
- Invalid response from api.php HOT 1
- I have delegators on my node by node monitor shows N/A HOT 1
- Missing json_encode and json_decode functions? HOT 3
- Nano monitor HOT 1
- nano_3eu3jaqanq35zhekqn86zr1kktsrzff9qx9gzzjidakf1oz61fumkptth817
- Dariusz
- Favicon looks squished
- Nano favicon also on banano version HOT 1
- nNM not reporting any values HOT 4
- Node not running error while node is running HOT 2
- Where does nanoNodeAccount come from? HOT 4
- Display current price? HOT 1
- Bug: api.php sometimes returns "Warning: Cannot modify header information - headers already sent..." HOT 3
- Its not in my wallet
- I'm a Newbie n my name is Kenny..
- How to install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanonodemonitor.