dir : cmd/geth/config.go
load geth config, create blank node instance
stack, cfg := makeConfigNode(ctx)
// dir : cmd/geth/config.go
ttd override값이 flag에 있다면 set up
if ctx.IsSet(...) {
...
}
stack에 ethereum client 추가. Full node라면 2nd return값이 full node instance, light면 nil
backend, eth := utils.RegisterEthService(stack, &cfg.Eth)
// dir : cmd/utils/flags.go
filter, graphQL 등의 옵션 추가 후 리턴
filterSystem := utils.RegisterfilterAPI(stack, backend, &cfg.Eth)
// > cmd/utils/flags.go
...
return stack, backend