Replies: 2 comments 2 replies
-
|
I can comment on the design choice to decouple reseeding from the core implementation. I'm not saying this is the right design choice for every or any I2P router but at least currently it's in line with my long-term embedding design. Might change in the future though |
Beta Was this translation helpful? Give feedback.
-
|
In general splitting stuff has more pros than cons, so yes I think this is the right move. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A few weeks ago I got tired of scrolling around in my IDE and opening up the wrong file because there is a
tunnellibrary for building tunnels and there's atunnellibrary for tunnel crypto operations and elected to movecommonandcryptointo their own namespaces at https://github.com/go-i2p/common and https://go-i2p/crypto and then extensively refactor them. The result was highly successful, I would venture to say that our common and crypto libraries are downright robust after this effort. At least, sigificant parts of them are. This begs the question to me, should we break out more non-router-ish functionality from the go-i2p/go-i2p namespace and put it someplace else?If I were to do another library like this, it would be the
lib/su3library.su3functionality in Go is duplicated in at least 3 locations and 2 of them aren't very good and I wrote 1 of the not very good ones and the only good one. This is confusing and unnecessary, so I'm pretty much convinced.Interestingly, from reading
emissaryit is suggested that reseed operations could be done freestanding of the router, in fact they obviously can, but I wonder if that's actually better? Is it better for us? I don't know but I'm not convinced.keysmight be ill-concieved anyway but hypothetically if we want to do our own "robust secure key management system" then it may want a separate package.OTOH, things that are obviously "router-ish" should probably stay in.
netdbtransportstunnelandi2npcould be broken out into separate libraries but shouldn't.configshould stay in too.So, anybody care? Thoughts? Opinions?
Beta Was this translation helpful? Give feedback.
All reactions