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 diff.rb #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Update diff.rb #1

wants to merge 6 commits into from

Conversation

tkstanczak
Copy link

add a list of signers and their last signed blocks to the block data (like Clique snapshot)

add a list of signers and their last signed blocks to the block data (like Clique snapshot)
Can seal (commented out) and cloning signers
is the network really stuck
can_seal? (not commented out)
par["hash"]
suggested CLique improvement
@soc1c
Copy link
Collaborator

soc1c commented Jul 9, 2019

that's a good find. my "conditions" are just the precondition for getting stuck. 👍

@soc1c
Copy link
Collaborator

soc1c commented Jul 9, 2019

with 20% network fragmentation, I get:

2019-07-09 13:40:14 [SEAL] Peer ca09fc4c (head 5176054c8f93) sealed NOTURN block 9848, diff 84100, hash d16bdfaa11d6, parent 5176054c8f93
2019-07-09 13:40:14 [SEAL] Peer 48e3e544 (head 5176054c8f93) sealed NOTURN block 9848, diff 84099, hash eca55bab7f85, parent 5176054c8f93
2019-07-09 13:40:14 [SEAL] Peer fd450fb0 (head 5176054c8f93) sealed NOTURN block 9847, diff 84093, hash 5176054c8f93, parent ff91e65fec4c
2019-07-09 13:40:14 [SEAL] Peer 5a9f2483 (head 5176054c8f93) sealed NOTURN block 9848, diff 84101, hash ca63a19f4a2d, parent 5176054c8f93
2019-07-09 13:40:14 [SEAL] Peer eab783b7 (head 5176054c8f93) sealed NOTURN block 9847, diff 84093, hash 5176054c8f93, parent ff91e65fec4c
2019-07-09 13:40:14 [SEAL] Peer 010cdf13 (head 5176054c8f93) sealed NOTURN block 9847, diff 84093, hash 5176054c8f93, parent ff91e65fec4c
2019-07-09 13:40:14 [SEAL] Peer dedb55b3 (head 5176054c8f93) sealed NOTURN block 9847, diff 84093, hash 5176054c8f93, parent ff91e65fec4c
2019-07-09 13:40:14 [SEAL] Peer 184a089a (head 5176054c8f93) sealed INTURN block 9847, diff 84093, hash 5176054c8f93, parent ff91e65fec4c
2019-07-09 13:40:14 [NETW] Peer eab783b7 (head 5176054c8f93) reorg to d16bdfaa11d6 (84100) from peer ca09fc4c
2019-07-09 13:40:14 [NETW] Peer eab783b7 (head d16bdfaa11d6) reorg to ca63a19f4a2d (84101) from peer 5a9f2483
2019-07-09 13:40:14 [NETW] Peer 010cdf13 (head 5176054c8f93) reorg to d16bdfaa11d6 (84100) from peer ca09fc4c
2019-07-09 13:40:14 [NETW] Peer 010cdf13 (head d16bdfaa11d6) reorg to ca63a19f4a2d (84101) from peer 5a9f2483
2019-07-09 13:40:14 [NETW] Peer dedb55b3 (head 5176054c8f93) reorg to d16bdfaa11d6 (84100) from peer ca09fc4c
2019-07-09 13:40:14 [NETW] Peer dedb55b3 (head d16bdfaa11d6) reorg to ca63a19f4a2d (84101) from peer eab783b7
2019-07-09 13:40:14 [NETW] Peer 184a089a (head 5176054c8f93) reorg to d16bdfaa11d6 (84100) from peer ca09fc4c
2019-07-09 13:40:14 [NETW] Peer 184a089a (head d16bdfaa11d6) reorg to ca63a19f4a2d (84101) from peer 5a9f2483
2019-07-09 13:40:14 [SIML] Network is stuck:
2019-07-09 13:40:14 [SIML] Peer ca09fc4c, block 9848, diff 84100, hash d16bdfaa11d6, parent 5176054c8f93
2019-07-09 13:40:14 [SIML] Peer 48e3e544, block 9848, diff 84099, hash eca55bab7f85, parent 5176054c8f93
2019-07-09 13:40:14 [SIML] Peer fd450fb0, block 9847, diff 84093, hash 5176054c8f93, parent ff91e65fec4c
2019-07-09 13:40:14 [SIML] Peer 5a9f2483, block 9848, diff 84101, hash ca63a19f4a2d, parent 5176054c8f93
2019-07-09 13:40:14 [SIML] Peer eab783b7, block 9848, diff 84101, hash ca63a19f4a2d, parent 5176054c8f93
2019-07-09 13:40:14 [SIML] Peer 010cdf13, block 9848, diff 84101, hash ca63a19f4a2d, parent 5176054c8f93
2019-07-09 13:40:14 [SIML] Peer dedb55b3, block 9848, diff 84101, hash ca63a19f4a2d, parent 5176054c8f93
2019-07-09 13:40:14 [SIML] Peer 184a089a, block 9848, diff 84101, hash ca63a19f4a2d, parent 5176054c8f93
2019-07-09 13:40:14 [SIML] Network is stuck... Exciting.

The logs do not indicate why it's stuck, which client is in turn now and why does this situation not allow for a reorg? 84101 and 84100 should clearly allow clients to reorganize.

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

Successfully merging this pull request may close these issues.

2 participants