mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 20:07:16 +00:00
312263c7d9
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. |
||
---|---|---|
.. | ||
abi | ||
testdata | ||
account_manager.go | ||
accounts_test.go | ||
addrcache_test.go | ||
addrcache.go | ||
key_store_passphrase_test.go | ||
key_store_passphrase.go | ||
key_store_plain.go | ||
key_store_test.go | ||
key.go | ||
presale.go | ||
watch_fallback.go | ||
watch.go |