Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable simnet #591

Closed
JoeGruffins opened this issue Jan 30, 2020 · 3 comments
Closed

enable simnet #591

JoeGruffins opened this issue Jan 30, 2020 · 3 comments

Comments

@JoeGruffins
Copy link
Member

There is a config setting and there are params for testnet but not for simnet. It would be very helpful to have the choice of using simnet when testing. It should be as simple as adding the ports to our network params and a flag to our config file.

@jholdstock
Copy link
Member

There is already a simnet mode (I was wrong when we discussed on Matrix)

SimNet bool `long:"simnet" description:"Use the simulation test network"`

dcrstakepool/config.go

Lines 415 to 420 in 496936a

if cfg.SimNet {
numNets++
// Also disable dns seeding on the simulation test network.
activeNetParams = &simNetParams
minRequiredBackendServers = 1
}

Looks like we can close this issue

@JoeGruffins
Copy link
Member Author

You are right! Let me try running it before closing...

@JoeGruffins
Copy link
Member Author

Yep, simnet working. Awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants