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

update stacks-node.go to allow for followers to be run #3

Open
wileyj opened this issue Feb 17, 2021 · 0 comments
Open

update stacks-node.go to allow for followers to be run #3

wileyj opened this issue Feb 17, 2021 · 0 comments
Assignees

Comments

@wileyj
Copy link
Contributor

wileyj commented Feb 17, 2021

current code makes seq 1 the master node, running btc in regtest.
all other instances come up (as well as seq 1) as a miner.

it would be good to have a few followers in the mix of hosts during the test. since we can't say a test will be run with a predefined set of nodes, one idea is to set aside a % of the total instances as follower nodes.
for example:

  • if we run with 10 instances -> 50% of them will be followers, 1 as master, and the rest as miners.
  • if we run with 50 instances -> 75% of them will be followers, 1 as master, and the rest as miners.

@reedrosenbluth

@wileyj wileyj self-assigned this Feb 18, 2021
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

1 participant