{"action":"created","comment":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/comments/235980305","pull_request_review_id":177976195,"id":235980305,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTk4MDMwNQ==","diff_hunk":"@@ -1899,6 +1953,20 @@ void rai::node::ongoing_rep_crawl ()\n \t}\n }\n \n+void rai::node::ongoing_rep_calculation ()\n+{\n+\tauto now (std::chrono::steady_clock::now ());\n+\tvote_processor.calculate_weights ();\n+\tstd::weak_ptr<rai::node> node_w (shared_from_this ());\n+\t// Repeat in 10 minutes\n+\talarm.add (now + std::chrono::seconds (10 * 60), [node_w]() {","path":"rai/node/node.cpp","position":96,"original_position":87,"commit_id":"b3e7af22a19aa813558f5d3140d9c0f0cb859ee2","original_commit_id":"6693dddf278df6575f04466c7b0f2737514fd6e2","user":{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false},"body":"Sure","created_at":"2018-11-23T15:59:38Z","updated_at":"2018-11-23T15:59:38Z","html_url":"https://github.com/nanocurrency/raiblocks/pull/1406#discussion_r235980305","pull_request_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/comments/235980305"},"html":{"href":"https://github.com/nanocurrency/raiblocks/pull/1406#discussion_r235980305"},"pull_request":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406"}},"in_reply_to_id":235975602},"pull_request":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406","id":233086326,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMDg2MzI2","html_url":"https://github.com/nanocurrency/raiblocks/pull/1406","diff_url":"https://github.com/nanocurrency/raiblocks/pull/1406.diff","patch_url":"https://github.com/nanocurrency/raiblocks/pull/1406.patch","issue_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1406","number":1406,"state":"open","locked":false,"title":" Early detection for votes overflow","user":{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false},"body":"Fixes #1391 ","created_at":"2018-11-22T23:53:11Z","updated_at":"2018-11-23T15:59:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d198556e2f6ecf8f86079a5a6a30920be0ceec1c","assignee":{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false},"assignees":[{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":96478539,"node_id":"MDU6TGFiZWw5NjQ3ODUzOQ==","url":"https://api.github.com/repos/nanocurrency/raiblocks/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones/7","html_url":"https://github.com/nanocurrency/raiblocks/milestone/7","labels_url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones/7/labels","id":3590964,"node_id":"MDk6TWlsZXN0b25lMzU5MDk2NA==","number":7,"title":"V18.0","description":"Release V18.0\r\n\r\nThe plan for V18.0 right now is for it to be a clean-up and documentation release.","creator":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"open_issues":94,"closed_issues":15,"state":"open","created_at":"2018-08-22T14:13:52Z","updated_at":"2018-11-23T15:39:50Z","due_on":"2018-12-21T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406/commits","review_comments_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406/comments","review_comment_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1406/comments","statuses_url":"https://api.github.com/repos/nanocurrency/raiblocks/statuses/b3e7af22a19aa813558f5d3140d9c0f0cb859ee2","head":{"label":"SergiySW:votes_early_detection","ref":"votes_early_detection","sha":"b3e7af22a19aa813558f5d3140d9c0f0cb859ee2","user":{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false},"repo":{"id":81691183,"node_id":"MDEwOlJlcG9zaXRvcnk4MTY5MTE4Mw==","name":"raiblocks","full_name":"SergiySW/raiblocks","private":false,"owner":{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false},"html_url":"https://github.com/SergiySW/raiblocks","description":"RaiBlocks is a cryptocurrency","fork":true,"url":"https://api.github.com/repos/SergiySW/raiblocks","forks_url":"https://api.github.com/repos/SergiySW/raiblocks/forks","keys_url":"https://api.github.com/repos/SergiySW/raiblocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SergiySW/raiblocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SergiySW/raiblocks/teams","hooks_url":"https://api.github.com/repos/SergiySW/raiblocks/hooks","issue_events_url":"https://api.github.com/repos/SergiySW/raiblocks/issues/events{/number}","events_url":"https://api.github.com/repos/SergiySW/raiblocks/events","assignees_url":"https://api.github.com/repos/SergiySW/raiblocks/assignees{/user}","branches_url":"https://api.github.com/repos/SergiySW/raiblocks/branches{/branch}","tags_url":"https://api.github.com/repos/SergiySW/raiblocks/tags","blobs_url":"https://api.github.com/repos/SergiySW/raiblocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SergiySW/raiblocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SergiySW/raiblocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/SergiySW/raiblocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SergiySW/raiblocks/statuses/{sha}","languages_url":"https://api.github.com/repos/SergiySW/raiblocks/languages","stargazers_url":"https://api.github.com/repos/SergiySW/raiblocks/stargazers","contributors_url":"https://api.github.com/repos/SergiySW/raiblocks/contributors","subscribers_url":"https://api.github.com/repos/SergiySW/raiblocks/subscribers","subscription_url":"https://api.github.com/repos/SergiySW/raiblocks/subscription","commits_url":"https://api.github.com/repos/SergiySW/raiblocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/SergiySW/raiblocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/SergiySW/raiblocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/SergiySW/raiblocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/SergiySW/raiblocks/contents/{+path}","compare_url":"https://api.github.com/repos/SergiySW/raiblocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SergiySW/raiblocks/merges","archive_url":"https://api.github.com/repos/SergiySW/raiblocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SergiySW/raiblocks/downloads","issues_url":"https://api.github.com/repos/SergiySW/raiblocks/issues{/number}","pulls_url":"https://api.github.com/repos/SergiySW/raiblocks/pulls{/number}","milestones_url":"https://api.github.com/repos/SergiySW/raiblocks/milestones{/number}","notifications_url":"https://api.github.com/repos/SergiySW/raiblocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SergiySW/raiblocks/labels{/name}","releases_url":"https://api.github.com/repos/SergiySW/raiblocks/releases{/id}","deployments_url":"https://api.github.com/repos/SergiySW/raiblocks/deployments","created_at":"2017-02-11T23:58:27Z","updated_at":"2018-11-22T22:39:14Z","pushed_at":"2018-11-23T15:59:27Z","git_url":"git://github.com/SergiySW/raiblocks.git","ssh_url":"git@github.com:SergiySW/raiblocks.git","clone_url":"https://github.com/SergiySW/raiblocks.git","svn_url":"https://github.com/SergiySW/raiblocks","homepage":"http://raiblocks.net","size":16397,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nanocurrency:master","ref":"master","sha":"ac4c6405e07fe5a5418d5717a3c872922146cf8e","user":{"login":"nanocurrency","id":34106716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTA2NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34106716?v=4","gravatar_id":"","url":"https://api.github.com/users/nanocurrency","html_url":"https://github.com/nanocurrency","followers_url":"https://api.github.com/users/nanocurrency/followers","following_url":"https://api.github.com/users/nanocurrency/following{/other_user}","gists_url":"https://api.github.com/users/nanocurrency/gists{/gist_id}","starred_url":"https://api.github.com/users/nanocurrency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanocurrency/subscriptions","organizations_url":"https://api.github.com/users/nanocurrency/orgs","repos_url":"https://api.github.com/users/nanocurrency/repos","events_url":"https://api.github.com/users/nanocurrency/events{/privacy}","received_events_url":"https://api.github.com/users/nanocurrency/received_events","type":"Organization","site_admin":false},"repo":{"id":19347340,"node_id":"MDEwOlJlcG9zaXRvcnkxOTM0NzM0MA==","name":"raiblocks","full_name":"nanocurrency/raiblocks","private":false,"owner":{"login":"nanocurrency","id":34106716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTA2NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34106716?v=4","gravatar_id":"","url":"https://api.github.com/users/nanocurrency","html_url":"https://github.com/nanocurrency","followers_url":"https://api.github.com/users/nanocurrency/followers","following_url":"https://api.github.com/users/nanocurrency/following{/other_user}","gists_url":"https://api.github.com/users/nanocurrency/gists{/gist_id}","starred_url":"https://api.github.com/users/nanocurrency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanocurrency/subscriptions","organizations_url":"https://api.github.com/users/nanocurrency/orgs","repos_url":"https://api.github.com/users/nanocurrency/repos","events_url":"https://api.github.com/users/nanocurrency/events{/privacy}","received_events_url":"https://api.github.com/users/nanocurrency/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nanocurrency/raiblocks","description":"Nano is a cryptocurrency","fork":false,"url":"https://api.github.com/repos/nanocurrency/raiblocks","forks_url":"https://api.github.com/repos/nanocurrency/raiblocks/forks","keys_url":"https://api.github.com/repos/nanocurrency/raiblocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nanocurrency/raiblocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nanocurrency/raiblocks/teams","hooks_url":"https://api.github.com/repos/nanocurrency/raiblocks/hooks","issue_events_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/events{/number}","events_url":"https://api.github.com/repos/nanocurrency/raiblocks/events","assignees_url":"https://api.github.com/repos/nanocurrency/raiblocks/assignees{/user}","branches_url":"https://api.github.com/repos/nanocurrency/raiblocks/branches{/branch}","tags_url":"https://api.github.com/repos/nanocurrency/raiblocks/tags","blobs_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nanocurrency/raiblocks/statuses/{sha}","languages_url":"https://api.github.com/repos/nanocurrency/raiblocks/languages","stargazers_url":"https://api.github.com/repos/nanocurrency/raiblocks/stargazers","contributors_url":"https://api.github.com/repos/nanocurrency/raiblocks/contributors","subscribers_url":"https://api.github.com/repos/nanocurrency/raiblocks/subscribers","subscription_url":"https://api.github.com/repos/nanocurrency/raiblocks/subscription","commits_url":"https://api.github.com/repos/nanocurrency/raiblocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/nanocurrency/raiblocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/nanocurrency/raiblocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/nanocurrency/raiblocks/contents/{+path}","compare_url":"https://api.github.com/repos/nanocurrency/raiblocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nanocurrency/raiblocks/merges","archive_url":"https://api.github.com/repos/nanocurrency/raiblocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nanocurrency/raiblocks/downloads","issues_url":"https://api.github.com/repos/nanocurrency/raiblocks/issues{/number}","pulls_url":"https://api.github.com/repos/nanocurrency/raiblocks/pulls{/number}","milestones_url":"https://api.github.com/repos/nanocurrency/raiblocks/milestones{/number}","notifications_url":"https://api.github.com/repos/nanocurrency/raiblocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nanocurrency/raiblocks/labels{/name}","releases_url":"https://api.github.com/repos/nanocurrency/raiblocks/releases{/id}","deployments_url":"https://api.github.com/repos/nanocurrency/raiblocks/deployments","created_at":"2014-05-01T14:49:25Z","updated_at":"2018-11-23T15:38:06Z","pushed_at":"2018-11-23T15:59:29Z","git_url":"git://github.com/nanocurrency/raiblocks.git","ssh_url":"git@github.com:nanocurrency/raiblocks.git","clone_url":"https://github.com/nanocurrency/raiblocks.git","svn_url":"https://github.com/nanocurrency/raiblocks","homepage":"https://nano.org","size":15832,"stargazers_count":2280,"watchers_count":2280,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":513,"mirror_url":null,"archived":false,"open_issues_count":222,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":513,"open_issues":222,"watchers":2280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406"},"html":{"href":"https://github.com/nanocurrency/raiblocks/pull/1406"},"issue":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1406"},"comments":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/issues/1406/comments"},"review_comments":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406/comments"},"review_comment":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/pulls/1406/commits"},"statuses":{"href":"https://api.github.com/repos/nanocurrency/raiblocks/statuses/b3e7af22a19aa813558f5d3140d9c0f0cb859ee2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"SergiySW"}}