Giter Site home page Giter Site logo

Expansion of IPv6 Address about node-list HOT 9 OPEN

tomeshnet avatar tomeshnet commented on June 7, 2024
Expansion of IPv6 Address

from node-list.

Comments (9)

darkdrgn2k avatar darkdrgn2k commented on June 7, 2024 2

i wouldn't worry about breaking stuff to much.. TOMESH map and some stuff i built.. thats about it.

Early on not to worried about the havoc it will cause

from node-list.

darkdrgn2k avatar darkdrgn2k commented on June 7, 2024 1

Should there be a seperate services json?

from node-list.

darkdrgn2k avatar darkdrgn2k commented on June 7, 2024

Maybe add also what type of mesh its running?

from node-list.

Shrinks99 avatar Shrinks99 commented on June 7, 2024

I like the array option as it can be expanded upon in the future in a nice way that doesn't break things and is semantically neat. How much stuff breaks if we do it that way?

from node-list.

benhylau avatar benhylau commented on June 7, 2024

We should do this instead, because these protocols are complex and often require more than one field to work with (e.g. cjdns past a certain version is not backward compatible):

{
  "protocols": [
    {
      "name": "cjdns",
      "attributes": {
        "version": "v16",
        "ipv6": "fcc5:480e:20d6:dd89:12e1:19f8:23b9:f6ab"
      }
    },
    {
      "name": "yggdrasil",
      "attributes": {
        "version": "v12.2",
        "ipv6": "fcc5:480e:20d6:dd89:12e1:19f8:23b9:f6ab",
        "peering": true
      }
    },
    {
      "name": "ipfs",
      "attributes": {
        "version": "v13.5",
        "id": "ipfs-id",
        "public-key": "ipfs-public-key"
      }
    }
  ]
}

The keys within each protocol is just an example, but name and attributes should be there. We can incorporate this into schema-v8.

from node-list.

makew0rld avatar makew0rld commented on June 7, 2024

I think that would be good for actual mesh services like sites or DNS, etc. I'm not sure if Yggdrasil/CJDNS falls under that or not though. IPFS would imo, so why not those too.

from node-list.

benhylau avatar benhylau commented on June 7, 2024

Should there be a seperate services json?

@darkdrgn2k I am not opposed to that. Do you think cjdns, yggdrasil, and ipfs should all be in that services json?

We also need a unique key to map between the two.

As @makeworld-the-better-one showed, it's hard to decide which goes to which json. In my mind, these are all in the services json. Whether we wanna stick that in here or another file, I am kinda split, because single file does have its advantages of being easy to parse in business logic :)

from node-list.

darkdrgn2k avatar darkdrgn2k commented on June 7, 2024

We also need a unique key to map between the two.

Currently the NODE NAME is planned to be unique across the network.

I am kinda split, because single file does have its advantages of being easy to parse in business logic :)

I fear that as the network grows it may become to big.

Also what about "multicast" services, services that exist on multiple nodes (like DNS)

from node-list.

makew0rld avatar makew0rld commented on June 7, 2024

I fear that as the network grows it may become to big.

I agree, I think that having a separate services file is fine.

Also what about "multicast" services, services that exist on multiple nodes (like DNS)

Not sure exactly what you mean, but the file could be organized by service anyway, with potentially multiple nodes offering it.

{
	"DNS": [
		"1.1.1.1:123",
		"1.2.3.4:321"
	]
}

from node-list.

Related Issues (8)

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.