mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 17:13:45 +00:00
The account manager was previously created by packge cmd/utils as part of flag processing and then passed down into eth.Ethereum through its config struct. Since we are starting to create nodes which do not have eth.Ethereum as a registered service, the code was rearranged to register the account manager as its own service. Making it a service is ugly though and it doesn't really fix the root cause: creating nodes without eth.Ethereum requires duplicating lots of code. This commit splits utils.MakeSystemNode into three functions, making creation of other node/service configurations easier. It also moves the account manager into Node so it can be used by those configurations without requiring package eth. |
||
|---|---|---|
| .. | ||
| downloader | ||
| fetcher | ||
| filters | ||
| gasprice | ||
| api.go | ||
| api_backend.go | ||
| backend.go | ||
| backend_test.go | ||
| bad_block.go | ||
| bind.go | ||
| cpu_mining.go | ||
| db_upgrade.go | ||
| gpu_mining.go | ||
| handler.go | ||
| handler_test.go | ||
| helper_test.go | ||
| metrics.go | ||
| peer.go | ||
| protocol.go | ||
| protocol_test.go | ||
| sync.go | ||
| sync_test.go | ||