Giter VIP home page Giter VIP logo

Comments (5)

Hiroshi97 avatar Hiroshi97 commented on July 20, 2024

@2ndtlmining Hi, by using new API endpoint, seems like it doesn't return all nodes with data. There are a few nodes that have no response data so their uptime can't be calculated. How should we display the uptime for that non-data nodes?

Node with data:
image

Node without data:
image

from fluxnode.

2ndtlmining avatar 2ndtlmining commented on July 20, 2024

Hey @Hiroshi97

Not sure what the wallet address or IP is that you hitting that doesnt have any data but that i suspect will make sense just need to do some spot checks. I suspect no data will exist if the person hasnt started/confirmed their node on the network. Thus we should also not have received results in the past making use of the older api. That is my theory. If you have an example i can have a look, but using this we should only receive responses if the node is up and confirmed.

Hope that helps?

from fluxnode.

Hiroshi97 avatar Hiroshi97 commented on July 20, 2024

@2ndtlmining Thanks, the wallet address is: t1K5txxB6GLmWezHeUANzVVGi8KjLmuvFyH

Examples:
https://api.runonflux.io/daemon/viewdeterministiczelnodelist?filter=31.7.195.26:16127
https://api.runonflux.io/daemon/viewdeterministiczelnodelist?filter=195.206.229.60:16127
https://api.runonflux.io/daemon/viewdeterministiczelnodelist?filter=195.206.229.59:16127
https://api.runonflux.io/daemon/viewdeterministiczelnodelist?filter=195.206.229.51:16127

from fluxnode.

2ndtlmining avatar 2ndtlmining commented on July 20, 2024

@Hiroshi97 Ok this sort of make sense for me i think.

Long story. Per IP you can have up to 8 nodes by enabling UPnP. So what i tried to have a look at is our current solution vs what we are thinking:

https://fluxnode.app.runonflux.io/#/nodes?wallet=t1K5txxB6GLmWezHeUANzVVGi8KjLmuvFyH

image

There is 8 IP's or nodes on that one IP: 31.7.195.26

31.7.195.26 (Default, which normally would be on 16126)
31.7.195.26: 161. For example:

31.7.195.26
31.7.195.26:16137
31.7.195.26:16147
31.7.195.26:16157
31.7.195.26:16167
31.7.195.26:16177
31.7.195.26:16187
31.7.195.26:16197

Would always be in that range 16137->16197, plus the default.


Looking at the deterministic call:

image

The value is in that list, but without that port number. As that looks to be the default port. If i remember back we are adding + 1 which i think will not work in this case.

Not sure if we can use the default IP without the UPnP port? Or even if this makes sense :)

from fluxnode.

2ndtlmining avatar 2ndtlmining commented on July 20, 2024

Not going ahead with this for now

from fluxnode.

Related Issues (20)

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.