{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/5091","repository_url":"https://api.github.com/repos/ethereum/cpp-ethereum","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/5091/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/5091/comments","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/5091/events","html_url":"https://github.com/ethereum/cpp-ethereum/issues/5091","id":334816274,"node_id":"MDU6SXNzdWUzMzQ4MTYyNzQ=","number":5091,"title":"In private network, cpp-ethereum's cpu miner stops once a new node joining this network","user":{"login":"azazhu","id":16014148,"node_id":"MDQ6VXNlcjE2MDE0MTQ4","avatar_url":"https://avatars2.githubusercontent.com/u/16014148?v=4","gravatar_id":"","url":"https://api.github.com/users/azazhu","html_url":"https://github.com/azazhu","followers_url":"https://api.github.com/users/azazhu/followers","following_url":"https://api.github.com/users/azazhu/following{/other_user}","gists_url":"https://api.github.com/users/azazhu/gists{/gist_id}","starred_url":"https://api.github.com/users/azazhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azazhu/subscriptions","organizations_url":"https://api.github.com/users/azazhu/orgs","repos_url":"https://api.github.com/users/azazhu/repos","events_url":"https://api.github.com/users/azazhu/events{/privacy}","received_events_url":"https://api.github.com/users/azazhu/received_events","type":"User","site_admin":false},"labels":[{"id":72280214,"node_id":"MDU6TGFiZWw3MjI4MDIxNA==","url":"https://api.github.com/repos/ethereum/cpp-ethereum/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"gumb0","id":1863135,"node_id":"MDQ6VXNlcjE4NjMxMzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1863135?v=4","gravatar_id":"","url":"https://api.github.com/users/gumb0","html_url":"https://github.com/gumb0","followers_url":"https://api.github.com/users/gumb0/followers","following_url":"https://api.github.com/users/gumb0/following{/other_user}","gists_url":"https://api.github.com/users/gumb0/gists{/gist_id}","starred_url":"https://api.github.com/users/gumb0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gumb0/subscriptions","organizations_url":"https://api.github.com/users/gumb0/orgs","repos_url":"https://api.github.com/users/gumb0/repos","events_url":"https://api.github.com/users/gumb0/events{/privacy}","received_events_url":"https://api.github.com/users/gumb0/received_events","type":"User","site_admin":false},"assignees":[{"login":"gumb0","id":1863135,"node_id":"MDQ6VXNlcjE4NjMxMzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1863135?v=4","gravatar_id":"","url":"https://api.github.com/users/gumb0","html_url":"https://github.com/gumb0","followers_url":"https://api.github.com/users/gumb0/followers","following_url":"https://api.github.com/users/gumb0/following{/other_user}","gists_url":"https://api.github.com/users/gumb0/gists{/gist_id}","starred_url":"https://api.github.com/users/gumb0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gumb0/subscriptions","organizations_url":"https://api.github.com/users/gumb0/orgs","repos_url":"https://api.github.com/users/gumb0/repos","events_url":"https://api.github.com/users/gumb0/events{/privacy}","received_events_url":"https://api.github.com/users/gumb0/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-06-22T09:50:13Z","updated_at":"2018-06-27T01:40:42Z","closed_at":null,"author_association":"NONE","body":"**OS:**\r\n two Ubuntu 16.04.4 LTS\r\n\r\n**Issue:**\r\nIn private network, if there is only one node in network, everything works fine: node A can mine blocks and results can be accepted by itself. But once new node B joins this private network, node A's cpu miner stops. Is it a issue?\r\n\r\n**Repro:**\r\n1. launch node A, use geth as console and start mining. 2. launch node B, use geth as console and join node A's private network. 3. node A's miner stops\r\n\r\n**Details:**\r\n1. launch node A and start mining:\r\ncmdline of cpp-ethereum:\r\n```\r\n./aleth --config /data/local/abc/opensource/orig_eth_cppclient/genesis.json -m on -v 5 --network-id 45676 --ipc --listen 30307 --port 30307 --db-path /data/local/abc/opensource/orig_eth_cppclient/data --private \"eth_45676\"\r\n```\r\ncmdline of go-ethereum:\r\n```\r\n./geth attach /data/local/abc/opensource/orig_eth_cppclient/data/geth.ipc\r\n\t\t>>miner.setEtherbase(eth.accounts[0])\r\n\t\t>>miner.start(1)\r\n```\r\noutput of cpp-ethereum:\r\n```\r\n...\r\n2018-06-22 17:33:38 eth trace Generating seal on#c1d77054…#36\r\n2018-06-22 17:33:38 ethsync host Sending a new block (current is #372151a1…, was #7a003d2c…)\r\n2018-06-22 17:33:38 miner2 block Sealing block!\r\n2018-06-22 17:33:38 miner2 bq Queuing block #314aeb70… for import...\r\n2018-06-22 17:33:38 miner2 blockhdr Expected trie root: 56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421\r\n2018-06-22 17:33:38 miner2 blockhdr Expected uncle hash: 1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347\r\n2018-06-22 17:33:38 miner2 bq Block #314aeb70… is 36 parent is #372151a1…\r\n2018-06-22 17:33:38 miner2 bq OK - ready for chain insertion.\r\n2018-06-22 17:33:38 verifier5 blockhdr Expected trie root: 56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421\r\n2018-06-22 17:33:38 verifier5 blockhdr Expected uncle hash: 1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347\r\n2018-06-22 17:33:38 eth blockhdr Expected trie root: 56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421\r\n2018-06-22 17:33:38 eth blockhdr Expected uncle hash: 1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347\r\n2018-06-22 17:33:38 eth chain Attempting import of #314aeb70… ...\r\n2018-06-22 17:33:38 eth overlaydb Closing state DB\r\n2018-06-22 17:33:38 eth block Committing to disk: stateRoot #e3103e1e… = #e3103e1e… = f8518080808080a00f571588cf7cc4b8566dc9464b916f01aed62ff1076524db905424bae3bec9aa808080a0a7c6beb192fcc3e67b492b7256805be7f5fd4bb2dd5a34deef92269aa6f22e8580808080808080\r\n2018-06-22 17:33:38 eth block Committed: stateRoot #e3103e1e… = #e3103e1e… = f8518080808080a00f571588cf7cc4b8566dc9464b916f01aed62ff1076524db905424bae3bec9aa808080a0a7c6beb192fcc3e67b492b7256805be7f5fd4bb2dd5a34deef92269aa6f22e8580808080808080\r\n2018-06-22 17:33:38 eth block finalising enactment. current -> previous, hash is #314aeb70…\r\n2018-06-22 17:33:38 eth chain    Imported and best 4887747 (#36). Has 0 siblings. Route: [#372151a1…, #314aeb70…]\r\n2018-06-22 17:33:38 eth client 1 blocks imported in 0 ms (1795.33 blocks/s) in #36\r\n2018-06-22 17:33:38 eth client Live block: #314aeb70…\r\n2018-06-22 17:33:38 eth overlaydb Closing state DB\r\n2018-06-22 17:33:38 eth overlaydb Closing state DB\r\n2018-06-22 17:33:38 eth client Post state changed.\r\n2018-06-22 17:33:38 eth watch noteChanged: {chain}\r\n2018-06-22 17:33:38 eth trace No transactions to process. 0 pending, 0 queued, 0 future, 0 unverified\r\n2018-06-22 17:33:38 eth client Rejigging seal engine...\r\n2018-06-22 17:33:38 eth block Checking #314aeb70…, parent = #372151a1…\r\n2018-06-22 17:33:38 eth block Post-reward stateRoot: #9b8b87b2…\r\n2018-06-22 17:33:38 eth block --- 9b8b87b208cf548642dc8996be295daff2796494be5f4dec230a8e0318af8cc6\r\n     0000000000000000000000000000000000000000: 0 #:3000000000000000000 [SIMPLE]\r\n     f9086b540e3c8e4b4aed10293f494b958691d358: 0 #:108000000000000000000 [SIMPLE]\r\n\r\n2018-06-22 17:33:38 eth trace Generating seal on#bfd99b9f…#37\r\n...\r\n```\r\n\r\n2.  launch node B and then join node A's network:\r\ncpp-ethereum cmdline: \r\n`./aleth --config /home/data.abc_gpu/opensource/orig_eth_cppclient/genesis.json -m on -v 5 --network-id 45676 --ipc --listen 30307 --port 30307 --db-path /home/data.abc_gpu/opensource/orig_eth_cppclient/data --private \"eth_45676\"\r\n`\r\ngo-ethereum cmdline: \r\n```\r\n./geth attach /home/data.abc_gpu/opensource/orig_eth_cppclient/data/geth.ipc\r\nadmin.addPeer(\"enode://4c9e8fdcbd2a06c66d8ff080edb9abb366828370e0769749a642f6cc6e06c858bdb0f600f5a30d0dab2a40a141eb4eafa9eedc04e729e7e72e7f1a8c906d54d9@10.19.225.196:30307\")\r\n```\t\t\r\n\r\n3.  node A's miner stops\r\noutput of node A:\r\n```\r\n...\r\nB6CCD41AD312451B948A7413F0A142FD40D49347, 0xF9086B540E3C8E4B4AED10293F494B958691D358, 0xEEAAB16BCBF15A0EF6B9635ADF5ABF520A4A297638678627CD2C629CE37C834A, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", 0x22BB3, 0xAD, 0xD8303283, 0x0, 0x5B2CC34B, 0xD68094312E342E302B2B32323664726C696E7578676E75, 0xE78FAC5CC7192FC233EA46227E8CAEFF752E1D8ADD5BDA659C0656283E302AA8, 0x9625D1A8ED7A7180 ] ]\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo -> 19 [ 0xAA540FDABC421C79D2187A05C96F16FABA9625702614F065A7B5DC1A8CB83629, 0x1, 0x0, 0x0 ]\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo GetBlockHeaders (block (hash): #aa540fda…, maxHeaders: 1, skip: 0, reverse: false)\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo <- [ [ 0xB7038ECCDEEBA1BB6080423899B57777F2E241CF8C9CB62FD44482D05C194BB1, 0x1DCC4DE8DEC75D7AAB85B567B6CCD41AD312451B948A7413F0A142FD40D49347, 0xF9086B540E3C8E4B4AED10293F494B958691D358, 0x1FB74EFF874139FCDBE6DBD0C4CC778D6FA9112B7C6EC56CB28F71DBEBD87C97, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", 0x22BF8, 0xAE, 0xD7FA2678, 0x0, 0x5B2CC34C, 0xD68094312E342E302B2B32323664726C696E7578676E75, 0x5F683E0592F19755A6D58AD009C5E77CBB999DFF63B4F0177BBFCC6856D9C215, 0x56F1FED40AFA2AEF ] ]\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo -> 19 [ 0x58, 0x1, 0x0, 0x0 ]\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo GetBlockHeaders (88 max: 1 skip: 0)\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo <- [ [ 0xDE2BF9DF1EC5BAF25895F361747D5FF0DBC647984824529FE76FA8FC2A3AA882, 0x1DCC4DE8DEC75D7AAB85B567B6CCD41AD312451B948A7413F0A142FD40D49347, 0xF9086B540E3C8E4B4AED10293F494B958691D358, 0xA02E702D69CA3FEBF35CC48E42CC70626917796283B80805109024BAB83722FF, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", 0x21506, 0x58, 0xEAE8B0E1, 0x0, 0x5B2CC2F6, 0xD68094312E342E302B2B32323664726C696E7578676E75, 0x790FA5168B6CC8B18F6734143061C31871BD7A32454B519D4EAF6D2A71516C04, 0x7B3B5A7BA8D54823 ] ]\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo -> 19 [ 0x59, 0x55, 0x0, 0x0 ]\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo GetBlockHeaders (89 max: 85 skip: 0)\r\n2018-06-22 17:35:50 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo <- [ [ 0x21906CD2FD33EED93795E3375BF98CF6C4501674FB38AC52F468BC75C01ECE15, 0x1DCC4DE8DEC75D7AAB85B567B6CCD41AD312451B948A7413F0A142FD40D49347, 0xF9086B540E3C8E4B4AED10293F494B958691D358, 0xBE5CAAC8EA5C72F18D7AE5D505CED0CFE18A12539D4DCFA4B8DA6E5D1D33D35D, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, 0x56E81F171BCC55A6FF8345E692C0F86E5B48E01B996CADC001622FB5E363B421, \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x\r\n...\r\n00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", 0x22BB3, 0xAD, 0xD8303283, 0x0, 0x5B2CC34B, 0xD68094312E342E302B2B32323664726C696E7578676E75, 0xE78FAC5CC7192FC233EA46227E8CAEFF752E1D8ADD5BDA659C0656283E302AA8, 0x9625D1A8ED7A7180 ] ]\r\n2018-06-22 17:35:52 eth client Since 2018-06-22 09:35:35.237Z (17): 15ticks\r\n2018-06-22 17:35:57 p2p net <- [ ]\r\n2018-06-22 17:35:57 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo -> 3 [ ]\r\n2018-06-22 17:35:57 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo Latency: 1 ms\r\n2018-06-22 17:36:07 eth client Since 2018-06-22 09:35:52.657Z (15): 15ticks\r\n2018-06-22 17:36:14 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo -> 2 [ ]\r\n2018-06-22 17:36:14 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo Ping ##874aa6af…\r\n2018-06-22 17:36:14 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo <- [ ]\r\n2018-06-22 17:36:22 eth client Since 2018-06-22 09:36:07.662Z (15): 15ticks\r\n2018-06-22 17:36:27 p2p net <- [ ]\r\n2018-06-22 17:36:27 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo -> 3 [ ]\r\n2018-06-22 17:36:27 p2p net 874aa6af…|aleth/1.4.0.dev1-34+commit.226d834a/linux/gnu5.4.0/relwithdebinfo Latency: 1 ms\r\n2018-06-22 17:36:37 eth client Since 2018-06-22 09:36:22.667Z (15): 15ticks\r\n2018-06-22 17:36:41 aleth rpc \r\n...\r\n```\r\n\r\n4. check their blocknumber: node A's blocknumber is 175 and node b's blocknumber is 91\r\n\r\n5. genesis.json\r\n```\r\n{  \r\n\t\"sealEngine\": \"Ethash\",  \r\n\t\"params\": {  \r\n\t\t\"accountStartNonce\": \"0x00\",  \r\n\t\t\"maximumExtraDataSize\": \"0x20\",  \r\n\t\t\"homesteadForkBlock\": \"0x00\",  \r\n\t\t\"EIP150ForkBlock\": \"0x00\",  \r\n\t\t\"EIP158ForkBlock\": \"0x00\",  \r\n\t\t\"byzantiumForkBlock\": \"0x00\",  \r\n\t\t\"constantinopleForkBlock\": \"0x00\",  \r\n\t\t\"minGasLimit\": \"0x1388\",  \r\n\t\t\"maxGasLimit\": \"7fffffffffffffff\",  \r\n\t\t\"tieBreakingGas\": false,  \r\n\t\t\"gasLimitBoundDivisor\": \"0x0400\",  \r\n\t\t\"minimumDifficulty\": \"0x020000\",  \r\n\t\t\"difficultyBoundDivisor\": \"0x0800\",  \r\n\t\t\"durationLimit\": \"0x0d\",  \r\n\t\t\"blockReward\": \"0x4563918244F40000\",  \r\n\t\t\"networkID\" : \"0xB26C\",  \r\n\t\t\"chainID\": \"0x01\",  \r\n\t\t\"allowFutureBlocks\" : true, \r\n\t\t\"daoHardforkBlock\": \"0x00\"\r\n\t},  \r\n\t\"genesis\": {  \r\n\t\t\"nonce\": \"0x0000000000000042\",  \r\n\t\t\"difficulty\": \"0x400000000\",  \r\n\t\t\"mixHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",  \r\n\t\t\"author\": \"0x0000000000000000000000000000000000000000\",  \r\n\t\t\"timestamp\": \"0x00\",  \r\n\t\t\"parentHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",  \r\n\t\t\"extraData\": \"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa\",  \r\n\t\t\"gasLimit\": \"0x1388\"  \r\n\t},  \r\n\t\"accounts\": {  \r\n\t\t\"0000000000000000000000000000000000000001\": { \"precompiled\": { \"name\": \"ecrecover\", \"linear\": { \"base\": 3000, \"word\": 0 } } },  \r\n\t\t\"0000000000000000000000000000000000000002\": { \"precompiled\": { \"name\": \"sha256\", \"linear\": { \"base\": 60, \"word\": 12 } } },  \r\n\t\t\"0000000000000000000000000000000000000003\": { \"precompiled\": { \"name\": \"ripemd160\", \"linear\": { \"base\": 600, \"word\": 120 } } },  \r\n\t\t\"0000000000000000000000000000000000000004\": { \"precompiled\": { \"name\": \"identity\", \"linear\": { \"base\": 15, \"word\": 3 } } },  \r\n\t\t\"0000000000000000000000000000000000000005\": { \"precompiled\": { \"name\": \"modexp\" } },  \r\n\t\t\"0000000000000000000000000000000000000006\": { \"precompiled\": { \"name\": \"alt_bn128_G1_add\", \"linear\": { \"base\": 500, \"word\": 0 } } },  \r\n\t\t\"0000000000000000000000000000000000000007\": { \"precompiled\": { \"name\": \"alt_bn128_G1_mul\", \"linear\": { \"base\": 40000, \"word\": 0 } } },  \r\n\t\t\"0000000000000000000000000000000000000008\": { \"precompiled\": { \"name\": \"alt_bn128_pairing_product\" } }  \r\n\t}  \r\n}  \r\n\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/comments/400515545","html_url":"https://github.com/ethereum/cpp-ethereum/issues/5091#issuecomment-400515545","issue_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/5091","id":400515545,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDUxNTU0NQ==","user":{"login":"azazhu","id":16014148,"node_id":"MDQ6VXNlcjE2MDE0MTQ4","avatar_url":"https://avatars2.githubusercontent.com/u/16014148?v=4","gravatar_id":"","url":"https://api.github.com/users/azazhu","html_url":"https://github.com/azazhu","followers_url":"https://api.github.com/users/azazhu/followers","following_url":"https://api.github.com/users/azazhu/following{/other_user}","gists_url":"https://api.github.com/users/azazhu/gists{/gist_id}","starred_url":"https://api.github.com/users/azazhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azazhu/subscriptions","organizations_url":"https://api.github.com/users/azazhu/orgs","repos_url":"https://api.github.com/users/azazhu/repos","events_url":"https://api.github.com/users/azazhu/events{/privacy}","received_events_url":"https://api.github.com/users/azazhu/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T01:40:42Z","updated_at":"2018-06-27T01:40:42Z","author_association":"NONE","body":"@gumb0 I pulled your fixes and tried. They can fix pervious issues. But I hit another issue.\r\n**Problem:**\r\nOnce Node A stops mining, Node B stops syncing. I have to re-launch Node B to make it sync again.\r\n**Repro:**\r\n1. launch Node A and Node B. Node B addPeer Node A.\r\n2. Node A starts mining. Node B syncs Node A's blocks(but Node B is always behind Node A)\r\n3. Node A stops mining. Node B stops sync(for sample, Node A is at 280 block and Node B gets stuck at 220 block)\r\n4. Close and re-launch Node B. Node B can sync to highest block(both Node A & B reach 280 block)\r\n\r\n"}}
{"actor":{"display_login":"azazhu"}}