{"action":"created","issue":{"url":"https://api.github.com/repos/cryptonomex/graphene/issues/151","labels_url":"https://api.github.com/repos/cryptonomex/graphene/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/cryptonomex/graphene/issues/151/comments","events_url":"https://api.github.com/repos/cryptonomex/graphene/issues/151/events","html_url":"https://github.com/cryptonomex/graphene/issues/151","id":94336256,"number":151,"title":"Witness node produces blocks when forked","user":{"login":"nathanhourt","id":271977,"avatar_url":"https://avatars.githubusercontent.com/u/271977?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanhourt","html_url":"https://github.com/nathanhourt","followers_url":"https://api.github.com/users/nathanhourt/followers","following_url":"https://api.github.com/users/nathanhourt/following{/other_user}","gists_url":"https://api.github.com/users/nathanhourt/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanhourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanhourt/subscriptions","organizations_url":"https://api.github.com/users/nathanhourt/orgs","repos_url":"https://api.github.com/users/nathanhourt/repos","events_url":"https://api.github.com/users/nathanhourt/events{/privacy}","received_events_url":"https://api.github.com/users/nathanhourt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cryptonomex/graphene/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"nathanhourt","id":271977,"avatar_url":"https://avatars.githubusercontent.com/u/271977?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanhourt","html_url":"https://github.com/nathanhourt","followers_url":"https://api.github.com/users/nathanhourt/followers","following_url":"https://api.github.com/users/nathanhourt/following{/other_user}","gists_url":"https://api.github.com/users/nathanhourt/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanhourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanhourt/subscriptions","organizations_url":"https://api.github.com/users/nathanhourt/orgs","repos_url":"https://api.github.com/users/nathanhourt/repos","events_url":"https://api.github.com/users/nathanhourt/events{/privacy}","received_events_url":"https://api.github.com/users/nathanhourt/received_events","type":"User","site_admin":false},"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":15,"closed_issues":59,"state":"open","created_at":"2015-06-19T21:54:27Z","updated_at":"2015-07-13T13:49:10Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-10T16:03:47Z","updated_at":"2015-07-13T13:55:26Z","closed_at":"2015-07-13T13:49:10Z","body":"A witness can get forked and continues producing blocks on that fork. Add a rule to the witness node that it will not produce blocks by witness ID `W` if the head block was also produced by `W`. This behavior should be suppressable (allowing the node to produce consecutive blocks by the same witness) using a command line flag."},"comment":{"url":"https://api.github.com/repos/cryptonomex/graphene/issues/comments/120936017","html_url":"https://github.com/cryptonomex/graphene/issues/151#issuecomment-120936017","issue_url":"https://api.github.com/repos/cryptonomex/graphene/issues/151","id":120936017,"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},"created_at":"2015-07-13T13:55:26Z","updated_at":"2015-07-13T13:55:26Z","body":"Unless there is manual intervention no witness on a fork with below 33% witness participation will produce blocks.  This is designed to prevent minority forks from growing without manual intervention.  If a minority fork gets too long (beyond the undo history)  it could cause some nodes to get stuck on that fork.\r\n\r\nIn theory the only thing that should cause a split is network connectivity issues or a software bug.  In either event, the minority fork should stop producing.  \r\n\r\nIf the network fragments into more than 3 pieces each with less than 33% then manual intervention should be required to get everyone back on the same page.   "}}