10000 Can't product block after restart docker. ## 重启docker后,再启动节点不出块 · Issue #549 · citahub/cita · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can't product block after restart docker. ## 重启docker后,再启动节点不出块 #549

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

Closed
jiangxianliang007 opened this issue May 7, 2019 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@jiangxianliang007
Copy link
Contributor

Description

在一台服务器上 部署的4个节点,重启docker后不出块,

Versions

v0.22.0-151-g53de566-dev

Additional Information

所有节点BFT日志
2019-05-06T14:14:31.086181572+08:00 - INFO - CITA:consensus:cita-bft
2019-05-06T14:14:31.086233198+08:00 - INFO - Version: HEAD-8ace8020
2019-05-06T14:14:31.125968248+08:00 - INFO - Session initialized
2019-05-06T14:14:31.225858727+08:00 - INFO - Session initialized
2019-05-06T14:14:31.260124793+08:00 - WARN - handle_proposal Bft { h: 0, r: 0, s: 0 } is_round_proposer Err(NotProposer(Mismatch { expected: 0x783cc158bb93cd5ca4ba88a1430fee486b110464, found: 0x8db45d9f4ba7539b
bd518e290bde1f9cb4bb574c }))2019-05-06T14:14:33.244153430+08:00 - INFO - receive_new_status Bft { h: 2493125, r: 0, s: 8 } get new chain status h: 2493125, r: 0, cost time: 1.998721416s
2019-05-06T14:14:34.249216664+08:00 - INFO - new_proposal Bft { h: 2493126, r: 0, s: 0 } proof is old; proof height 2493124
2019-05-06T14:15:47.629646502+08:00 - WARN - System clock seems off!!!
2019-05-06T14:15:55.288553559+08:00 - INFO - new_proposal Bft { h: 2493126, r: 5, s: 0 } proof is old; proof height 2493124
2019-05-06T14:17:14.377638008+08:00 - WARN - System clock seems off!!!
2019-05-06T14:18:10.221659467+08:00 - WARN - System clock seems off!!!

2019-05-06T14:14:32.068874593+08:00 - INFO - CITA:consensus:cita-bft
2019-05-06T14:14:32.068931701+08:00 - INFO - Version: HEAD-8ace8020
2019-05-06T14:14:32.114743148+08:00 - INFO - Session initialized
2019-05-06T14:14:32.273965513+08:00 - INFO - Session initialized
2019-05-06T14:14:32.326674929+08:00 - WARN - handle_proposal Bft { h: 0, r: 0, s: 0 } is_round_proposer Err(NotProposer(Mismatch { expected: 0x783cc158bb93cd5ca4ba88a1430fee486b110464, found: 0x8db45d9f4ba7539b
bd518e290bde1f9cb4bb574c }))2019-05-06T14:14:33.956001206+08:00 - INFO - receive_new_status Bft { h: 2493125, r: 0, s: 8 } get new chain status h: 2493125, r: 0, cost time: 1.664116091s
2019-05-06T14:14:57.671501325+08:00 - INFO - new_proposal Bft { h: 2493126, r: 3, s: 0 } proof is old; proof height 2493124
2019-05-06T14:14:57.909639303+08:00 - WARN - System clock seems off!!!
2019-05-06T14:16:03.901645063+08:00 - WARN - System clock seems off!!!

@jiangxianliang007 jiangxianliang007 added the bug Something isn't working label May 7, 2019
@jiangxianliang007
Copy link
Contributor Author

rpc getMetaData
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"blockInterval": 3000,
"chainId": 0,
"chainIdV1": "0x1",
"chainName": "test-chain",
"economicalModel": 1,
"genesisTimestamp": 1548669546488,
"operator": "test-operator",
"tokenAvatar": "https://cdn.cryptape.com/icon_appchain.png",
"tokenName": "Nervos AppChain Test Token",
"tokenSymbol": "NATT",
"validators": [
"0x8db45d9f4ba7539bbd518e290bde1f9cb4bb574c",
"0x783cc158bb93cd5ca4ba88a1430fee486b110464",
"0xffffffffffffffffffffffffffffffffff020010",
"0x48b52861055f284cb10dc0c9fdee212578db4d71",
"0x63ed9d96b25ccb1ee9fee46daad210503477ed80"
],
"version": 1,
"website": "https://www.example.com"
}
}

validators 的 0xffffffffffffffffffffffffffffffffff020010 不知道怎么来的。

@boundless-forest
Copy link
Contributor

这咋把 PriceManager 的地址加进来了呢

pub const PRICE_MANAGEMENT: &str = "ffffffffffffffffffffffffffffffffff020010";

@kaikai1024
Copy link
Contributor

Please use https://github.com/cryptape/cita-op-helper to post more info.

@leeyr338
Copy link
Contributor
leeyr338 commented May 7, 2019

The validator 0xffffffffffffffffffffffffffffffffff020010, seems some one added by mistake.
Would you please double check about this?

The PR citahub/cita-bft#109 will fix :

WARN - handle_proposal Bft { h: 0, r: 0, s: 0 } is_round_proposer Err(NotProposer(Mismatch { expected: 0x783cc158bb93cd5ca4ba88a1430fee486b110464, found: 0x8db45d9f4ba7539b
bd518e290bde1f9cb4bb574c }))

@leeyr338 leeyr338 assigned jerry-yu and leeyr338 and unassigned kaikai1024 May 7, 2019
@kaikai1024
Copy link
Contributor

Will close it after update the cita-bft submodule.

@kaikai1024 kaikai1024 changed the title 重启docker后,再启动节点不出块 Can't product block after restart docker. ## 重启docker后,再启动节点不出块 May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants
0