{"action":"created","issue":{"url":"https://api.github.com/repos/esotericnonsense/bitcoind-ncurses/issues/26","repository_url":"https://api.github.com/repos/esotericnonsense/bitcoind-ncurses","labels_url":"https://api.github.com/repos/esotericnonsense/bitcoind-ncurses/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/esotericnonsense/bitcoind-ncurses/issues/26/comments","events_url":"https://api.github.com/repos/esotericnonsense/bitcoind-ncurses/issues/26/events","html_url":"https://github.com/esotericnonsense/bitcoind-ncurses/issues/26","id":153965832,"number":26,"title":"Block size median","user":{"login":"nshopik","id":4439311,"avatar_url":"https://avatars.githubusercontent.com/u/4439311?v=3","gravatar_id":"","url":"https://api.github.com/users/nshopik","html_url":"https://github.com/nshopik","followers_url":"https://api.github.com/users/nshopik/followers","following_url":"https://api.github.com/users/nshopik/following{/other_user}","gists_url":"https://api.github.com/users/nshopik/gists{/gist_id}","starred_url":"https://api.github.com/users/nshopik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nshopik/subscriptions","organizations_url":"https://api.github.com/users/nshopik/orgs","repos_url":"https://api.github.com/users/nshopik/repos","events_url":"https://api.github.com/users/nshopik/events{/privacy}","received_events_url":"https://api.github.com/users/nshopik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-10T09:47:16Z","updated_at":"2016-05-10T13:56:19Z","closed_at":null,"body":"It would be nice to have block size median for last 144 and 2016 blocks on monitor tab"},"comment":{"url":"https://api.github.com/repos/esotericnonsense/bitcoind-ncurses/issues/comments/218164749","html_url":"https://github.com/esotericnonsense/bitcoind-ncurses/issues/26#issuecomment-218164749","issue_url":"https://api.github.com/repos/esotericnonsense/bitcoind-ncurses/issues/26","id":218164749,"user":{"login":"esotericnonsense","id":7999704,"avatar_url":"https://avatars.githubusercontent.com/u/7999704?v=3","gravatar_id":"","url":"https://api.github.com/users/esotericnonsense","html_url":"https://github.com/esotericnonsense","followers_url":"https://api.github.com/users/esotericnonsense/followers","following_url":"https://api.github.com/users/esotericnonsense/following{/other_user}","gists_url":"https://api.github.com/users/esotericnonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/esotericnonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esotericnonsense/subscriptions","organizations_url":"https://api.github.com/users/esotericnonsense/orgs","repos_url":"https://api.github.com/users/esotericnonsense/repos","events_url":"https://api.github.com/users/esotericnonsense/events{/privacy}","received_events_url":"https://api.github.com/users/esotericnonsense/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T13:56:19Z","updated_at":"2016-05-10T13:56:19Z","body":"I recall looking into this in the past. If I remember correctly the issue is that there's no way to do it without querying bitcoind for the last X blocks which can take a lot of time.\r\n\r\nI've been musing how to solve these sorts of problems and I can see two reasonable ways:\r\n\r\n1) pull requests into Bitcoin Core that add the necessary API calls\r\n2) add some persistent storage (sqlite?) so that the crawling only has to be done once"}}