{"action":"opened","number":1202,"pull_request":{"url":"https://api.github.com/repos/dashpay/dash/pulls/1202","id":97871715,"html_url":"https://github.com/dashpay/dash/pull/1202","diff_url":"https://github.com/dashpay/dash/pull/1202.diff","patch_url":"https://github.com/dashpay/dash/pull/1202.patch","issue_url":"https://api.github.com/repos/dashpay/dash/issues/1202","number":1202,"state":"open","locked":false,"title":"Implement rate check using buffer","user":{"login":"tgflynn","id":469756,"avatar_url":"https://avatars.githubusercontent.com/u/469756?v=3","gravatar_id":"","url":"https://api.github.com/users/tgflynn","html_url":"https://github.com/tgflynn","followers_url":"https://api.github.com/users/tgflynn/followers","following_url":"https://api.github.com/users/tgflynn/following{/other_user}","gists_url":"https://api.github.com/users/tgflynn/gists{/gist_id}","starred_url":"https://api.github.com/users/tgflynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgflynn/subscriptions","organizations_url":"https://api.github.com/users/tgflynn/orgs","repos_url":"https://api.github.com/users/tgflynn/repos","events_url":"https://api.github.com/users/tgflynn/events{/privacy}","received_events_url":"https://api.github.com/users/tgflynn/received_events","type":"User","site_admin":false},"body":"This fixes a potential bug in the masternode rate check for objects due the fact that the time delta is dependent on the order of arrival of objects.\r\n\r\nThe rate is now computed using a buffer containing the timestamps of up to the 5 most recently received objects.  This eliminates the order dependence.\r\n\r\nIn addition the upper limit on timestamps has been reduced to 1 hour in the future.","created_at":"2016-12-14T01:36:39Z","updated_at":"2016-12-14T01:36:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dashpay/dash/pulls/1202/commits","review_comments_url":"https://api.github.com/repos/dashpay/dash/pulls/1202/comments","review_comment_url":"https://api.github.com/repos/dashpay/dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dashpay/dash/issues/1202/comments","statuses_url":"https://api.github.com/repos/dashpay/dash/statuses/f8cb4d5d124b819a1f4cd204b4387ea72180656b","head":{"label":"tgflynn:v0.12.1.x-rate-check-buffer","ref":"v0.12.1.x-rate-check-buffer","sha":"f8cb4d5d124b819a1f4cd204b4387ea72180656b","user":{"login":"tgflynn","id":469756,"avatar_url":"https://avatars.githubusercontent.com/u/469756?v=3","gravatar_id":"","url":"https://api.github.com/users/tgflynn","html_url":"https://github.com/tgflynn","followers_url":"https://api.github.com/users/tgflynn/followers","following_url":"https://api.github.com/users/tgflynn/following{/other_user}","gists_url":"https://api.github.com/users/tgflynn/gists{/gist_id}","starred_url":"https://api.github.com/users/tgflynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgflynn/subscriptions","organizations_url":"https://api.github.com/users/tgflynn/orgs","repos_url":"https://api.github.com/users/tgflynn/repos","events_url":"https://api.github.com/users/tgflynn/events{/privacy}","received_events_url":"https://api.github.com/users/tgflynn/received_events","type":"User","site_admin":false},"repo":{"id":64716071,"name":"dash","full_name":"tgflynn/dash","owner":{"login":"tgflynn","id":469756,"avatar_url":"https://avatars.githubusercontent.com/u/469756?v=3","gravatar_id":"","url":"https://api.github.com/users/tgflynn","html_url":"https://github.com/tgflynn","followers_url":"https://api.github.com/users/tgflynn/followers","following_url":"https://api.github.com/users/tgflynn/following{/other_user}","gists_url":"https://api.github.com/users/tgflynn/gists{/gist_id}","starred_url":"https://api.github.com/users/tgflynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgflynn/subscriptions","organizations_url":"https://api.github.com/users/tgflynn/orgs","repos_url":"https://api.github.com/users/tgflynn/repos","events_url":"https://api.github.com/users/tgflynn/events{/privacy}","received_events_url":"https://api.github.com/users/tgflynn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgflynn/dash","description":"Dash - Digital Money, Made Easy.","fork":true,"url":"https://api.github.com/repos/tgflynn/dash","forks_url":"https://api.github.com/repos/tgflynn/dash/forks","keys_url":"https://api.github.com/repos/tgflynn/dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgflynn/dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgflynn/dash/teams","hooks_url":"https://api.github.com/repos/tgflynn/dash/hooks","issue_events_url":"https://api.github.com/repos/tgflynn/dash/issues/events{/number}","events_url":"https://api.github.com/repos/tgflynn/dash/events","assignees_url":"https://api.github.com/repos/tgflynn/dash/assignees{/user}","branches_url":"https://api.github.com/repos/tgflynn/dash/branches{/branch}","tags_url":"https://api.github.com/repos/tgflynn/dash/tags","blobs_url":"https://api.github.com/repos/tgflynn/dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgflynn/dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgflynn/dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgflynn/dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgflynn/dash/statuses/{sha}","languages_url":"https://api.github.com/repos/tgflynn/dash/languages","stargazers_url":"https://api.github.com/repos/tgflynn/dash/stargazers","contributors_url":"https://api.github.com/repos/tgflynn/dash/contributors","subscribers_url":"https://api.github.com/repos/tgflynn/dash/subscribers","subscription_url":"https://api.github.com/repos/tgflynn/dash/subscription","commits_url":"https://api.github.com/repos/tgflynn/dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgflynn/dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgflynn/dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgflynn/dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgflynn/dash/contents/{+path}","compare_url":"https://api.github.com/repos/tgflynn/dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgflynn/dash/merges","archive_url":"https://api.github.com/repos/tgflynn/dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgflynn/dash/downloads","issues_url":"https://api.github.com/repos/tgflynn/dash/issues{/number}","pulls_url":"https://api.github.com/repos/tgflynn/dash/pulls{/number}","milestones_url":"https://api.github.com/repos/tgflynn/dash/milestones{/number}","notifications_url":"https://api.github.com/repos/tgflynn/dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgflynn/dash/labels{/name}","releases_url":"https://api.github.com/repos/tgflynn/dash/releases{/id}","deployments_url":"https://api.github.com/repos/tgflynn/dash/deployments","created_at":"2016-08-02T02:08:16Z","updated_at":"2016-08-02T02:08:28Z","pushed_at":"2016-12-14T01:01:52Z","git_url":"git://github.com/tgflynn/dash.git","ssh_url":"git@github.com:tgflynn/dash.git","clone_url":"https://github.com/tgflynn/dash.git","svn_url":"https://github.com/tgflynn/dash","homepage":"https://www.dash.org","size":104400,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dashpay:v0.12.1.x","ref":"v0.12.1.x","sha":"30da3f56a7153ddd7ab8f463dc6d2d88b21bed7f","user":{"login":"dashpay","id":11511719,"avatar_url":"https://avatars.githubusercontent.com/u/11511719?v=3","gravatar_id":"","url":"https://api.github.com/users/dashpay","html_url":"https://github.com/dashpay","followers_url":"https://api.github.com/users/dashpay/followers","following_url":"https://api.github.com/users/dashpay/following{/other_user}","gists_url":"https://api.github.com/users/dashpay/gists{/gist_id}","starred_url":"https://api.github.com/users/dashpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashpay/subscriptions","organizations_url":"https://api.github.com/users/dashpay/orgs","repos_url":"https://api.github.com/users/dashpay/repos","events_url":"https://api.github.com/users/dashpay/events{/privacy}","received_events_url":"https://api.github.com/users/dashpay/received_events","type":"Organization","site_admin":false},"repo":{"id":19352450,"name":"dash","full_name":"dashpay/dash","owner":{"login":"dashpay","id":11511719,"avatar_url":"https://avatars.githubusercontent.com/u/11511719?v=3","gravatar_id":"","url":"https://api.github.com/users/dashpay","html_url":"https://github.com/dashpay","followers_url":"https://api.github.com/users/dashpay/followers","following_url":"https://api.github.com/users/dashpay/following{/other_user}","gists_url":"https://api.github.com/users/dashpay/gists{/gist_id}","starred_url":"https://api.github.com/users/dashpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashpay/subscriptions","organizations_url":"https://api.github.com/users/dashpay/orgs","repos_url":"https://api.github.com/users/dashpay/repos","events_url":"https://api.github.com/users/dashpay/events{/privacy}","received_events_url":"https://api.github.com/users/dashpay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dashpay/dash","description":"Dash - Reinventing Cryptocurrency","fork":true,"url":"https://api.github.com/repos/dashpay/dash","forks_url":"https://api.github.com/repos/dashpay/dash/forks","keys_url":"https://api.github.com/repos/dashpay/dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dashpay/dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dashpay/dash/teams","hooks_url":"https://api.github.com/repos/dashpay/dash/hooks","issue_events_url":"https://api.github.com/repos/dashpay/dash/issues/events{/number}","events_url":"https://api.github.com/repos/dashpay/dash/events","assignees_url":"https://api.github.com/repos/dashpay/dash/assignees{/user}","branches_url":"https://api.github.com/repos/dashpay/dash/branches{/branch}","tags_url":"https://api.github.com/repos/dashpay/dash/tags","blobs_url":"https://api.github.com/repos/dashpay/dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dashpay/dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dashpay/dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/dashpay/dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dashpay/dash/statuses/{sha}","languages_url":"https://api.github.com/repos/dashpay/dash/languages","stargazers_url":"https://api.github.com/repos/dashpay/dash/stargazers","contributors_url":"https://api.github.com/repos/dashpay/dash/contributors","subscribers_url":"https://api.github.com/repos/dashpay/dash/subscribers","subscription_url":"https://api.github.com/repos/dashpay/dash/subscription","commits_url":"https://api.github.com/repos/dashpay/dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/dashpay/dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/dashpay/dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/dashpay/dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/dashpay/dash/contents/{+path}","compare_url":"https://api.github.com/repos/dashpay/dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dashpay/dash/merges","archive_url":"https://api.github.com/repos/dashpay/dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dashpay/dash/downloads","issues_url":"https://api.github.com/repos/dashpay/dash/issues{/number}","pulls_url":"https://api.github.com/repos/dashpay/dash/pulls{/number}","milestones_url":"https://api.github.com/repos/dashpay/dash/milestones{/number}","notifications_url":"https://api.github.com/repos/dashpay/dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dashpay/dash/labels{/name}","releases_url":"https://api.github.com/repos/dashpay/dash/releases{/id}","deployments_url":"https://api.github.com/repos/dashpay/dash/deployments","created_at":"2014-05-01T17:45:34Z","updated_at":"2016-12-10T23:00:09Z","pushed_at":"2016-12-12T01:44:46Z","git_url":"git://github.com/dashpay/dash.git","ssh_url":"git@github.com:dashpay/dash.git","clone_url":"https://github.com/dashpay/dash.git","svn_url":"https://github.com/dashpay/dash","homepage":"https://www.dash.org","size":119263,"stargazers_count":343,"watchers_count":343,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":190,"mirror_url":null,"open_issues_count":40,"forks":190,"open_issues":40,"watchers":343,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dashpay/dash/pulls/1202"},"html":{"href":"https://github.com/dashpay/dash/pull/1202"},"issue":{"href":"https://api.github.com/repos/dashpay/dash/issues/1202"},"comments":{"href":"https://api.github.com/repos/dashpay/dash/issues/1202/comments"},"review_comments":{"href":"https://api.github.com/repos/dashpay/dash/pulls/1202/comments"},"review_comment":{"href":"https://api.github.com/repos/dashpay/dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dashpay/dash/pulls/1202/commits"},"statuses":{"href":"https://api.github.com/repos/dashpay/dash/statuses/f8cb4d5d124b819a1f4cd204b4387ea72180656b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":217,"deletions":24,"changed_files":4}}
{"actor":{"display_login":"tgflynn"}}