{"action":"created","issue":{"url":"https://api.github.com/repos/interledger/rfcs/issues/117","repository_url":"https://api.github.com/repos/interledger/rfcs","labels_url":"https://api.github.com/repos/interledger/rfcs/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/interledger/rfcs/issues/117/comments","events_url":"https://api.github.com/repos/interledger/rfcs/issues/117/events","html_url":"https://github.com/interledger/rfcs/issues/117","id":184200222,"number":117,"title":"RFC-2: Combine PREFIX and THRESHOLD types","user":{"login":"adrianhopebailie","id":49902,"avatar_url":"https://avatars.githubusercontent.com/u/49902?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhopebailie","html_url":"https://github.com/adrianhopebailie","followers_url":"https://api.github.com/users/adrianhopebailie/followers","following_url":"https://api.github.com/users/adrianhopebailie/following{/other_user}","gists_url":"https://api.github.com/users/adrianhopebailie/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhopebailie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhopebailie/subscriptions","organizations_url":"https://api.github.com/users/adrianhopebailie/orgs","repos_url":"https://api.github.com/users/adrianhopebailie/repos","events_url":"https://api.github.com/users/adrianhopebailie/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhopebailie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T11:09:54Z","updated_at":"2016-12-11T17:09:36Z","closed_at":"2016-12-11T17:09:36Z","body":"Given #87 the threshold type becomes very simple. Instead of a signature and a public key in the payload it has a set of subfulfillments/subconditions and a threshold.\n\nOne could think of the PREFIX type then as simply a THRESHOLD type with a prefix, a threshold of 1 and a set of 1 subfulfillment.\n\nIf we simply add a prefix to the THRESHOLD type we only have one type of \"compound\" condition (i.e. it can contain other conditions). All other conditions types are simple (they can not contain subconditions). This could dramatically simplify things in how we describe conditions (and triggers).\n\nProposed ASN1:\n\n``` asn1\nThresholdFingerprintContents ::= SEQUENCE {\n  prefix OCTET STRING,\n  threshold INTEGER (0..4294967295),\n  subconditions SEQUENCE OF Condition\n}\n\nThresholdFulfillmentPayload ::= SEQUENCE {\n  prefix OCTET STRING,\n  threshold INTEGER (0..4294967295),\n  subconditions SEQUENCE OF Condition,\n  subfulfillments SEQUENCE OF Fulfillment\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/interledger/rfcs/issues/comments/266293742","html_url":"https://github.com/interledger/rfcs/issues/117#issuecomment-266293742","issue_url":"https://api.github.com/repos/interledger/rfcs/issues/117","id":266293742,"user":{"login":"adrianhopebailie","id":49902,"avatar_url":"https://avatars.githubusercontent.com/u/49902?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhopebailie","html_url":"https://github.com/adrianhopebailie","followers_url":"https://api.github.com/users/adrianhopebailie/followers","following_url":"https://api.github.com/users/adrianhopebailie/following{/other_user}","gists_url":"https://api.github.com/users/adrianhopebailie/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhopebailie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhopebailie/subscriptions","organizations_url":"https://api.github.com/users/adrianhopebailie/orgs","repos_url":"https://api.github.com/users/adrianhopebailie/repos","events_url":"https://api.github.com/users/adrianhopebailie/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhopebailie/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T17:09:36Z","updated_at":"2016-12-11T17:09:36Z","body":"After discussion we resolved to keep these as separate types for simplicity"}}
{"actor":{"display_login":"adrianhopebailie"}}