{"action":"created","issue":{"url":"https://api.github.com/repos/sipa/bitcoin/issues/48","labels_url":"https://api.github.com/repos/sipa/bitcoin/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/sipa/bitcoin/issues/48/comments","events_url":"https://api.github.com/repos/sipa/bitcoin/issues/48/events","html_url":"https://github.com/sipa/bitcoin/pull/48","id":128691974,"number":48,"title":"[segnet3 hard-fork] Allow arbitrary commitment tree structure.","user":{"login":"maaku","id":69154,"avatar_url":"https://avatars.githubusercontent.com/u/69154?v=3","gravatar_id":"","url":"https://api.github.com/users/maaku","html_url":"https://github.com/maaku","followers_url":"https://api.github.com/users/maaku/followers","following_url":"https://api.github.com/users/maaku/following{/other_user}","gists_url":"https://api.github.com/users/maaku/gists{/gist_id}","starred_url":"https://api.github.com/users/maaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maaku/subscriptions","organizations_url":"https://api.github.com/users/maaku/orgs","repos_url":"https://api.github.com/users/maaku/repos","events_url":"https://api.github.com/users/maaku/events{/privacy}","received_events_url":"https://api.github.com/users/maaku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-26T01:29:01Z","updated_at":"2016-02-01T17:07:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sipa/bitcoin/pulls/48","html_url":"https://github.com/sipa/bitcoin/pull/48","diff_url":"https://github.com/sipa/bitcoin/pull/48.diff","patch_url":"https://github.com/sipa/bitcoin/pull/48.patch"},"body":"The witness root is allowed to be placed at an arbitrary position up to seven layers deep in a Merkle tree structure. The witness nonce is now the branch through the commitment tree to the witness root, and a single byte is added to the commitment output specifying this path in compact form. This allows other consensus commitments to be added in the future with a minimal number of bytes and without requiring a certain position for each commitment in the tree.\r\n\r\nThis hard-forks segnet3 as it changes the witness commitment structure."},"comment":{"url":"https://api.github.com/repos/sipa/bitcoin/issues/comments/178071868","html_url":"https://github.com/sipa/bitcoin/pull/48#issuecomment-178071868","issue_url":"https://api.github.com/repos/sipa/bitcoin/issues/48","id":178071868,"user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T17:07:23Z","updated_at":"2016-02-01T17:07:23Z","body":"The ideas here interact with Peter Todd's suggestion to allow unvalidated data inside block witnesses, instead of using further P2P changes for later commitments.\r\n\r\nIf we're going to do an incompatible change, can you have a look at http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-February/012313.html ?"}}