-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
In Dubai we've had the following discussion session:
"Erigon directories and modules"
A more logical structure of dirs and modules, how we structure Erigon directories and what we do about Erigon Lib current state
introduced by Milen and Andrew
Here's the summary of results of the first discussion:
- identified that the majority of devs do care about this topic
- highlighted problem areas including node/eth/turbo/erigon-lib
- suggested an option to organize the code directories "by component"
- started to brainstorm the component list
- discussion stalled when we realized that "component" term is not well-defined
- agreed to create a place to continue discussion online
I suggest to gradually move to the following top-level dirs:
- arb
- cl
- cmd
- diagnostics
- docs
- erigon-db
- execution
- internal
- node
- p2p
- polygon
- rpc
- txnprovider
After that we can enforce logical dependencies by turning the dirs into go modules (like it's the case with erigon-lib already.)