ethutil: remove Config variable
Various functions throughout the codebase used it to grab settings. This has to stop because I want to use them without reading the config file. These functions can now be used without reading the config first: * ethdb.NewLDBDatabase * ethrepl.NewJSRepl * vm.New
Showing
- cmd/ethereum/repl/repl.go 1 addition, 1 deletioncmd/ethereum/repl/repl.go
- cmd/mist/bindings.go 2 additions, 2 deletionscmd/mist/bindings.go
- cmd/mist/gui.go 1 addition, 1 deletioncmd/mist/gui.go
- eth/backend.go 5 additions, 2 deletionseth/backend.go
- ethdb/database.go 3 additions, 8 deletionsethdb/database.go
- ethutil/config.go 16 additions, 19 deletionsethutil/config.go
- vm/vm.go 1 addition, 4 deletionsvm/vm.go
Loading
Please register or sign in to comment