{"action":"created","issue":{"url":"https://api.github.com/repos/ethereumproject/go-ethereum/issues/127","repository_url":"https://api.github.com/repos/ethereumproject/go-ethereum","labels_url":"https://api.github.com/repos/ethereumproject/go-ethereum/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/ethereumproject/go-ethereum/issues/127/comments","events_url":"https://api.github.com/repos/ethereumproject/go-ethereum/issues/127/events","html_url":"https://github.com/ethereumproject/go-ethereum/issues/127","id":205135810,"number":127,"title":"Improve status log","user":{"login":"splix","id":48364,"avatar_url":"https://avatars3.githubusercontent.com/u/48364?v=4","gravatar_id":"","url":"https://api.github.com/users/splix","html_url":"https://github.com/splix","followers_url":"https://api.github.com/users/splix/followers","following_url":"https://api.github.com/users/splix/following{/other_user}","gists_url":"https://api.github.com/users/splix/gists{/gist_id}","starred_url":"https://api.github.com/users/splix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splix/subscriptions","organizations_url":"https://api.github.com/users/splix/orgs","repos_url":"https://api.github.com/users/splix/repos","events_url":"https://api.github.com/users/splix/events{/privacy}","received_events_url":"https://api.github.com/users/splix/received_events","type":"User","site_admin":false},"labels":[{"id":409717980,"url":"https://api.github.com/repos/ethereumproject/go-ethereum/labels/New%20Feature","name":"New Feature","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-03T11:37:51Z","updated_at":"2017-11-23T01:35:29Z","closed_at":null,"author_association":"OWNER","body":"Currently geth has non-informative log, displaying download status only every 2048 blocks, which can take several hours per log line for block range 2,4xx,xxx.\r\n\r\nIt's better to display status every 1 minute, with details similar to Parity's. Suggested log is:\r\n```\r\n2017-02-03 16:49:00  Sync   #3124227 of #3124363 c76c…34e7   77/ 242/ 7 blk/tx/mgas sec    1/ 4/25 peers\r\n2017-02-03 16:50:00  Sync   #3124247 of #3124363 75e4…8eff   51/  51/ 5 blk/tx/mgas sec    1/ 4/25 peers\r\n2017-02-03 16:51:00  Sync   #3124567 of #3124363 9af3…34ae  117/ 129/11 blk/tx/mgas sec    2/ 5/25 peers\r\n2017-02-03 16:52:00  Sync   #3124787 of #3124363 1e3a…8351    9/   6/ 1 blk/tx/mgas sec    1/ 7/25 peers\r\n2017-02-03 16:52:05  Import #3124788             84e1…1ff4        15/ 7 tx/mgas            3/10/25 peers\r\n2017-02-03 16:52:25  Import #3124789             9e45…a241         5/ 1 tx/mgas            5/12/25 peers\r\n2017-02-03 16:52:45  Import #3124790             d819…f71c         0/ 0 tx/mgas           11/18/25 peers\r\n```\r\n\r\nWhere:\r\n\r\n- `Fast`/`Sync` for initial sync, `Import` after that\r\n- `#3124787 of #3124363` - block X of total height Y\r\n- `c76c…34e7` block hash\r\n- `77/ 242/ 7 blk/tx/mgas sec` performance for past minute, avg blocks/transactions/mgas processed per second. 3 character for block, 4 for transactions, 2 for mgas\r\n- `1/ 4/25 peers` download from 1 peer, connected to 4, of max 25. 2 characters for each part"},"comment":{"url":"https://api.github.com/repos/ethereumproject/go-ethereum/issues/comments/346515027","html_url":"https://github.com/ethereumproject/go-ethereum/issues/127#issuecomment-346515027","issue_url":"https://api.github.com/repos/ethereumproject/go-ethereum/issues/127","id":346515027,"user":{"login":"splix","id":48364,"avatar_url":"https://avatars3.githubusercontent.com/u/48364?v=4","gravatar_id":"","url":"https://api.github.com/users/splix","html_url":"https://github.com/splix","followers_url":"https://api.github.com/users/splix/followers","following_url":"https://api.github.com/users/splix/following{/other_user}","gists_url":"https://api.github.com/users/splix/gists{/gist_id}","starred_url":"https://api.github.com/users/splix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splix/subscriptions","organizations_url":"https://api.github.com/users/splix/orgs","repos_url":"https://api.github.com/users/splix/repos","events_url":"https://api.github.com/users/splix/events{/privacy}","received_events_url":"https://api.github.com/users/splix/received_events","type":"User","site_admin":false},"created_at":"2017-11-23T01:35:29Z","updated_at":"2017-11-23T01:35:29Z","author_association":"OWNER","body":"1. just nothing, looks like it stuck. tried few times, blank screen, or error logs if try to emulate network problems. so geth works, but doesn't give status feedback log\r\n3. there will be _only_ sync and import in that status. it's not logs\r\n4. but it will always be 98% or 99%, except initial import, why? and if you need it, time in hours makes more sense during initial import, rather than percentage\r\n5. ah, I see, it was on `STATUS SYNC Discover` mode. I didn't plan Discover mode initially, only sync, so didn't realize it's not a sync. let's discuss it on separate ticket do we need discover feedback and if we need how it should look like (because _current block num_ and _blks/txs/mgas sec_ are definitely meaningless in that context)\r\n6. let's make good default output. users will never dig into command line options for that, they will quit instead"}}
{"actor":{"display_login":"splix"}}