oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.72k stars 220 forks source link

[internals refactor] docs and reorganize compilation units #2108

Closed majestrate closed 1 year ago

majestrate commented 1 year ago

begin piecewise refactor

rearrange compilation units in cmake to have unambiguous component separation, with documentation notes on what the responsibilities of each are.

the new library structure:

to get the refactor smaller a few concessions have been made:

these commits in order are:

1) adding high level plan docs 2) redoing header conversion 3) cmake restructure 4) clang format comment

majestrate commented 1 year ago

blocked on review from @jagerman

majestrate commented 1 year ago

@jagerman looking to merge this today, needs approval.

majestrate commented 1 year ago

there was so many parts repeated that i ended up adding 2 helper functions to do the linking. this will need a quick review again tomorrow.

(i will push this in the morning)

majestrate commented 1 year ago

okay, ready for one final review