{"action":"created","comment":{"url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/comments/237425909","pull_request_review_id":179718553,"id":237425909,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzQyNTkwOQ==","diff_hunk":"@@ -67,11 +76,15 @@ class Blockchainer(settings: Settings) extends PersistentActor with StrictLoggin\n       )\n       logger.info(s\"Blockchainer apply new keyBlock with height ${block.height}. \" +\n         s\"Blockchain's height is ${blockchain.chain.size}.\")\n-      planner ! block\n-      publisher ! block\n-      if (blockCache.isEmpty && !isSynced) {\n+      if (isSynced) {\n+        planner ! block\n+        publisher ! block\n+      }\n+      if (blockCache.isEmpty && !isSynced && blockchain.isSynced(settings.blockPeriod)) {","path":"src/main/scala/mvp2/actors/Blockchainer.scala","position":70,"original_position":70,"commit_id":"2e34a8836907a50af01fd0c0ed8f87f2a687d858","original_commit_id":"2e34a8836907a50af01fd0c0ed8f87f2a687d858","user":{"login":"kapinuss","id":17639945,"node_id":"MDQ6VXNlcjE3NjM5OTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/17639945?v=4","gravatar_id":"","url":"https://api.github.com/users/kapinuss","html_url":"https://github.com/kapinuss","followers_url":"https://api.github.com/users/kapinuss/followers","following_url":"https://api.github.com/users/kapinuss/following{/other_user}","gists_url":"https://api.github.com/users/kapinuss/gists{/gist_id}","starred_url":"https://api.github.com/users/kapinuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapinuss/subscriptions","organizations_url":"https://api.github.com/users/kapinuss/orgs","repos_url":"https://api.github.com/users/kapinuss/repos","events_url":"https://api.github.com/users/kapinuss/events{/privacy}","received_events_url":"https://api.github.com/users/kapinuss/received_events","type":"User","site_admin":false},"body":"2 ifSynced entities","created_at":"2018-11-29T10:18:16Z","updated_at":"2018-11-29T10:18:16Z","html_url":"https://github.com/EncryFoundation/MVP2/pull/43#discussion_r237425909","pull_request_url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/comments/237425909"},"html":{"href":"https://github.com/EncryFoundation/MVP2/pull/43#discussion_r237425909"},"pull_request":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43","id":232256097,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMjU2MDk3","html_url":"https://github.com/EncryFoundation/MVP2/pull/43","diff_url":"https://github.com/EncryFoundation/MVP2/pull/43.diff","patch_url":"https://github.com/EncryFoundation/MVP2/pull/43.patch","issue_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues/43","number":43,"state":"open","locked":false,"title":"mvp2 - planner ","user":{"login":"GusevTimofey","id":32402442,"node_id":"MDQ6VXNlcjMyNDAyNDQy","avatar_url":"https://avatars3.githubusercontent.com/u/32402442?v=4","gravatar_id":"","url":"https://api.github.com/users/GusevTimofey","html_url":"https://github.com/GusevTimofey","followers_url":"https://api.github.com/users/GusevTimofey/followers","following_url":"https://api.github.com/users/GusevTimofey/following{/other_user}","gists_url":"https://api.github.com/users/GusevTimofey/gists{/gist_id}","starred_url":"https://api.github.com/users/GusevTimofey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GusevTimofey/subscriptions","organizations_url":"https://api.github.com/users/GusevTimofey/orgs","repos_url":"https://api.github.com/users/GusevTimofey/repos","events_url":"https://api.github.com/users/GusevTimofey/events{/privacy}","received_events_url":"https://api.github.com/users/GusevTimofey/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-20T10:02:44Z","updated_at":"2018-11-29T10:18:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bf844c0e2173eed0fb4380dd6c4b08584749898","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43/commits","review_comments_url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43/comments","review_comment_url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues/43/comments","statuses_url":"https://api.github.com/repos/EncryFoundation/MVP2/statuses/2e34a8836907a50af01fd0c0ed8f87f2a687d858","head":{"label":"EncryFoundation:mvp2-planner","ref":"mvp2-planner","sha":"2e34a8836907a50af01fd0c0ed8f87f2a687d858","user":{"login":"EncryFoundation","id":38134287,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTM0Mjg3","avatar_url":"https://avatars0.githubusercontent.com/u/38134287?v=4","gravatar_id":"","url":"https://api.github.com/users/EncryFoundation","html_url":"https://github.com/EncryFoundation","followers_url":"https://api.github.com/users/EncryFoundation/followers","following_url":"https://api.github.com/users/EncryFoundation/following{/other_user}","gists_url":"https://api.github.com/users/EncryFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/EncryFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EncryFoundation/subscriptions","organizations_url":"https://api.github.com/users/EncryFoundation/orgs","repos_url":"https://api.github.com/users/EncryFoundation/repos","events_url":"https://api.github.com/users/EncryFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/EncryFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":154451427,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ0NTE0Mjc=","name":"MVP2","full_name":"EncryFoundation/MVP2","private":false,"owner":{"login":"EncryFoundation","id":38134287,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTM0Mjg3","avatar_url":"https://avatars0.githubusercontent.com/u/38134287?v=4","gravatar_id":"","url":"https://api.github.com/users/EncryFoundation","html_url":"https://github.com/EncryFoundation","followers_url":"https://api.github.com/users/EncryFoundation/followers","following_url":"https://api.github.com/users/EncryFoundation/following{/other_user}","gists_url":"https://api.github.com/users/EncryFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/EncryFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EncryFoundation/subscriptions","organizations_url":"https://api.github.com/users/EncryFoundation/orgs","repos_url":"https://api.github.com/users/EncryFoundation/repos","events_url":"https://api.github.com/users/EncryFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/EncryFoundation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/EncryFoundation/MVP2","description":"Small experimental pos-application","fork":false,"url":"https://api.github.com/repos/EncryFoundation/MVP2","forks_url":"https://api.github.com/repos/EncryFoundation/MVP2/forks","keys_url":"https://api.github.com/repos/EncryFoundation/MVP2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EncryFoundation/MVP2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EncryFoundation/MVP2/teams","hooks_url":"https://api.github.com/repos/EncryFoundation/MVP2/hooks","issue_events_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues/events{/number}","events_url":"https://api.github.com/repos/EncryFoundation/MVP2/events","assignees_url":"https://api.github.com/repos/EncryFoundation/MVP2/assignees{/user}","branches_url":"https://api.github.com/repos/EncryFoundation/MVP2/branches{/branch}","tags_url":"https://api.github.com/repos/EncryFoundation/MVP2/tags","blobs_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/refs{/sha}","trees_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EncryFoundation/MVP2/statuses/{sha}","languages_url":"https://api.github.com/repos/EncryFoundation/MVP2/languages","stargazers_url":"https://api.github.com/repos/EncryFoundation/MVP2/stargazers","contributors_url":"https://api.github.com/repos/EncryFoundation/MVP2/contributors","subscribers_url":"https://api.github.com/repos/EncryFoundation/MVP2/subscribers","subscription_url":"https://api.github.com/repos/EncryFoundation/MVP2/subscription","commits_url":"https://api.github.com/repos/EncryFoundation/MVP2/commits{/sha}","git_commits_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/commits{/sha}","comments_url":"https://api.github.com/repos/EncryFoundation/MVP2/comments{/number}","issue_comment_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues/comments{/number}","contents_url":"https://api.github.com/repos/EncryFoundation/MVP2/contents/{+path}","compare_url":"https://api.github.com/repos/EncryFoundation/MVP2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EncryFoundation/MVP2/merges","archive_url":"https://api.github.com/repos/EncryFoundation/MVP2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EncryFoundation/MVP2/downloads","issues_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues{/number}","pulls_url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls{/number}","milestones_url":"https://api.github.com/repos/EncryFoundation/MVP2/milestones{/number}","notifications_url":"https://api.github.com/repos/EncryFoundation/MVP2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EncryFoundation/MVP2/labels{/name}","releases_url":"https://api.github.com/repos/EncryFoundation/MVP2/releases{/id}","deployments_url":"https://api.github.com/repos/EncryFoundation/MVP2/deployments","created_at":"2018-10-24T06:39:35Z","updated_at":"2018-11-28T14:19:50Z","pushed_at":"2018-11-29T09:41:08Z","git_url":"git://github.com/EncryFoundation/MVP2.git","ssh_url":"git@github.com:EncryFoundation/MVP2.git","clone_url":"https://github.com/EncryFoundation/MVP2.git","svn_url":"https://github.com/EncryFoundation/MVP2","homepage":"","size":405,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"EncryFoundation:master","ref":"master","sha":"c831ad227bda0fa7e2feb5fec3e6c409f78b23c8","user":{"login":"EncryFoundation","id":38134287,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTM0Mjg3","avatar_url":"https://avatars0.githubusercontent.com/u/38134287?v=4","gravatar_id":"","url":"https://api.github.com/users/EncryFoundation","html_url":"https://github.com/EncryFoundation","followers_url":"https://api.github.com/users/EncryFoundation/followers","following_url":"https://api.github.com/users/EncryFoundation/following{/other_user}","gists_url":"https://api.github.com/users/EncryFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/EncryFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EncryFoundation/subscriptions","organizations_url":"https://api.github.com/users/EncryFoundation/orgs","repos_url":"https://api.github.com/users/EncryFoundation/repos","events_url":"https://api.github.com/users/EncryFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/EncryFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":154451427,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ0NTE0Mjc=","name":"MVP2","full_name":"EncryFoundation/MVP2","private":false,"owner":{"login":"EncryFoundation","id":38134287,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTM0Mjg3","avatar_url":"https://avatars0.githubusercontent.com/u/38134287?v=4","gravatar_id":"","url":"https://api.github.com/users/EncryFoundation","html_url":"https://github.com/EncryFoundation","followers_url":"https://api.github.com/users/EncryFoundation/followers","following_url":"https://api.github.com/users/EncryFoundation/following{/other_user}","gists_url":"https://api.github.com/users/EncryFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/EncryFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EncryFoundation/subscriptions","organizations_url":"https://api.github.com/users/EncryFoundation/orgs","repos_url":"https://api.github.com/users/EncryFoundation/repos","events_url":"https://api.github.com/users/EncryFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/EncryFoundation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/EncryFoundation/MVP2","description":"Small experimental pos-application","fork":false,"url":"https://api.github.com/repos/EncryFoundation/MVP2","forks_url":"https://api.github.com/repos/EncryFoundation/MVP2/forks","keys_url":"https://api.github.com/repos/EncryFoundation/MVP2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EncryFoundation/MVP2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EncryFoundation/MVP2/teams","hooks_url":"https://api.github.com/repos/EncryFoundation/MVP2/hooks","issue_events_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues/events{/number}","events_url":"https://api.github.com/repos/EncryFoundation/MVP2/events","assignees_url":"https://api.github.com/repos/EncryFoundation/MVP2/assignees{/user}","branches_url":"https://api.github.com/repos/EncryFoundation/MVP2/branches{/branch}","tags_url":"https://api.github.com/repos/EncryFoundation/MVP2/tags","blobs_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/refs{/sha}","trees_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EncryFoundation/MVP2/statuses/{sha}","languages_url":"https://api.github.com/repos/EncryFoundation/MVP2/languages","stargazers_url":"https://api.github.com/repos/EncryFoundation/MVP2/stargazers","contributors_url":"https://api.github.com/repos/EncryFoundation/MVP2/contributors","subscribers_url":"https://api.github.com/repos/EncryFoundation/MVP2/subscribers","subscription_url":"https://api.github.com/repos/EncryFoundation/MVP2/subscription","commits_url":"https://api.github.com/repos/EncryFoundation/MVP2/commits{/sha}","git_commits_url":"https://api.github.com/repos/EncryFoundation/MVP2/git/commits{/sha}","comments_url":"https://api.github.com/repos/EncryFoundation/MVP2/comments{/number}","issue_comment_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues/comments{/number}","contents_url":"https://api.github.com/repos/EncryFoundation/MVP2/contents/{+path}","compare_url":"https://api.github.com/repos/EncryFoundation/MVP2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EncryFoundation/MVP2/merges","archive_url":"https://api.github.com/repos/EncryFoundation/MVP2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EncryFoundation/MVP2/downloads","issues_url":"https://api.github.com/repos/EncryFoundation/MVP2/issues{/number}","pulls_url":"https://api.github.com/repos/EncryFoundation/MVP2/pulls{/number}","milestones_url":"https://api.github.com/repos/EncryFoundation/MVP2/milestones{/number}","notifications_url":"https://api.github.com/repos/EncryFoundation/MVP2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EncryFoundation/MVP2/labels{/name}","releases_url":"https://api.github.com/repos/EncryFoundation/MVP2/releases{/id}","deployments_url":"https://api.github.com/repos/EncryFoundation/MVP2/deployments","created_at":"2018-10-24T06:39:35Z","updated_at":"2018-11-28T14:19:50Z","pushed_at":"2018-11-29T09:41:08Z","git_url":"git://github.com/EncryFoundation/MVP2.git","ssh_url":"git@github.com:EncryFoundation/MVP2.git","clone_url":"https://github.com/EncryFoundation/MVP2.git","svn_url":"https://github.com/EncryFoundation/MVP2","homepage":"","size":405,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43"},"html":{"href":"https://github.com/EncryFoundation/MVP2/pull/43"},"issue":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/issues/43"},"comments":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/EncryFoundation/MVP2/statuses/2e34a8836907a50af01fd0c0ed8f87f2a687d858"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kapinuss"}}