{"action":"created","issue":{"url":"https://api.github.com/repos/OmniLayer/omnicore/issues/133","labels_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/133/comments","events_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/133/events","html_url":"https://github.com/OmniLayer/omnicore/pull/133","id":94868858,"number":133,"title":"Report progress based on transactions, report estimated time remaining","user":{"login":"dexX7","id":5836089,"avatar_url":"https://avatars.githubusercontent.com/u/5836089?v=3","gravatar_id":"","url":"https://api.github.com/users/dexX7","html_url":"https://github.com/dexX7","followers_url":"https://api.github.com/users/dexX7/followers","following_url":"https://api.github.com/users/dexX7/following{/other_user}","gists_url":"https://api.github.com/users/dexX7/gists{/gist_id}","starred_url":"https://api.github.com/users/dexX7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dexX7/subscriptions","organizations_url":"https://api.github.com/users/dexX7/orgs","repos_url":"https://api.github.com/users/dexX7/repos","events_url":"https://api.github.com/users/dexX7/events{/privacy}","received_events_url":"https://api.github.com/users/dexX7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OmniLayer/omnicore/labels/ready%20for%20review","name":"ready for review","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-14T05:04:44Z","updated_at":"2015-07-14T05:52:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OmniLayer/omnicore/pulls/133","html_url":"https://github.com/OmniLayer/omnicore/pull/133","diff_url":"https://github.com/OmniLayer/omnicore/pull/133.diff","patch_url":"https://github.com/OmniLayer/omnicore/pull/133.patch"},"body":"- Calculating the progress based on transactions is more accurate than using the number of blocks.\r\n\r\n- The reporting frequency can be configured with `\"-omniprogressfrequency\"` (default: 30 seconds).\r\n\r\n- An estimation of the remaining time to finish the scanning process is reported.\r\n\r\nIn action:\r\n\r\n![reporting](https://cloud.githubusercontent.com/assets/5836089/8666769/158c519c-29f6-11e5-85e1-520664957304.png)\r\n\r\nThis might be a bit too much information at once, and unfortunally, but I'm not sure, if this is just me, the first ~20 % are too optimistic, which might be frustrating."},"comment":{"url":"https://api.github.com/repos/OmniLayer/omnicore/issues/comments/121138318","html_url":"https://github.com/OmniLayer/omnicore/pull/133#issuecomment-121138318","issue_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/133","id":121138318,"user":{"login":"zathras-crypto","id":5633351,"avatar_url":"https://avatars.githubusercontent.com/u/5633351?v=3","gravatar_id":"","url":"https://api.github.com/users/zathras-crypto","html_url":"https://github.com/zathras-crypto","followers_url":"https://api.github.com/users/zathras-crypto/followers","following_url":"https://api.github.com/users/zathras-crypto/following{/other_user}","gists_url":"https://api.github.com/users/zathras-crypto/gists{/gist_id}","starred_url":"https://api.github.com/users/zathras-crypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zathras-crypto/subscriptions","organizations_url":"https://api.github.com/users/zathras-crypto/orgs","repos_url":"https://api.github.com/users/zathras-crypto/repos","events_url":"https://api.github.com/users/zathras-crypto/events{/privacy}","received_events_url":"https://api.github.com/users/zathras-crypto/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T05:52:56Z","updated_at":"2015-07-14T05:52:56Z","body":"> I think it provides almost no gain, because we'd still have to fetch the blocks and compare the transactions. parseTransaction is fast - just as a ballpart: like 0.01 ms.\r\n\r\nNot sure I follow you here dude?  If we have a list of txids to parse we only fetch those specific transactions, not every transaction in every block.  It's avoiding 5 gazillion ```GetTransaction``` calls rather than avoiding ```parseTransaction``` because ```GetTransaction``` is what has to read in the block from the chain (where the bottleneck is).\r\n\r\nLong story short I think the fastest method is a list of txids, but an exclude or include list for blocks to scan is almost as good so I'd be perfectly fine with that too :)"}}