{"action":"closed","number":97,"pull_request":{"url":"https://api.github.com/repos/mazaclub/encompass/pulls/97","id":36109370,"html_url":"https://github.com/mazaclub/encompass/pull/97","diff_url":"https://github.com/mazaclub/encompass/pull/97.diff","patch_url":"https://github.com/mazaclub/encompass/pull/97.patch","issue_url":"https://api.github.com/repos/mazaclub/encompass/issues/97","number":97,"state":"closed","locked":false,"title":"Chainhooks","user":{"login":"Kefkius","id":6020810,"avatar_url":"https://avatars.githubusercontent.com/u/6020810?v=3","gravatar_id":"","url":"https://api.github.com/users/Kefkius","html_url":"https://github.com/Kefkius","followers_url":"https://api.github.com/users/Kefkius/followers","following_url":"https://api.github.com/users/Kefkius/following{/other_user}","gists_url":"https://api.github.com/users/Kefkius/gists{/gist_id}","starred_url":"https://api.github.com/users/Kefkius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kefkius/subscriptions","organizations_url":"https://api.github.com/users/Kefkius/orgs","repos_url":"https://api.github.com/users/Kefkius/repos","events_url":"https://api.github.com/users/Kefkius/events{/privacy}","received_events_url":"https://api.github.com/users/Kefkius/received_events","type":"User","site_admin":false},"body":"Chainhooks allow the active chain to plug into arbitrary functions. This extends their functionality.\r\n\r\nChainhooks work just as plugin hooks work. A decorator, `@chainhook`, is placed above a function within a chainkey module to signify that it should be called whenever the main application allows the given chainhook to be run.\r\n\r\nThis PR includes the initial chainhooks addition, as well as an implementation of Peercoin as a proof-of-concept of sorts. ","created_at":"2015-05-24T22:19:41Z","updated_at":"2015-05-31T18:04:31Z","closed_at":"2015-05-31T18:04:31Z","merged_at":"2015-05-31T18:04:31Z","merge_commit_sha":"286336b0c4230dd04f2e193806735b6fa90c610c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mazaclub/encompass/pulls/97/commits","review_comments_url":"https://api.github.com/repos/mazaclub/encompass/pulls/97/comments","review_comment_url":"https://api.github.com/repos/mazaclub/encompass/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mazaclub/encompass/issues/97/comments","statuses_url":"https://api.github.com/repos/mazaclub/encompass/statuses/d521c6481cd26aeb669cfc06ba922fa9646f4ea5","head":{"label":"mazaclub:feature/chainhooks","ref":"feature/chainhooks","sha":"d521c6481cd26aeb669cfc06ba922fa9646f4ea5","user":{"login":"mazaclub","id":8823107,"avatar_url":"https://avatars.githubusercontent.com/u/8823107?v=3","gravatar_id":"","url":"https://api.github.com/users/mazaclub","html_url":"https://github.com/mazaclub","followers_url":"https://api.github.com/users/mazaclub/followers","following_url":"https://api.github.com/users/mazaclub/following{/other_user}","gists_url":"https://api.github.com/users/mazaclub/gists{/gist_id}","starred_url":"https://api.github.com/users/mazaclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazaclub/subscriptions","organizations_url":"https://api.github.com/users/mazaclub/orgs","repos_url":"https://api.github.com/users/mazaclub/repos","events_url":"https://api.github.com/users/mazaclub/events{/privacy}","received_events_url":"https://api.github.com/users/mazaclub/received_events","type":"Organization","site_admin":false},"repo":{"id":30338250,"name":"encompass","full_name":"mazaclub/encompass","owner":{"login":"mazaclub","id":8823107,"avatar_url":"https://avatars.githubusercontent.com/u/8823107?v=3","gravatar_id":"","url":"https://api.github.com/users/mazaclub","html_url":"https://github.com/mazaclub","followers_url":"https://api.github.com/users/mazaclub/followers","following_url":"https://api.github.com/users/mazaclub/following{/other_user}","gists_url":"https://api.github.com/users/mazaclub/gists{/gist_id}","starred_url":"https://api.github.com/users/mazaclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazaclub/subscriptions","organizations_url":"https://api.github.com/users/mazaclub/orgs","repos_url":"https://api.github.com/users/mazaclub/repos","events_url":"https://api.github.com/users/mazaclub/events{/privacy}","received_events_url":"https://api.github.com/users/mazaclub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mazaclub/encompass","description":"BIP-0044 compliant multi-currency wallet based on Electrum. Extendable with ChainKey modules to most coins!","fork":false,"url":"https://api.github.com/repos/mazaclub/encompass","forks_url":"https://api.github.com/repos/mazaclub/encompass/forks","keys_url":"https://api.github.com/repos/mazaclub/encompass/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mazaclub/encompass/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mazaclub/encompass/teams","hooks_url":"https://api.github.com/repos/mazaclub/encompass/hooks","issue_events_url":"https://api.github.com/repos/mazaclub/encompass/issues/events{/number}","events_url":"https://api.github.com/repos/mazaclub/encompass/events","assignees_url":"https://api.github.com/repos/mazaclub/encompass/assignees{/user}","branches_url":"https://api.github.com/repos/mazaclub/encompass/branches{/branch}","tags_url":"https://api.github.com/repos/mazaclub/encompass/tags","blobs_url":"https://api.github.com/repos/mazaclub/encompass/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mazaclub/encompass/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mazaclub/encompass/git/refs{/sha}","trees_url":"https://api.github.com/repos/mazaclub/encompass/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mazaclub/encompass/statuses/{sha}","languages_url":"https://api.github.com/repos/mazaclub/encompass/languages","stargazers_url":"https://api.github.com/repos/mazaclub/encompass/stargazers","contributors_url":"https://api.github.com/repos/mazaclub/encompass/contributors","subscribers_url":"https://api.github.com/repos/mazaclub/encompass/subscribers","subscription_url":"https://api.github.com/repos/mazaclub/encompass/subscription","commits_url":"https://api.github.com/repos/mazaclub/encompass/commits{/sha}","git_commits_url":"https://api.github.com/repos/mazaclub/encompass/git/commits{/sha}","comments_url":"https://api.github.com/repos/mazaclub/encompass/comments{/number}","issue_comment_url":"https://api.github.com/repos/mazaclub/encompass/issues/comments{/number}","contents_url":"https://api.github.com/repos/mazaclub/encompass/contents/{+path}","compare_url":"https://api.github.com/repos/mazaclub/encompass/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mazaclub/encompass/merges","archive_url":"https://api.github.com/repos/mazaclub/encompass/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mazaclub/encompass/downloads","issues_url":"https://api.github.com/repos/mazaclub/encompass/issues{/number}","pulls_url":"https://api.github.com/repos/mazaclub/encompass/pulls{/number}","milestones_url":"https://api.github.com/repos/mazaclub/encompass/milestones{/number}","notifications_url":"https://api.github.com/repos/mazaclub/encompass/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mazaclub/encompass/labels{/name}","releases_url":"https://api.github.com/repos/mazaclub/encompass/releases{/id}","created_at":"2015-02-05T04:48:59Z","updated_at":"2015-04-30T07:24:14Z","pushed_at":"2015-05-31T18:04:31Z","git_url":"git://github.com/mazaclub/encompass.git","ssh_url":"git@github.com:mazaclub/encompass.git","clone_url":"https://github.com/mazaclub/encompass.git","svn_url":"https://github.com/mazaclub/encompass","homepage":"","size":12383,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":25,"forks":10,"open_issues":25,"watchers":10,"default_branch":"master"}},"base":{"label":"mazaclub:develop","ref":"develop","sha":"5ad0dcea541b9b9d312faf715b263d75a7e4876d","user":{"login":"mazaclub","id":8823107,"avatar_url":"https://avatars.githubusercontent.com/u/8823107?v=3","gravatar_id":"","url":"https://api.github.com/users/mazaclub","html_url":"https://github.com/mazaclub","followers_url":"https://api.github.com/users/mazaclub/followers","following_url":"https://api.github.com/users/mazaclub/following{/other_user}","gists_url":"https://api.github.com/users/mazaclub/gists{/gist_id}","starred_url":"https://api.github.com/users/mazaclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazaclub/subscriptions","organizations_url":"https://api.github.com/users/mazaclub/orgs","repos_url":"https://api.github.com/users/mazaclub/repos","events_url":"https://api.github.com/users/mazaclub/events{/privacy}","received_events_url":"https://api.github.com/users/mazaclub/received_events","type":"Organization","site_admin":false},"repo":{"id":30338250,"name":"encompass","full_name":"mazaclub/encompass","owner":{"login":"mazaclub","id":8823107,"avatar_url":"https://avatars.githubusercontent.com/u/8823107?v=3","gravatar_id":"","url":"https://api.github.com/users/mazaclub","html_url":"https://github.com/mazaclub","followers_url":"https://api.github.com/users/mazaclub/followers","following_url":"https://api.github.com/users/mazaclub/following{/other_user}","gists_url":"https://api.github.com/users/mazaclub/gists{/gist_id}","starred_url":"https://api.github.com/users/mazaclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazaclub/subscriptions","organizations_url":"https://api.github.com/users/mazaclub/orgs","repos_url":"https://api.github.com/users/mazaclub/repos","events_url":"https://api.github.com/users/mazaclub/events{/privacy}","received_events_url":"https://api.github.com/users/mazaclub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mazaclub/encompass","description":"BIP-0044 compliant multi-currency wallet based on Electrum. Extendable with ChainKey modules to most coins!","fork":false,"url":"https://api.github.com/repos/mazaclub/encompass","forks_url":"https://api.github.com/repos/mazaclub/encompass/forks","keys_url":"https://api.github.com/repos/mazaclub/encompass/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mazaclub/encompass/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mazaclub/encompass/teams","hooks_url":"https://api.github.com/repos/mazaclub/encompass/hooks","issue_events_url":"https://api.github.com/repos/mazaclub/encompass/issues/events{/number}","events_url":"https://api.github.com/repos/mazaclub/encompass/events","assignees_url":"https://api.github.com/repos/mazaclub/encompass/assignees{/user}","branches_url":"https://api.github.com/repos/mazaclub/encompass/branches{/branch}","tags_url":"https://api.github.com/repos/mazaclub/encompass/tags","blobs_url":"https://api.github.com/repos/mazaclub/encompass/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mazaclub/encompass/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mazaclub/encompass/git/refs{/sha}","trees_url":"https://api.github.com/repos/mazaclub/encompass/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mazaclub/encompass/statuses/{sha}","languages_url":"https://api.github.com/repos/mazaclub/encompass/languages","stargazers_url":"https://api.github.com/repos/mazaclub/encompass/stargazers","contributors_url":"https://api.github.com/repos/mazaclub/encompass/contributors","subscribers_url":"https://api.github.com/repos/mazaclub/encompass/subscribers","subscription_url":"https://api.github.com/repos/mazaclub/encompass/subscription","commits_url":"https://api.github.com/repos/mazaclub/encompass/commits{/sha}","git_commits_url":"https://api.github.com/repos/mazaclub/encompass/git/commits{/sha}","comments_url":"https://api.github.com/repos/mazaclub/encompass/comments{/number}","issue_comment_url":"https://api.github.com/repos/mazaclub/encompass/issues/comments{/number}","contents_url":"https://api.github.com/repos/mazaclub/encompass/contents/{+path}","compare_url":"https://api.github.com/repos/mazaclub/encompass/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mazaclub/encompass/merges","archive_url":"https://api.github.com/repos/mazaclub/encompass/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mazaclub/encompass/downloads","issues_url":"https://api.github.com/repos/mazaclub/encompass/issues{/number}","pulls_url":"https://api.github.com/repos/mazaclub/encompass/pulls{/number}","milestones_url":"https://api.github.com/repos/mazaclub/encompass/milestones{/number}","notifications_url":"https://api.github.com/repos/mazaclub/encompass/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mazaclub/encompass/labels{/name}","releases_url":"https://api.github.com/repos/mazaclub/encompass/releases{/id}","created_at":"2015-02-05T04:48:59Z","updated_at":"2015-04-30T07:24:14Z","pushed_at":"2015-05-31T18:04:31Z","git_url":"git://github.com/mazaclub/encompass.git","ssh_url":"git@github.com:mazaclub/encompass.git","clone_url":"https://github.com/mazaclub/encompass.git","svn_url":"https://github.com/mazaclub/encompass","homepage":"","size":12383,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":25,"forks":10,"open_issues":25,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mazaclub/encompass/pulls/97"},"html":{"href":"https://github.com/mazaclub/encompass/pull/97"},"issue":{"href":"https://api.github.com/repos/mazaclub/encompass/issues/97"},"comments":{"href":"https://api.github.com/repos/mazaclub/encompass/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/mazaclub/encompass/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/mazaclub/encompass/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mazaclub/encompass/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/mazaclub/encompass/statuses/d521c6481cd26aeb669cfc06ba922fa9646f4ea5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Kefkius","id":6020810,"avatar_url":"https://avatars.githubusercontent.com/u/6020810?v=3","gravatar_id":"","url":"https://api.github.com/users/Kefkius","html_url":"https://github.com/Kefkius","followers_url":"https://api.github.com/users/Kefkius/followers","following_url":"https://api.github.com/users/Kefkius/following{/other_user}","gists_url":"https://api.github.com/users/Kefkius/gists{/gist_id}","starred_url":"https://api.github.com/users/Kefkius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kefkius/subscriptions","organizations_url":"https://api.github.com/users/Kefkius/orgs","repos_url":"https://api.github.com/users/Kefkius/repos","events_url":"https://api.github.com/users/Kefkius/events{/privacy}","received_events_url":"https://api.github.com/users/Kefkius/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":8,"additions":460,"deletions":99,"changed_files":8}}