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

Clique Mining stops without warning when a vote passes for a new signer #16444

Closed
REPTILEHAUS opened this issue Apr 4, 2018 · 1 comment
Closed

Comments

@REPTILEHAUS
Copy link

I have 3 signers, when another address is voted for the network seems to stop all mining with no error, this happens regularly and i cant seem to find a way (short of editing the geth code) to kick start all mining operations.. they are all just stuck at "Signed recently, must wait for others"

Current getSnapshot with a pending vote (created by the new 4th node), mining quite possibly stopped at this point.

> clique.getSnapshot()
{
  hash: "0xc69c6804bd1b6a48e2679a8badbcf065d61954e1587688b2bff9da32403c3630",
  number: 6758,
  recents: {
    6756: "0x9d75ae5b7433496c71b5f86b0c0417af56362d21",
    6757: "0x90d368f63e35279a444929e9aac5181497760303",
    6758: "0x5ab9e825e673b856d18ef0f174e7db7dc929b6ed"
  },
  signers: {
    0x5ab9e825e673b856d18ef0f174e7db7dc929b6ed: {},
    0x90d368f63e35279a444929e9aac5181497760303: {},
    0x9d75ae5b7433496c71b5f86b0c0417af56362d21: {},
    0xb6091d33eaa29a89debb71db05c6030ec8f70ef3: {}
  },
  tally: {
    0x63c944da66aaadfcb4295f95a3f94a6da9a3e95a: {
      authorize: true,
      votes: 1
    }
  },
  votes: [{
      address: "0x63c944da66aaadfcb4295f95a3f94a6da9a3e95a",
      authorize: true,
      block: 5430,
      signer: "0x9d75ae5b7433496c71b5f86b0c0417af56362d21"
  }]
}
> 

Output from a signer

