{"action":"created","comment":{"url":"https://api.github.com/repos/rchain/rchain/pulls/comments/173381454","pull_request_review_id":102563189,"id":173381454,"diff_hunk":"@@ -0,0 +1,63 @@\n+package coop.rchain.p2p\n+\n+import coop.rchain.comm._, CommError._\n+import scala.concurrent.duration.{Duration, MILLISECONDS}\n+import coop.rchain.catscontrib._\n+import cats._, cats.data._, cats.implicits._\n+\n+/** Eagerly evaluated instances to do reasoning about applied effects */\n+object EffectsTestInstances {\n+\n+  class LogicalTime[F[_]: Capture] extends Time[F] {\n+    var clock: Long = 0\n+\n+    def currentMillis: F[Long] = Capture[F].capture {\n+      this.clock = clock + 1","path":"comm/src/test/scala/coop/rchain/p2p/EffectsTestInstances.scala","position":15,"original_position":15,"commit_id":"b5ad3ea544613791209efffcddd812a9593f7683","original_commit_id":"b5ad3ea544613791209efffcddd812a9593f7683","user":{"login":"rabbitonweb","id":6287558,"avatar_url":"https://avatars1.githubusercontent.com/u/6287558?v=4","gravatar_id":"","url":"https://api.github.com/users/rabbitonweb","html_url":"https://github.com/rabbitonweb","followers_url":"https://api.github.com/users/rabbitonweb/followers","following_url":"https://api.github.com/users/rabbitonweb/following{/other_user}","gists_url":"https://api.github.com/users/rabbitonweb/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitonweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitonweb/subscriptions","organizations_url":"https://api.github.com/users/rabbitonweb/orgs","repos_url":"https://api.github.com/users/rabbitonweb/repos","events_url":"https://api.github.com/users/rabbitonweb/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitonweb/received_events","type":"User","site_admin":false},"body":"I guess, yeah. But this is just for tests which run in synchronous mode","created_at":"2018-03-09T07:34:54Z","updated_at":"2018-03-09T07:34:54Z","html_url":"https://github.com/rchain/rchain/pull/374#discussion_r173381454","pull_request_url":"https://api.github.com/repos/rchain/rchain/pulls/374","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments/173381454"},"html":{"href":"https://github.com/rchain/rchain/pull/374#discussion_r173381454"},"pull_request":{"href":"https://api.github.com/repos/rchain/rchain/pulls/374"}},"in_reply_to_id":173334050},"pull_request":{"url":"https://api.github.com/repos/rchain/rchain/pulls/374","id":173712531,"html_url":"https://github.com/rchain/rchain/pull/374","diff_url":"https://github.com/rchain/rchain/pull/374.diff","patch_url":"https://github.com/rchain/rchain/pull/374.patch","issue_url":"https://api.github.com/repos/rchain/rchain/issues/374","number":374,"state":"open","locked":false,"title":"CORE-171 Encryption Effect + key exchange","user":{"login":"rabbitonweb","id":6287558,"avatar_url":"https://avatars1.githubusercontent.com/u/6287558?v=4","gravatar_id":"","url":"https://api.github.com/users/rabbitonweb","html_url":"https://github.com/rabbitonweb","followers_url":"https://api.github.com/users/rabbitonweb/followers","following_url":"https://api.github.com/users/rabbitonweb/following{/other_user}","gists_url":"https://api.github.com/users/rabbitonweb/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitonweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitonweb/subscriptions","organizations_url":"https://api.github.com/users/rabbitonweb/orgs","repos_url":"https://api.github.com/users/rabbitonweb/repos","events_url":"https://api.github.com/users/rabbitonweb/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitonweb/received_events","type":"User","site_admin":false},"body":"In this PR:\r\n1. Encryption effect introduced\r\n2. Key exchange\r\n3. Adds first test for `Network.connect` YEAH","created_at":"2018-03-08T11:32:21Z","updated_at":"2018-03-09T07:34:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7e4ad136942732c0f01124d7897256ec4063087","assignee":{"login":"kirkwood","id":1438807,"avatar_url":"https://avatars2.githubusercontent.com/u/1438807?v=4","gravatar_id":"","url":"https://api.github.com/users/kirkwood","html_url":"https://github.com/kirkwood","followers_url":"https://api.github.com/users/kirkwood/followers","following_url":"https://api.github.com/users/kirkwood/following{/other_user}","gists_url":"https://api.github.com/users/kirkwood/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkwood/subscriptions","organizations_url":"https://api.github.com/users/kirkwood/orgs","repos_url":"https://api.github.com/users/kirkwood/repos","events_url":"https://api.github.com/users/kirkwood/events{/privacy}","received_events_url":"https://api.github.com/users/kirkwood/received_events","type":"User","site_admin":false},"assignees":[{"login":"kirkwood","id":1438807,"avatar_url":"https://avatars2.githubusercontent.com/u/1438807?v=4","gravatar_id":"","url":"https://api.github.com/users/kirkwood","html_url":"https://github.com/kirkwood","followers_url":"https://api.github.com/users/kirkwood/followers","following_url":"https://api.github.com/users/kirkwood/following{/other_user}","gists_url":"https://api.github.com/users/kirkwood/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkwood/subscriptions","organizations_url":"https://api.github.com/users/kirkwood/orgs","repos_url":"https://api.github.com/users/kirkwood/repos","events_url":"https://api.github.com/users/kirkwood/events{/privacy}","received_events_url":"https://api.github.com/users/kirkwood/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rchain/rchain/pulls/374/commits","review_comments_url":"https://api.github.com/repos/rchain/rchain/pulls/374/comments","review_comment_url":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rchain/rchain/issues/374/comments","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/b5ad3ea544613791209efffcddd812a9593f7683","head":{"label":"rabbitonweb:CORE-171-Encryption-Effect","ref":"CORE-171-Encryption-Effect","sha":"b5ad3ea544613791209efffcddd812a9593f7683","user":{"login":"rabbitonweb","id":6287558,"avatar_url":"https://avatars1.githubusercontent.com/u/6287558?v=4","gravatar_id":"","url":"https://api.github.com/users/rabbitonweb","html_url":"https://github.com/rabbitonweb","followers_url":"https://api.github.com/users/rabbitonweb/followers","following_url":"https://api.github.com/users/rabbitonweb/following{/other_user}","gists_url":"https://api.github.com/users/rabbitonweb/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitonweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitonweb/subscriptions","organizations_url":"https://api.github.com/users/rabbitonweb/orgs","repos_url":"https://api.github.com/users/rabbitonweb/repos","events_url":"https://api.github.com/users/rabbitonweb/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitonweb/received_events","type":"User","site_admin":false},"repo":{"id":120284121,"name":"rchain","full_name":"rabbitonweb/rchain","owner":{"login":"rabbitonweb","id":6287558,"avatar_url":"https://avatars1.githubusercontent.com/u/6287558?v=4","gravatar_id":"","url":"https://api.github.com/users/rabbitonweb","html_url":"https://github.com/rabbitonweb","followers_url":"https://api.github.com/users/rabbitonweb/followers","following_url":"https://api.github.com/users/rabbitonweb/following{/other_user}","gists_url":"https://api.github.com/users/rabbitonweb/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbitonweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbitonweb/subscriptions","organizations_url":"https://api.github.com/users/rabbitonweb/orgs","repos_url":"https://api.github.com/users/rabbitonweb/repos","events_url":"https://api.github.com/users/rabbitonweb/events{/privacy}","received_events_url":"https://api.github.com/users/rabbitonweb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rabbitonweb/rchain","description":null,"fork":true,"url":"https://api.github.com/repos/rabbitonweb/rchain","forks_url":"https://api.github.com/repos/rabbitonweb/rchain/forks","keys_url":"https://api.github.com/repos/rabbitonweb/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rabbitonweb/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rabbitonweb/rchain/teams","hooks_url":"https://api.github.com/repos/rabbitonweb/rchain/hooks","issue_events_url":"https://api.github.com/repos/rabbitonweb/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/rabbitonweb/rchain/events","assignees_url":"https://api.github.com/repos/rabbitonweb/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/rabbitonweb/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/rabbitonweb/rchain/tags","blobs_url":"https://api.github.com/repos/rabbitonweb/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rabbitonweb/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rabbitonweb/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/rabbitonweb/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rabbitonweb/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/rabbitonweb/rchain/languages","stargazers_url":"https://api.github.com/repos/rabbitonweb/rchain/stargazers","contributors_url":"https://api.github.com/repos/rabbitonweb/rchain/contributors","subscribers_url":"https://api.github.com/repos/rabbitonweb/rchain/subscribers","subscription_url":"https://api.github.com/repos/rabbitonweb/rchain/subscription","commits_url":"https://api.github.com/repos/rabbitonweb/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/rabbitonweb/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/rabbitonweb/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/rabbitonweb/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/rabbitonweb/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/rabbitonweb/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rabbitonweb/rchain/merges","archive_url":"https://api.github.com/repos/rabbitonweb/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rabbitonweb/rchain/downloads","issues_url":"https://api.github.com/repos/rabbitonweb/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/rabbitonweb/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/rabbitonweb/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/rabbitonweb/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rabbitonweb/rchain/labels{/name}","releases_url":"https://api.github.com/repos/rabbitonweb/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/rabbitonweb/rchain/deployments","created_at":"2018-02-05T09:37:18Z","updated_at":"2018-02-05T09:37:21Z","pushed_at":"2018-03-08T21:49:46Z","git_url":"git://github.com/rabbitonweb/rchain.git","ssh_url":"git@github.com:rabbitonweb/rchain.git","clone_url":"https://github.com/rabbitonweb/rchain.git","svn_url":"https://github.com/rabbitonweb/rchain","homepage":null,"size":7109,"stargazers_count":0,"watchers_count":0,"language":"Java","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rchain:dev","ref":"dev","sha":"022c66ea71faa851743210c8ad5dea7c4f255ebc","user":{"login":"rchain","id":20671765,"avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"repo":{"id":84493691,"name":"rchain","full_name":"rchain/rchain","owner":{"login":"rchain","id":20671765,"avatar_url":"https://avatars0.githubusercontent.com/u/20671765?v=4","gravatar_id":"","url":"https://api.github.com/users/rchain","html_url":"https://github.com/rchain","followers_url":"https://api.github.com/users/rchain/followers","following_url":"https://api.github.com/users/rchain/following{/other_user}","gists_url":"https://api.github.com/users/rchain/gists{/gist_id}","starred_url":"https://api.github.com/users/rchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchain/subscriptions","organizations_url":"https://api.github.com/users/rchain/orgs","repos_url":"https://api.github.com/users/rchain/repos","events_url":"https://api.github.com/users/rchain/events{/privacy}","received_events_url":"https://api.github.com/users/rchain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rchain/rchain","description":null,"fork":false,"url":"https://api.github.com/repos/rchain/rchain","forks_url":"https://api.github.com/repos/rchain/rchain/forks","keys_url":"https://api.github.com/repos/rchain/rchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rchain/rchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rchain/rchain/teams","hooks_url":"https://api.github.com/repos/rchain/rchain/hooks","issue_events_url":"https://api.github.com/repos/rchain/rchain/issues/events{/number}","events_url":"https://api.github.com/repos/rchain/rchain/events","assignees_url":"https://api.github.com/repos/rchain/rchain/assignees{/user}","branches_url":"https://api.github.com/repos/rchain/rchain/branches{/branch}","tags_url":"https://api.github.com/repos/rchain/rchain/tags","blobs_url":"https://api.github.com/repos/rchain/rchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rchain/rchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rchain/rchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/rchain/rchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rchain/rchain/statuses/{sha}","languages_url":"https://api.github.com/repos/rchain/rchain/languages","stargazers_url":"https://api.github.com/repos/rchain/rchain/stargazers","contributors_url":"https://api.github.com/repos/rchain/rchain/contributors","subscribers_url":"https://api.github.com/repos/rchain/rchain/subscribers","subscription_url":"https://api.github.com/repos/rchain/rchain/subscription","commits_url":"https://api.github.com/repos/rchain/rchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/rchain/rchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/rchain/rchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/rchain/rchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/rchain/rchain/contents/{+path}","compare_url":"https://api.github.com/repos/rchain/rchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rchain/rchain/merges","archive_url":"https://api.github.com/repos/rchain/rchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rchain/rchain/downloads","issues_url":"https://api.github.com/repos/rchain/rchain/issues{/number}","pulls_url":"https://api.github.com/repos/rchain/rchain/pulls{/number}","milestones_url":"https://api.github.com/repos/rchain/rchain/milestones{/number}","notifications_url":"https://api.github.com/repos/rchain/rchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rchain/rchain/labels{/name}","releases_url":"https://api.github.com/repos/rchain/rchain/releases{/id}","deployments_url":"https://api.github.com/repos/rchain/rchain/deployments","created_at":"2017-03-09T22:15:35Z","updated_at":"2018-03-08T14:06:41Z","pushed_at":"2018-03-09T06:36:57Z","git_url":"git://github.com/rchain/rchain.git","ssh_url":"git@github.com:rchain/rchain.git","clone_url":"https://github.com/rchain/rchain.git","svn_url":"https://github.com/rchain/rchain","homepage":null,"size":7263,"stargazers_count":190,"watchers_count":190,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":52,"open_issues":7,"watchers":190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rchain/rchain/pulls/374"},"html":{"href":"https://github.com/rchain/rchain/pull/374"},"issue":{"href":"https://api.github.com/repos/rchain/rchain/issues/374"},"comments":{"href":"https://api.github.com/repos/rchain/rchain/issues/374/comments"},"review_comments":{"href":"https://api.github.com/repos/rchain/rchain/pulls/374/comments"},"review_comment":{"href":"https://api.github.com/repos/rchain/rchain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rchain/rchain/pulls/374/commits"},"statuses":{"href":"https://api.github.com/repos/rchain/rchain/statuses/b5ad3ea544613791209efffcddd812a9593f7683"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rabbitonweb"}}