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

Mining wont start in Quorum with IBFT using Docker-compose #113

Closed
alejoloaiza opened this issue Aug 15, 2018 · 0 comments
Closed

Mining wont start in Quorum with IBFT using Docker-compose #113

alejoloaiza opened this issue Aug 15, 2018 · 0 comments

Comments

@alejoloaiza
Copy link

alejoloaiza commented Aug 15, 2018

Hi, testing using istanbul-tools realized that mining (creation of blocks) in IBFT is not so easy, here I found a scenario where mining wont start after 20 minutes.
Step 1:
Create a docker network with 7 nodes using istanbul with command:
istanbul setup --num 7 --docker-compose --verbose --quorum --save

Step 2:
Now lets start only 4 validators:

docker-compose -f docker-compose.yml up -d eth-stats constellation-0 constellation-1 constellation-2 constellation-3 validator-0 validator-1 validator-2 validator-3

Check that mining is not happening with geth attach http://localhost:8545 it will show at block: 0

Step 3:
Wait 30 minutes, and bring up the 5th node:

docker-compose -f docker-compose.yml up -d constellation-4 validator-4

After waiting another 20 minutes there is not mining going on. I'm still at block 0.

Welcome to the Geth JavaScript console!

instance: Geth/validator-0/v1.7.2-stable/linux-amd64/go1.9
coinbase: 0xa81807268ae6e6f8dddaeac7a75001c764d9d81f
at block: 0 (Sun, 12 Aug 2018 22:00:22 -05)

Thanks a lot.
Regards.

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