{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1724","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1724/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1724/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1724/events","html_url":"https://github.com/ethereum/go-ethereum/pull/1724","id":103235742,"number":1724,"title":"rpc: return error code for eth_getWork when no work ready","user":{"login":"Gustav-Simonsson","id":293096,"avatar_url":"https://avatars.githubusercontent.com/u/293096?v=3","gravatar_id":"","url":"https://api.github.com/users/Gustav-Simonsson","html_url":"https://github.com/Gustav-Simonsson","followers_url":"https://api.github.com/users/Gustav-Simonsson/followers","following_url":"https://api.github.com/users/Gustav-Simonsson/following{/other_user}","gists_url":"https://api.github.com/users/Gustav-Simonsson/gists{/gist_id}","starred_url":"https://api.github.com/users/Gustav-Simonsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gustav-Simonsson/subscriptions","organizations_url":"https://api.github.com/users/Gustav-Simonsson/orgs","repos_url":"https://api.github.com/users/Gustav-Simonsson/repos","events_url":"https://api.github.com/users/Gustav-Simonsson/events{/privacy}","received_events_url":"https://api.github.com/users/Gustav-Simonsson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-26T10:47:17Z","updated_at":"2015-08-29T16:41:49Z","closed_at":"2015-08-29T08:54:10Z","pull_request":{"url":"https://api.github.com/repos/ethereum/go-ethereum/pulls/1724","html_url":"https://github.com/ethereum/go-ethereum/pull/1724","diff_url":"https://github.com/ethereum/go-ethereum/pull/1724.diff","patch_url":"https://github.com/ethereum/go-ethereum/pull/1724.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/136008483","html_url":"https://github.com/ethereum/go-ethereum/pull/1724#issuecomment-136008483","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/1724","id":136008483,"user":{"login":"sammy007","id":7374093,"avatar_url":"https://avatars.githubusercontent.com/u/7374093?v=3","gravatar_id":"","url":"https://api.github.com/users/sammy007","html_url":"https://github.com/sammy007","followers_url":"https://api.github.com/users/sammy007/followers","following_url":"https://api.github.com/users/sammy007/following{/other_user}","gists_url":"https://api.github.com/users/sammy007/gists{/gist_id}","starred_url":"https://api.github.com/users/sammy007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammy007/subscriptions","organizations_url":"https://api.github.com/users/sammy007/orgs","repos_url":"https://api.github.com/users/sammy007/repos","events_url":"https://api.github.com/users/sammy007/events{/privacy}","received_events_url":"https://api.github.com/users/sammy007/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T16:41:49Z","updated_at":"2015-08-29T16:41:49Z","body":"While testing develop branch with this PR applied I noticed that daemon responds with work while it still catching up. Is it expected behaviour? I think it's ok because actually node is always catching up, it's impossible to predict that node is 100% in sync, but it worth posting here.\r\n\r\n    I0829 19:33:25.173213   15751 chain_manager.go:661] imported 256 block(s) (0 queued 0 ignored) including 62 txs in 3.00820678s. #158750 [e79c44dd / f0ca3c3c]\r\n    I0829 19:33:26.554769   15751 miner.go:109] Can not start mining operation due to network sync (starts when finished)\r\n    I0829 19:33:28.809242   15751 miner.go:109] Can not start mining operation due to network sync (starts when finished)\r\n    I0829 19:33:28.828618   15751 chain_manager.go:661] imported 256 block(s) (0 queued 0 ignored) including 144 txs in 3.655024716s. #159006 [7118fd57 / 1b191ac1]\r\n    I0829 19:33:30.413771   15751 miner.go:119] Starting mining operation (CPU=0 TOT=1)\r\n    I0829 19:33:31.209846   15751 worker.go:540] commit new work on block 159037 with 19 txs & 0 uncles. Took 795.246035ms\r\n    I0829 19:33:39.042680   15751 chain_manager.go:661] imported 256 block(s) (0 queued 0 ignored) including 448 txs in 10.212744298s. #159262 [4a601ac3 / 22298749]\r\n"}}