{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3000","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3000/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3000/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3000/events","html_url":"https://github.com/ethereum/go-ethereum/issues/3000","id":177182822,"number":3000,"title":"Very high difficulty in a private chain","user":{"login":"wawrzek","id":968748,"avatar_url":"https://avatars0.githubusercontent.com/u/968748?v=3","gravatar_id":"","url":"https://api.github.com/users/wawrzek","html_url":"https://github.com/wawrzek","followers_url":"https://api.github.com/users/wawrzek/followers","following_url":"https://api.github.com/users/wawrzek/following{/other_user}","gists_url":"https://api.github.com/users/wawrzek/gists{/gist_id}","starred_url":"https://api.github.com/users/wawrzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wawrzek/subscriptions","organizations_url":"https://api.github.com/users/wawrzek/orgs","repos_url":"https://api.github.com/users/wawrzek/repos","events_url":"https://api.github.com/users/wawrzek/events{/privacy}","received_events_url":"https://api.github.com/users/wawrzek/received_events","type":"User","site_admin":false},"labels":[{"id":402635574,"url":"https://api.github.com/repos/ethereum/go-ethereum/labels/private%20network","name":"private network","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-15T13:51:46Z","updated_at":"2017-03-18T21:19:10Z","closed_at":"2016-09-22T13:50:27Z","body":"#### System information\n\nGeth version: 1.4.11 and 1.4.10\nOS & Version: Linux (Ubuntu 16.04 LTS0\n\nI have few private/consortium  test network. Recently I noticed that it's extremely hard to mine in them.  **eth.getBlock('pending', true)** returns  **difficulty: 17171480576**, even when network was initialized with **\"difficulty\": \"0x0200\"**.\n\nThat might be recent regression, because I don't have the same problem in older network (geth 1.4.9). The old network was using **--genesis** option and the new doesn't.\n"},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/287575570","html_url":"https://github.com/ethereum/go-ethereum/issues/3000#issuecomment-287575570","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3000","id":287575570,"user":{"login":"drouillard","id":484787,"avatar_url":"https://avatars3.githubusercontent.com/u/484787?v=3","gravatar_id":"","url":"https://api.github.com/users/drouillard","html_url":"https://github.com/drouillard","followers_url":"https://api.github.com/users/drouillard/followers","following_url":"https://api.github.com/users/drouillard/following{/other_user}","gists_url":"https://api.github.com/users/drouillard/gists{/gist_id}","starred_url":"https://api.github.com/users/drouillard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drouillard/subscriptions","organizations_url":"https://api.github.com/users/drouillard/orgs","repos_url":"https://api.github.com/users/drouillard/repos","events_url":"https://api.github.com/users/drouillard/events{/privacy}","received_events_url":"https://api.github.com/users/drouillard/received_events","type":"User","site_admin":false},"created_at":"2017-03-18T21:19:10Z","updated_at":"2017-03-18T21:19:10Z","body":"In case anyone else comes across this in a google search -- when you first fire up your console run\r\n\r\n```\r\nadmin.nodeInfo\r\n```\r\n\r\nThe difficulty should be what you expect (1024) , not a number like 17179869184. What could be happening is that you are using variables in the arguments that are being passed and geth is not finding the genesis block at the specified location. As a result it is creating *another* instance, but this time using the hardcoded defaults. I was running Ubuntu 16.04 on Digital Ocean and \r\n\r\n```\r\ngeth --datadir \"$etherum_home/chain\" console 2> console.log\r\n```\r\n\r\nafter running init in the location specified by $ethereum_home. This command was actually using /chain/ (off the root path) instead of what I expected (where I had set the env variable)\r\n\r\n"}}
{"actor":{"display_login":"drouillard"}}