INFO [04-04|14:34:07] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=618.637µs mgasps=0.000 number=6744 hash=9b9630…63d9e1 cache=0.00B
INFO [04-04|14:34:07] Commit new mining work                   number=6745 txs=0 uncles=1 elapsed=207.027µs
INFO [04-04|14:34:07] 🔗 block reached canonical chain          number=6739 hash=fbe8be…e161b3
INFO [04-04|14:34:07] Signed recently, must wait for others 
INFO [04-04|14:34:09] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=316.708µs mgasps=0.000 number=6745 hash=b2b096…86f9cf cache=0.00B
INFO [04-04|14:34:09] Commit new mining work                   number=6746 txs=0 uncles=1 elapsed=131.128µs
INFO [04-04|14:34:11] Successfully sealed new block            number=6746 hash=56de75…a99ca0
INFO [04-04|14:34:11] 🔨 mined potential block                  number=6746 hash=56de75…a99ca0
INFO [04-04|14:34:11] Commit new mining work                   number=6747 txs=0 uncles=0 elapsed=499.826µs
INFO [04-04|14:34:11] Signed recently, must wait for others 
INFO [04-04|14:34:12] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=646.63µs  mgasps=0.000 number=6745 hash=3c9b15…8a7c2c cache=0.00B
INFO [04-04|14:34:12] Commit new mining work                   number=6746 txs=0 uncles=0 elapsed=80.545µs
INFO [04-04|14:34:13] Successfully sealed new block            number=6746 hash=796b2c…91fcd6
INFO [04-04|14:34:13] 🔨 mined potential block                  number=6746 hash=796b2c…91fcd6
INFO [04-04|14:34:13] Commit new mining work                   number=6747 txs=0 uncles=1 elapsed=515.855µs
INFO [04-04|14:34:13] Signed recently, must wait for others 
INFO [04-04|14:34:14] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=304.251µs mgasps=0.000 number=6747 hash=6dd34e…9b2a70 cache=0.00B
INFO [04-04|14:34:14] Commit new mining work                   number=6748 txs=0 uncles=1 elapsed=144.061µs
INFO [04-04|14:34:14] Signed recently, must wait for others 
INFO [04-04|14:34:15] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=186.32µs  mgasps=0.000 number=6747 hash=dee264…48497a cache=0.00B
INFO [04-04|14:34:16] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=397.35µs  mgasps=0.000 number=6748 hash=de1f04…bbb544 cache=0.00B
INFO [04-04|14:34:16] Commit new mining work                   number=6749 txs=0 uncles=1 elapsed=215.36µs
INFO [04-04|14:34:16] 🔗 block reached canonical chain          number=6743 hash=240631…7390f3
INFO [04-04|14:34:18] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=300.326µs mgasps=0.000 number=6749 hash=486dc1…fe9013 cache=0.00B
INFO [04-04|14:34:18] Commit new mining work                   number=6750 txs=0 uncles=2 elapsed=180.638µs
INFO [04-04|14:34:20] Successfully sealed new block            number=6750 hash=169d4b…329122
INFO [04-04|14:34:20] 🔨 mined potential block                  number=6750 hash=169d4b…329122
INFO [04-04|14:34:20] Commit new mining work                   number=6751 txs=0 uncles=2 elapsed=463.482µs
INFO [04-04|14:34:20] Signed recently, must wait for others 
INFO [04-04|14:34:20] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=320.1µs   mgasps=0.000 number=6750 hash=993d54…1d6565 cache=0.00B
INFO [04-04|14:34:20] Commit new mining work                   number=6751 txs=0 uncles=2 elapsed=164.529µs
INFO [04-04|14:34:22] Successfully sealed new block            number=6751 hash=239cf2…a6770c
INFO [04-04|14:34:22] ⑂ block  became a side fork              number=6746 hash=56de75…a99ca0
INFO [04-04|14:34:22] 🔗 block reached canonical chain          number=6746 hash=796b2c…91fcd6
INFO [04-04|14:34:22] 🔨 mined potential block                  number=6751 hash=239cf2…a6770c
INFO [04-04|14:34:22] Commit new mining work                   number=6752 txs=0 uncles=2 elapsed=478.929µs
INFO [04-04|14:34:22] Signed recently, must wait for others 
INFO [04-04|14:34:25] Commit new mining work                   number=6753 txs=0 uncles=2 elapsed=144.133µs
INFO [04-04|14:34:25] Signed recently, must wait for others 
INFO [04-04|14:34:26] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=326.863µs mgasps=0.000 number=6753 hash=70e412…a1fbdd cache=0.00B
INFO [04-04|14:34:26] Commit new mining work                   number=6754 txs=0 uncles=1 elapsed=220.857µs
INFO [04-04|14:34:27] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=224.616µs mgasps=0.000 number=6753 hash=20914c…ae47d5 cache=0.00B
INFO [04-04|14:34:28] Successfully sealed new block            number=6754 hash=e37ae7…77f253
INFO [04-04|14:34:28] 🔨 mined potential block                  number=6754 hash=e37ae7…77f253
INFO [04-04|14:34:28] Commit new mining work                   number=6755 txs=0 uncles=2 elapsed=523.449µs
INFO [04-04|14:34:28] Signed recently, must wait for others 
INFO [04-04|14:34:30] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=300.275µs mgasps=0.000 number=6755 hash=ac8be6…bcbacc cache=0.00B
INFO [04-04|14:34:30] Commit new mining work                   number=6756 txs=0 uncles=2 elapsed=174.158µs
INFO [04-04|14:34:30] ⑂ block  became a side fork              number=6750 hash=169d4b…329122
INFO [04-04|14:34:30] Signed recently, must wait for others 
INFO [04-04|14:34:32] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=299.048µs mgasps=0.000 number=6756 hash=c1d355…e38cbe cache=0.00B
INFO [04-04|14:34:32] Commit new mining work                   number=6757 txs=0 uncles=1 elapsed=214.736µs
INFO [04-04|14:34:32] 🔗 block reached canonical chain          number=6751 hash=239cf2…a6770c
INFO [04-04|14:34:32] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=167.008µs mgasps=0.000 number=6756 hash=7bd957…1e2045 cache=0.00B
INFO [04-04|14:34:34] Successfully sealed new block            number=6757 hash=7a145a…32fb01
INFO [04-04|14:34:34] 🔨 mined potential block                  number=6757 hash=7a145a…32fb01
INFO [04-04|14:34:34] Commit new mining work                   number=6758 txs=0 uncles=2 elapsed=803.552µs
INFO [04-04|14:34:34] Signed recently, must wait for others 
INFO [04-04|14:34:36] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=288.18µs  mgasps=0.000 number=6758 hash=9bfead…0504d4 cache=0.00B
INFO [04-04|14:34:36] Commit new mining work                   number=6759 txs=0 uncles=2 elapsed=170.856µs
INFO [04-04|14:34:36] Signed recently, must wait for others 
INFO [04-04|14:34:37] Imported new chain segment               blocks=1  txs=0 mgas=0.000 elapsed=603.273µs mgasps=0.000 number=6757 hash=8d4e46…5fc59c cache=0.00B
INFO [04-04|15:04:17] Regenerated local transaction journal    transactions=0 accounts=0
INFO [04-04|16:04:17] Regenerated local transaction journal    transactions=0 accounts=0

Anyone got any advice, tips or tricks for either solving this issue or a workaround to push a signer to validate a block so the network doesnt come to a standstill ?

I had reported a similar issue here for reference #16406

@stale
Copy link

stale bot commented Apr 5, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status:inactive label Apr 5, 2019
@stale stale bot closed this as completed May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant