【发布时间】:2020-05-03 08:31:07
【问题描述】:
我想用 Babe/Grandpa 共识启动一个链。我可以在 UI 中使用 Toolbox->RPC->author->insertKey() 开始块生产。但我不知道如何开始区块终结。
我尝试过设置爷爷钥匙,就像我在Toolbox->RPC->author->insertKey() 中坐着宝贝钥匙一样:
- 密钥类型:
gran - 苏瑞:
//Alice - publicKey:
0x88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee(我也试过sr25519版本0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d)
它没有帮助。
在这里你可以看到块号正确增加,而最终计数器保持为#0:
2020-01-16 15:03:19 Idle (1 peers), best: #101 (0x56ce…7c6a), finalized #0 (0x885c…85d7), ⬇ 0 ⬆ 0
2020-01-16 15:03:21 Imported #102 (0xe984…2776)
2020-01-16 15:03:24 Idle (1 peers), best: #102 (0xe984…2776), finalized #0 (0x885c…85d7), ⬇ 0.1kiB/s ⬆ 10 B/s
2020-01-16 15:03:27 Starting consensus session on top of parent 0xe98487a704c4fb20239df06ba4e8dda9e57c3fa1813b97819c16311c4ac92776
2020-01-16 15:03:29 Idle (1 peers), best: #102 (0xe984…2776), finalized #0 (0x885c…85d7), ⬇ 72 B/s ⬆ 76 B/s
2020-01-16 15:03:31 Imported #103 (0xc3ef…1438)
2020-01-16 15:03:34 Idle (1 peers), best: #103 (0xc3ef…1438), finalized #0 (0x885c…85d7), ⬇ 0.1kiB/s ⬆ 10 B/s
【问题讨论】:
标签: blockchain parity substrate