Giter VIP home page Giter VIP logo

Comments (6)

Vort avatar Vort commented on June 14, 2024 1

I don't know of any way to store the netDB in some transferable file

Just pack it with .zip or something like that, transfer and unpack.

from i2pd.

Vort avatar Vort commented on June 14, 2024

You can try setting limits.zombies option to prevent losing all routerinfo during offline period.
It specifies minimum Tunnel creation success rate, below which clearing should pause.

What amount of Routers: your web interface shows when there is no internet access for a long time?

from i2pd.

arthurmelton avatar arthurmelton commented on June 14, 2024

I should have specified this is effectively the first boot of the program as I run /var in a tmpfs. So the program does not have any peers that it knows of, and so when it gets connected to internet it has no one to talk to.

from i2pd.

arthurmelton avatar arthurmelton commented on June 14, 2024

I was looking into how the reseeding process works, and implementing some system to wait to reseed once there is more than just the loopback device does not look that hard. I could not find anything in boost asio to get all the interfaces and IP addresses, but I did find https://github.com/GMLC-TDC/netif, which could help. You could probe the getInterfaceAddressesAll() every second or so, and see if the size of the response is bigger than 2 (to confirm we have more than just 127.0.0.1 and ::1). We can't necessarily rely on some service or IP address to always be up, for us to ping, and there is a chance someone would use i2p on a private network. I don't see the point of using i2p on the loopback device, so I think this would be the safest way to do it.

from i2pd.

Vort avatar Vort commented on June 14, 2024

Main problem is that clean start every time is not intended mode of operation for I2P software.
It provides unnecessary load on reseeds and floodfills.
That's why I don't see much sense in making it easier to use.

from i2pd.

arthurmelton avatar arthurmelton commented on June 14, 2024

This is not really about the feature request anymore, and it is mainly just for me.

Roughly how long are the .su3 reseed bundles valid for? I am wondering if I could just download the reseed bundles every once in a while and reseed off of them. I believe that would still be inefficient for floodfills though, and I don't know of any way to store the netDB in some transferable file.

from i2pd.

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.