mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 15:33:47 +00:00
Add heimdall flag
This commit is contained in:
parent
7225eec0f6
commit
2b7bd156cf
2 changed files with 4 additions and 0 deletions
|
|
@ -116,6 +116,8 @@ func (c *Command) Run(args []string) int {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Info("Heimdall setup", "url", ethCfg.HeimdallURL)
|
||||||
|
|
||||||
// debug tracing is enabled by default
|
// debug tracing is enabled by default
|
||||||
stack.RegisterAPIs(tracers.APIs(backend.APIBackend))
|
stack.RegisterAPIs(tracers.APIs(backend.APIBackend))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -358,6 +358,8 @@ func (c *Config) buildEth() (*ethconfig.Config, error) {
|
||||||
n := ethconfig.Defaults
|
n := ethconfig.Defaults
|
||||||
n.NetworkId = c.chain.NetworkId
|
n.NetworkId = c.chain.NetworkId
|
||||||
n.Genesis = c.chain.Genesis
|
n.Genesis = c.chain.Genesis
|
||||||
|
n.HeimdallURL = *c.Heimdall.URL
|
||||||
|
n.WithoutHeimdall = *c.Heimdall.Without
|
||||||
|
|
||||||
// txpool options
|
// txpool options
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue