{"action":"created","issue":{"url":"https://api.github.com/repos/cryptonomex/graphene/issues/116","labels_url":"https://api.github.com/repos/cryptonomex/graphene/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/cryptonomex/graphene/issues/116/comments","events_url":"https://api.github.com/repos/cryptonomex/graphene/issues/116/events","html_url":"https://github.com/cryptonomex/graphene/issues/116","id":92176976,"number":116,"title":"Verify Database Version when Opening","user":{"login":"bytemaster","id":347290,"avatar_url":"https://avatars.githubusercontent.com/u/347290?v=3","gravatar_id":"","url":"https://api.github.com/users/bytemaster","html_url":"https://github.com/bytemaster","followers_url":"https://api.github.com/users/bytemaster/followers","following_url":"https://api.github.com/users/bytemaster/following{/other_user}","gists_url":"https://api.github.com/users/bytemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/bytemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytemaster/subscriptions","organizations_url":"https://api.github.com/users/bytemaster/orgs","repos_url":"https://api.github.com/users/bytemaster/repos","events_url":"https://api.github.com/users/bytemaster/events{/privacy}","received_events_url":"https://api.github.com/users/bytemaster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cryptonomex/graphene/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cryptonomex/graphene/milestones/1","html_url":"https://github.com/cryptonomex/graphene/milestones/alpha","labels_url":"https://api.github.com/repos/cryptonomex/graphene/milestones/1/labels","id":1173116,"number":1,"title":"alpha","description":"","creator":{"login":"vikramrajkumar","id":793567,"avatar_url":"https://avatars.githubusercontent.com/u/793567?v=3","gravatar_id":"","url":"https://api.github.com/users/vikramrajkumar","html_url":"https://github.com/vikramrajkumar","followers_url":"https://api.github.com/users/vikramrajkumar/followers","following_url":"https://api.github.com/users/vikramrajkumar/following{/other_user}","gists_url":"https://api.github.com/users/vikramrajkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/vikramrajkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikramrajkumar/subscriptions","organizations_url":"https://api.github.com/users/vikramrajkumar/orgs","repos_url":"https://api.github.com/users/vikramrajkumar/repos","events_url":"https://api.github.com/users/vikramrajkumar/events{/privacy}","received_events_url":"https://api.github.com/users/vikramrajkumar/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":44,"state":"open","created_at":"2015-06-19T21:54:27Z","updated_at":"2015-06-30T19:41:59Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-30T19:17:12Z","updated_at":"2015-06-30T20:23:02Z","closed_at":null,"body":"Detect when the software has changed and requires a reindex."},"comment":{"url":"https://api.github.com/repos/cryptonomex/graphene/issues/comments/117330349","html_url":"https://github.com/cryptonomex/graphene/issues/116#issuecomment-117330349","issue_url":"https://api.github.com/repos/cryptonomex/graphene/issues/116","id":117330349,"user":{"login":"VoR0220","id":7756785,"avatar_url":"https://avatars.githubusercontent.com/u/7756785?v=3","gravatar_id":"","url":"https://api.github.com/users/VoR0220","html_url":"https://github.com/VoR0220","followers_url":"https://api.github.com/users/VoR0220/followers","following_url":"https://api.github.com/users/VoR0220/following{/other_user}","gists_url":"https://api.github.com/users/VoR0220/gists{/gist_id}","starred_url":"https://api.github.com/users/VoR0220/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoR0220/subscriptions","organizations_url":"https://api.github.com/users/VoR0220/orgs","repos_url":"https://api.github.com/users/VoR0220/repos","events_url":"https://api.github.com/users/VoR0220/events{/privacy}","received_events_url":"https://api.github.com/users/VoR0220/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T20:23:02Z","updated_at":"2015-06-30T20:23:02Z","body":"2 questions: \r\n\r\n1) Is there already a reindex method written for db? Would we use leveldb or the db library? \r\n\r\n2) How would one go about detecting this? Right now the method that comes to mind would be seeing if 50% or more of witness nodes are running a newer version of the code and then hardfork (if not already done) to make the blockchain that version of the code. Where would one look to verify what software is running on a witness node? "}}