{"action":"created","comment":{"url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/comments/175303730","pull_request_review_id":104811259,"id":175303730,"diff_hunk":"@@ -42,29 +46,68 @@ api.getNextBlockInfo = (ledgerNode, callback) => {\n   // does not have that information. There has presently been no mechanism\n   // devised for switching consensus methods between hashgraph-like blocks\n   // and typical blockchains with block heights.\n-  ledgerNode.storage.blocks.getLatestSummary((err, block) => {\n+  const ledgerNodeId = ledgerNode.id;\n+  async.auto({\n+    latestSummary: callback => ledgerNode.storage.blocks.getLatestSummary(\n+      (err, block) => {\n+        const latestBlockHeight = _.get(block, 'eventBlock.block.blockHeight');\n+        if(latestBlockHeight === undefined) {\n+          return callback(new BedrockError(\n+            'blockHeight is missing from latest block.', 'NotFoundError',\n+            {block}));\n+        }\n+        callback(null, block);\n+      }),\n+    cachedBlockHeight: callback => {\n+      const blockHeightKey = _cacheKey.blockHeight(ledgerNodeId);\n+      cache.client.get(blockHeightKey, (err, result) => {\n+        if(err) {\n+          return callback(err);\n+        }\n+        if(result === null) {\n+          return callback(new BedrockError(\n+            'Block height key is missing for the cache.', 'InvalidStateError',\n+            {ledgerNodeId}));\n+        }\n+        callback(null, parseInt(result, 10));\n+      });\n+    },\n+    consistencyCheck: [\n+      'cachedBlockHeight', 'latestSummary', (results, callback) => {\n+        const {cachedBlockHeight, latestSummary} = results;\n+        const {blockHeight} = latestSummary.eventBlock.block;\n+        if(blockHeight === cachedBlockHeight) {\n+          // success\n+          return callback();\n+        }\n+        // this should never happen\n+        if((blockHeight - cachedBlockHeight) !== 1) {\n+          return callback(new BedrockError(\n+            'Cache is behind by more than one block.', 'InvalidStateError',\n+            {blockHeight, cachedBlockHeight, ledgerNodeId}));\n+        }\n+        // inconsistency needs to be repaired\n+        _repairCache({blockHeight, ledgerNode}, callback);","path":"lib/blocks.js","position":64,"original_position":64,"commit_id":"a99b289b13d3cf9bf4ce843c70fdf91745fd83a6","original_commit_id":"a99b289b13d3cf9bf4ce843c70fdf91745fd83a6","user":{"login":"dlongley","id":168137,"avatar_url":"https://avatars0.githubusercontent.com/u/168137?v=4","gravatar_id":"","url":"https://api.github.com/users/dlongley","html_url":"https://github.com/dlongley","followers_url":"https://api.github.com/users/dlongley/followers","following_url":"https://api.github.com/users/dlongley/following{/other_user}","gists_url":"https://api.github.com/users/dlongley/gists{/gist_id}","starred_url":"https://api.github.com/users/dlongley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlongley/subscriptions","organizations_url":"https://api.github.com/users/dlongley/orgs","repos_url":"https://api.github.com/users/dlongley/repos","events_url":"https://api.github.com/users/dlongley/events{/privacy}","received_events_url":"https://api.github.com/users/dlongley/received_events","type":"User","site_admin":false},"body":"Why are we calling the repair code within `getLatest`? This call can be called from anywhere -- right? If so, is it necessary to do this cache repair when that happens (i.e. is the cache even used in that case?) How safe is it to have two processes make this call at once (i.e. outside of the consensus worker lock)?\r\n\r\nWould it be better to just call the repair code once at the start of the consensus worker (or beginning of or start of loop of whatever agent is using the cache)?","created_at":"2018-03-18T21:03:39Z","updated_at":"2018-03-18T21:03:39Z","html_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity/pull/72#discussion_r175303730","pull_request_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/comments/175303730"},"html":{"href":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity/pull/72#discussion_r175303730"},"pull_request":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72","id":175721806,"html_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity/pull/72","diff_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity/pull/72.diff","patch_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity/pull/72.patch","issue_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/72","number":72,"state":"open","locked":false,"title":"Block add","user":{"login":"mattcollier","id":902041,"avatar_url":"https://avatars2.githubusercontent.com/u/902041?v=4","gravatar_id":"","url":"https://api.github.com/users/mattcollier","html_url":"https://github.com/mattcollier","followers_url":"https://api.github.com/users/mattcollier/followers","following_url":"https://api.github.com/users/mattcollier/following{/other_user}","gists_url":"https://api.github.com/users/mattcollier/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcollier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcollier/subscriptions","organizations_url":"https://api.github.com/users/mattcollier/orgs","repos_url":"https://api.github.com/users/mattcollier/repos","events_url":"https://api.github.com/users/mattcollier/events{/privacy}","received_events_url":"https://api.github.com/users/mattcollier/received_events","type":"User","site_admin":false},"body":"Depends on https://github.com/digitalbazaar/bedrock-ledger-storage-mongodb/pull/16","created_at":"2018-03-17T21:18:23Z","updated_at":"2018-03-18T21:03:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4db364638321e516e5d5a7dbe870d9d6c6a6c79","assignee":{"login":"mattcollier","id":902041,"avatar_url":"https://avatars2.githubusercontent.com/u/902041?v=4","gravatar_id":"","url":"https://api.github.com/users/mattcollier","html_url":"https://github.com/mattcollier","followers_url":"https://api.github.com/users/mattcollier/followers","following_url":"https://api.github.com/users/mattcollier/following{/other_user}","gists_url":"https://api.github.com/users/mattcollier/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcollier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcollier/subscriptions","organizations_url":"https://api.github.com/users/mattcollier/orgs","repos_url":"https://api.github.com/users/mattcollier/repos","events_url":"https://api.github.com/users/mattcollier/events{/privacy}","received_events_url":"https://api.github.com/users/mattcollier/received_events","type":"User","site_admin":false},"assignees":[{"login":"mattcollier","id":902041,"avatar_url":"https://avatars2.githubusercontent.com/u/902041?v=4","gravatar_id":"","url":"https://api.github.com/users/mattcollier","html_url":"https://github.com/mattcollier","followers_url":"https://api.github.com/users/mattcollier/followers","following_url":"https://api.github.com/users/mattcollier/following{/other_user}","gists_url":"https://api.github.com/users/mattcollier/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcollier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcollier/subscriptions","organizations_url":"https://api.github.com/users/mattcollier/orgs","repos_url":"https://api.github.com/users/mattcollier/repos","events_url":"https://api.github.com/users/mattcollier/events{/privacy}","received_events_url":"https://api.github.com/users/mattcollier/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"davidlehn","id":109587,"avatar_url":"https://avatars0.githubusercontent.com/u/109587?v=4","gravatar_id":"","url":"https://api.github.com/users/davidlehn","html_url":"https://github.com/davidlehn","followers_url":"https://api.github.com/users/davidlehn/followers","following_url":"https://api.github.com/users/davidlehn/following{/other_user}","gists_url":"https://api.github.com/users/davidlehn/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlehn/subscriptions","organizations_url":"https://api.github.com/users/davidlehn/orgs","repos_url":"https://api.github.com/users/davidlehn/repos","events_url":"https://api.github.com/users/davidlehn/events{/privacy}","received_events_url":"https://api.github.com/users/davidlehn/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72/commits","review_comments_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72/comments","review_comment_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/72/comments","statuses_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/statuses/a99b289b13d3cf9bf4ce843c70fdf91745fd83a6","head":{"label":"digitalbazaar:blockAdd","ref":"blockAdd","sha":"a99b289b13d3cf9bf4ce843c70fdf91745fd83a6","user":{"login":"digitalbazaar","id":167436,"avatar_url":"https://avatars3.githubusercontent.com/u/167436?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalbazaar","html_url":"https://github.com/digitalbazaar","followers_url":"https://api.github.com/users/digitalbazaar/followers","following_url":"https://api.github.com/users/digitalbazaar/following{/other_user}","gists_url":"https://api.github.com/users/digitalbazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalbazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalbazaar/subscriptions","organizations_url":"https://api.github.com/users/digitalbazaar/orgs","repos_url":"https://api.github.com/users/digitalbazaar/repos","events_url":"https://api.github.com/users/digitalbazaar/events{/privacy}","received_events_url":"https://api.github.com/users/digitalbazaar/received_events","type":"Organization","site_admin":false},"repo":{"id":93410710,"name":"bedrock-ledger-consensus-continuity","full_name":"digitalbazaar/bedrock-ledger-consensus-continuity","owner":{"login":"digitalbazaar","id":167436,"avatar_url":"https://avatars3.githubusercontent.com/u/167436?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalbazaar","html_url":"https://github.com/digitalbazaar","followers_url":"https://api.github.com/users/digitalbazaar/followers","following_url":"https://api.github.com/users/digitalbazaar/following{/other_user}","gists_url":"https://api.github.com/users/digitalbazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalbazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalbazaar/subscriptions","organizations_url":"https://api.github.com/users/digitalbazaar/orgs","repos_url":"https://api.github.com/users/digitalbazaar/repos","events_url":"https://api.github.com/users/digitalbazaar/events{/privacy}","received_events_url":"https://api.github.com/users/digitalbazaar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity","description":"Web Ledger Continuity Consensus Protocol","fork":false,"url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity","forks_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/forks","keys_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/teams","hooks_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/hooks","issue_events_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/events{/number}","events_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/events","assignees_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/assignees{/user}","branches_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/branches{/branch}","tags_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/tags","blobs_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/languages","stargazers_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/stargazers","contributors_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/contributors","subscribers_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/subscribers","subscription_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/subscription","commits_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/contents/{+path}","compare_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/merges","archive_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/downloads","issues_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues{/number}","pulls_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/labels{/name}","releases_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/releases{/id}","deployments_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/deployments","created_at":"2017-06-05T14:09:26Z","updated_at":"2018-03-14T20:13:51Z","pushed_at":"2018-03-17T21:18:24Z","git_url":"git://github.com/digitalbazaar/bedrock-ledger-consensus-continuity.git","ssh_url":"git@github.com:digitalbazaar/bedrock-ledger-consensus-continuity.git","clone_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity.git","svn_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity","homepage":null,"size":1236,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"digitalbazaar:master","ref":"master","sha":"2f79d226a48740b529ad545d0bebe059ad034739","user":{"login":"digitalbazaar","id":167436,"avatar_url":"https://avatars3.githubusercontent.com/u/167436?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalbazaar","html_url":"https://github.com/digitalbazaar","followers_url":"https://api.github.com/users/digitalbazaar/followers","following_url":"https://api.github.com/users/digitalbazaar/following{/other_user}","gists_url":"https://api.github.com/users/digitalbazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalbazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalbazaar/subscriptions","organizations_url":"https://api.github.com/users/digitalbazaar/orgs","repos_url":"https://api.github.com/users/digitalbazaar/repos","events_url":"https://api.github.com/users/digitalbazaar/events{/privacy}","received_events_url":"https://api.github.com/users/digitalbazaar/received_events","type":"Organization","site_admin":false},"repo":{"id":93410710,"name":"bedrock-ledger-consensus-continuity","full_name":"digitalbazaar/bedrock-ledger-consensus-continuity","owner":{"login":"digitalbazaar","id":167436,"avatar_url":"https://avatars3.githubusercontent.com/u/167436?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalbazaar","html_url":"https://github.com/digitalbazaar","followers_url":"https://api.github.com/users/digitalbazaar/followers","following_url":"https://api.github.com/users/digitalbazaar/following{/other_user}","gists_url":"https://api.github.com/users/digitalbazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalbazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalbazaar/subscriptions","organizations_url":"https://api.github.com/users/digitalbazaar/orgs","repos_url":"https://api.github.com/users/digitalbazaar/repos","events_url":"https://api.github.com/users/digitalbazaar/events{/privacy}","received_events_url":"https://api.github.com/users/digitalbazaar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity","description":"Web Ledger Continuity Consensus Protocol","fork":false,"url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity","forks_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/forks","keys_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/teams","hooks_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/hooks","issue_events_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/events{/number}","events_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/events","assignees_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/assignees{/user}","branches_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/branches{/branch}","tags_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/tags","blobs_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/languages","stargazers_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/stargazers","contributors_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/contributors","subscribers_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/subscribers","subscription_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/subscription","commits_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/contents/{+path}","compare_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/merges","archive_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/downloads","issues_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues{/number}","pulls_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/labels{/name}","releases_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/releases{/id}","deployments_url":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/deployments","created_at":"2017-06-05T14:09:26Z","updated_at":"2018-03-14T20:13:51Z","pushed_at":"2018-03-17T21:18:24Z","git_url":"git://github.com/digitalbazaar/bedrock-ledger-consensus-continuity.git","ssh_url":"git@github.com:digitalbazaar/bedrock-ledger-consensus-continuity.git","clone_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity.git","svn_url":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity","homepage":null,"size":1236,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72"},"html":{"href":"https://github.com/digitalbazaar/bedrock-ledger-consensus-continuity/pull/72"},"issue":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/72"},"comments":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/digitalbazaar/bedrock-ledger-consensus-continuity/statuses/a99b289b13d3cf9bf4ce843c70fdf91745fd83a6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dlongley"}}