NetDb: rewrite/refactor
Created by: anonimal
Not nearly as bad of shape as #627 was and as #511 currently is, the network-database has always needed work (but this issue is mostly for housekeeping).
Since NetDb/RI/I2NP/Tunnels/Transports are all related (too closely related in our implementation), any work here will help clarify any questions / resolve any potential issues related to #187.
By submitting this issue, I confirm the following:
- I have read and understood the contributor guide.
- I have checked that the issue I am reporting can be replicated or that the feature I am suggesting is not present.
- I have checked opened or recently closed pull requests for existing solutions/implementations to my issue/suggestion.