PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.28k stars 424 forks source link

Separate datadir to persistent and temporary files directories #1024

Open l-n-s opened 6 years ago

l-n-s commented 6 years ago

i2pd needs to have an ability to store persistent data and temporary data in separate directories. It also needs to have backwards compatibility.

Persistent data:

Temporary data:

Required by #971 and #1023

majestrate commented 6 years ago

router.keys should persist.

netDb should be configurable if it should persist or not.

not sure on addressbook.

On Thu, Dec 07, 2017 at 01:49:55AM +0000, l-n-s wrote:

i2pd needs to have an ability to store persistent data and temporary data in separate directories. It also needs to have backwards compatibility.

Persistent data:

 * i2pd.conf and tunnels.conf
 * keys
 * certificates directory

Temporary data:

 * addressbook
 * destinations
 * i2pd.log
 * i2pd.pid
 * netDb
 * peerProfiles
 * router.info
 * router.keys
 * tags

Required by [1]#971 and [2]#1023

— You are receiving this because you are subscribed to this thread. Reply to this email directly, [3]view it on GitHub, or [4]mute the thread.

Reverse link: [5]unknown

References

Visible links

  1. https://github.com/PurpleI2P/i2pd/issues/971
  2. https://github.com/PurpleI2P/i2pd/issues/1023
  3. https://github.com/PurpleI2P/i2pd/issues/1024
  4. https://github.com/notifications/unsubscribe-auth/AAefxR2KXt8SkC9d5qDrFESNdQc2LHgTks5s90RDgaJpZM4Q43iz
  5. https://github.com/PurpleI2P/i2pd/issues/1024