{"action":"created","comment":{"url":"https://api.github.com/repos/ExchangeUnion/xud/pulls/comments/221816727","pull_request_review_id":160555518,"id":221816727,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTgxNjcyNw==","diff_hunk":"@@ -170,49 +192,114 @@ class OrderBook extends EventEmitter {\n     }\n   }\n \n-  public addLimitOrder = (order: orders.OwnOrder): matchingEngine.MatchingResult => {\n-    return this.addOwnOrder(order);\n+  public addLimitOrder = async (order: orders.OwnOrder, ee?: EventEmitter): Promise<PlaceOrderResult> => {\n+    const stampedOrder = this.stampOwnOrder(order);\n+    return this.addOwnOrder(stampedOrder, false, ee, Date.now() + OrderBook.MAX_ADD_OWN_ORDER_ITERATIONS_TIME);\n   }\n \n-  public addMarketOrder = (order: orders.OwnMarketOrder): matchingEngine.MatchingResult => {\n-    const price = order.isBuy ? Number.MAX_VALUE : 0;\n-    const result = this.addOwnOrder({ ...order, price }, true);\n+  public addMarketOrder = async (order: orders.OwnMarketOrder, ee?: EventEmitter): Promise<PlaceOrderResult> => {\n+    const stampedOrder = this.stampOwnOrder({ ...order, price: order.isBuy ? Number.MAX_VALUE : 0 });\n+    const result = await this.addOwnOrder(stampedOrder, true, ee, Date.now() + OrderBook.MAX_ADD_OWN_ORDER_ITERATIONS_TIME);\n     delete result.remainingOrder;\n     return result;\n   }\n \n-  private addOwnOrder = (order: orders.OwnOrder, discardRemaining = false): matchingEngine.MatchingResult => {\n-    if (order.localId === '') {\n-      // we were given a blank local id, so generate one\n-      order.localId = uuidv1();\n-    } else if (this.localIdMap.has(order.localId)) {\n-      throw errors.DUPLICATE_ORDER(order.localId);\n+  private addOwnOrder = async (order: orders.StampedOwnOrder, discardRemaining = false, ee?: EventEmitter, maxTime?: number):\n+    Promise<PlaceOrderResult> => {\n+    // this method can be called recursively on swap failures retries.\n+    // if max time exceeded, don't try to match\n+    if (maxTime && Date.now() > maxTime) {\n+      assert(discardRemaining, 'discardRemaining must be true on recursive calls where maxTime could exceed');","path":"lib/orderbook/OrderBook.ts","position":102,"original_position":102,"commit_id":"c3c9926d82ead47ba86be4b3335fcec12c1b37c1","original_commit_id":"c3c9926d82ead47ba86be4b3335fcec12c1b37c1","user":{"login":"sangaman","id":3440835,"node_id":"MDQ6VXNlcjM0NDA4MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3440835?v=4","gravatar_id":"","url":"https://api.github.com/users/sangaman","html_url":"https://github.com/sangaman","followers_url":"https://api.github.com/users/sangaman/followers","following_url":"https://api.github.com/users/sangaman/following{/other_user}","gists_url":"https://api.github.com/users/sangaman/gists{/gist_id}","starred_url":"https://api.github.com/users/sangaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangaman/subscriptions","organizations_url":"https://api.github.com/users/sangaman/orgs","repos_url":"https://api.github.com/users/sangaman/repos","events_url":"https://api.github.com/users/sangaman/events{/privacy}","received_events_url":"https://api.github.com/users/sangaman/received_events","type":"User","site_admin":false},"body":"Why this restriction? Couldn't we just add the remaining order to the order book after time runs out?","created_at":"2018-10-02T03:23:03Z","updated_at":"2018-10-02T03:28:56Z","html_url":"https://github.com/ExchangeUnion/xud/pull/541#discussion_r221816727","pull_request_url":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ExchangeUnion/xud/pulls/comments/221816727"},"html":{"href":"https://github.com/ExchangeUnion/xud/pull/541#discussion_r221816727"},"pull_request":{"href":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541"}}},"pull_request":{"url":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541","id":219195676,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MTk1Njc2","html_url":"https://github.com/ExchangeUnion/xud/pull/541","diff_url":"https://github.com/ExchangeUnion/xud/pull/541.diff","patch_url":"https://github.com/ExchangeUnion/xud/pull/541.patch","issue_url":"https://api.github.com/repos/ExchangeUnion/xud/issues/541","number":541,"state":"open","locked":false,"title":"feat(OrderBook/Swaps): placeOrder","user":{"login":"moshababo","id":17073733,"node_id":"MDQ6VXNlcjE3MDczNzMz","avatar_url":"https://avatars2.githubusercontent.com/u/17073733?v=4","gravatar_id":"","url":"https://api.github.com/users/moshababo","html_url":"https://github.com/moshababo","followers_url":"https://api.github.com/users/moshababo/followers","following_url":"https://api.github.com/users/moshababo/following{/other_user}","gists_url":"https://api.github.com/users/moshababo/gists{/gist_id}","starred_url":"https://api.github.com/users/moshababo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moshababo/subscriptions","organizations_url":"https://api.github.com/users/moshababo/orgs","repos_url":"https://api.github.com/users/moshababo/repos","events_url":"https://api.github.com/users/moshababo/events{/privacy}","received_events_url":"https://api.github.com/users/moshababo/received_events","type":"User","site_admin":false},"body":"Addressing #479 \r\n\r\nThis is a WIP PR, to get some feedbacks before continuing. \r\n`OrderBook.addOwnOrder` code isn't so trivial anymore, and was set to support recursive calls for the failed swaps matching retries. \r\nNone of the swaps sections (including the recursion) was tested, not even manually.\r\n\r\n* `executeSwap` method was added to `Swaps`, to be used also on no-matching mode (#145). It wasn't tested, and still missing a timeout feature\r\n* added the 3 missing order book events from #500 \r\n* added `placeOrder` support for streaming steps updates (`placeOrderSync` could be easily implemented later by ignoring them). It emit `PlaceOrderResult` for every new step - we should have a better name for that (which should be distinguished from `MatchingResult`).\r\n* error handling is missing now that `placeOrder` is a streaming call. We probably need to add an additional error field to the response to enable that\r\n* `MatchingEngine.matchOrAddOwnOrder` method should be removed. `MatchingEngine.match` and `MatchingEngine.addOwnOrder` are now called separately. \r\n\r\n\r\n","created_at":"2018-09-30T09:38:21Z","updated_at":"2018-10-02T03:28:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0567df3e7b2efff94cef44ea097716975810eead","assignee":{"login":"moshababo","id":17073733,"node_id":"MDQ6VXNlcjE3MDczNzMz","avatar_url":"https://avatars2.githubusercontent.com/u/17073733?v=4","gravatar_id":"","url":"https://api.github.com/users/moshababo","html_url":"https://github.com/moshababo","followers_url":"https://api.github.com/users/moshababo/followers","following_url":"https://api.github.com/users/moshababo/following{/other_user}","gists_url":"https://api.github.com/users/moshababo/gists{/gist_id}","starred_url":"https://api.github.com/users/moshababo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moshababo/subscriptions","organizations_url":"https://api.github.com/users/moshababo/orgs","repos_url":"https://api.github.com/users/moshababo/repos","events_url":"https://api.github.com/users/moshababo/events{/privacy}","received_events_url":"https://api.github.com/users/moshababo/received_events","type":"User","site_admin":false},"assignees":[{"login":"moshababo","id":17073733,"node_id":"MDQ6VXNlcjE3MDczNzMz","avatar_url":"https://avatars2.githubusercontent.com/u/17073733?v=4","gravatar_id":"","url":"https://api.github.com/users/moshababo","html_url":"https://github.com/moshababo","followers_url":"https://api.github.com/users/moshababo/followers","following_url":"https://api.github.com/users/moshababo/following{/other_user}","gists_url":"https://api.github.com/users/moshababo/gists{/gist_id}","starred_url":"https://api.github.com/users/moshababo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moshababo/subscriptions","organizations_url":"https://api.github.com/users/moshababo/orgs","repos_url":"https://api.github.com/users/moshababo/repos","events_url":"https://api.github.com/users/moshababo/events{/privacy}","received_events_url":"https://api.github.com/users/moshababo/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"michael1011","id":8138838,"node_id":"MDQ6VXNlcjgxMzg4Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8138838?v=4","gravatar_id":"","url":"https://api.github.com/users/michael1011","html_url":"https://github.com/michael1011","followers_url":"https://api.github.com/users/michael1011/followers","following_url":"https://api.github.com/users/michael1011/following{/other_user}","gists_url":"https://api.github.com/users/michael1011/gists{/gist_id}","starred_url":"https://api.github.com/users/michael1011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael1011/subscriptions","organizations_url":"https://api.github.com/users/michael1011/orgs","repos_url":"https://api.github.com/users/michael1011/repos","events_url":"https://api.github.com/users/michael1011/events{/privacy}","received_events_url":"https://api.github.com/users/michael1011/received_events","type":"User","site_admin":false},{"login":"offerm","id":9712754,"node_id":"MDQ6VXNlcjk3MTI3NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/9712754?v=4","gravatar_id":"","url":"https://api.github.com/users/offerm","html_url":"https://github.com/offerm","followers_url":"https://api.github.com/users/offerm/followers","following_url":"https://api.github.com/users/offerm/following{/other_user}","gists_url":"https://api.github.com/users/offerm/gists{/gist_id}","starred_url":"https://api.github.com/users/offerm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offerm/subscriptions","organizations_url":"https://api.github.com/users/offerm/orgs","repos_url":"https://api.github.com/users/offerm/repos","events_url":"https://api.github.com/users/offerm/events{/privacy}","received_events_url":"https://api.github.com/users/offerm/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":930952990,"node_id":"MDU6TGFiZWw5MzA5NTI5OTA=","url":"https://api.github.com/repos/ExchangeUnion/xud/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541/commits","review_comments_url":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541/comments","review_comment_url":"https://api.github.com/repos/ExchangeUnion/xud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ExchangeUnion/xud/issues/541/comments","statuses_url":"https://api.github.com/repos/ExchangeUnion/xud/statuses/c3c9926d82ead47ba86be4b3335fcec12c1b37c1","head":{"label":"ExchangeUnion:new-placeorder","ref":"new-placeorder","sha":"c3c9926d82ead47ba86be4b3335fcec12c1b37c1","user":{"login":"ExchangeUnion","id":32665502,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjY1NTAy","avatar_url":"https://avatars3.githubusercontent.com/u/32665502?v=4","gravatar_id":"","url":"https://api.github.com/users/ExchangeUnion","html_url":"https://github.com/ExchangeUnion","followers_url":"https://api.github.com/users/ExchangeUnion/followers","following_url":"https://api.github.com/users/ExchangeUnion/following{/other_user}","gists_url":"https://api.github.com/users/ExchangeUnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ExchangeUnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExchangeUnion/subscriptions","organizations_url":"https://api.github.com/users/ExchangeUnion/orgs","repos_url":"https://api.github.com/users/ExchangeUnion/repos","events_url":"https://api.github.com/users/ExchangeUnion/events{/privacy}","received_events_url":"https://api.github.com/users/ExchangeUnion/received_events","type":"Organization","site_admin":false},"repo":{"id":120945739,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA5NDU3Mzk=","name":"xud","full_name":"ExchangeUnion/xud","private":false,"owner":{"login":"ExchangeUnion","id":32665502,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjY1NTAy","avatar_url":"https://avatars3.githubusercontent.com/u/32665502?v=4","gravatar_id":"","url":"https://api.github.com/users/ExchangeUnion","html_url":"https://github.com/ExchangeUnion","followers_url":"https://api.github.com/users/ExchangeUnion/followers","following_url":"https://api.github.com/users/ExchangeUnion/following{/other_user}","gists_url":"https://api.github.com/users/ExchangeUnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ExchangeUnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExchangeUnion/subscriptions","organizations_url":"https://api.github.com/users/ExchangeUnion/orgs","repos_url":"https://api.github.com/users/ExchangeUnion/repos","events_url":"https://api.github.com/users/ExchangeUnion/events{/privacy}","received_events_url":"https://api.github.com/users/ExchangeUnion/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ExchangeUnion/xud","description":"Exchange Union Daemon - Connecting Digital Asset Exchanges","fork":false,"url":"https://api.github.com/repos/ExchangeUnion/xud","forks_url":"https://api.github.com/repos/ExchangeUnion/xud/forks","keys_url":"https://api.github.com/repos/ExchangeUnion/xud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ExchangeUnion/xud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ExchangeUnion/xud/teams","hooks_url":"https://api.github.com/repos/ExchangeUnion/xud/hooks","issue_events_url":"https://api.github.com/repos/ExchangeUnion/xud/issues/events{/number}","events_url":"https://api.github.com/repos/ExchangeUnion/xud/events","assignees_url":"https://api.github.com/repos/ExchangeUnion/xud/assignees{/user}","branches_url":"https://api.github.com/repos/ExchangeUnion/xud/branches{/branch}","tags_url":"https://api.github.com/repos/ExchangeUnion/xud/tags","blobs_url":"https://api.github.com/repos/ExchangeUnion/xud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ExchangeUnion/xud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ExchangeUnion/xud/git/refs{/sha}","trees_url":"https://api.github.com/repos/ExchangeUnion/xud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ExchangeUnion/xud/statuses/{sha}","languages_url":"https://api.github.com/repos/ExchangeUnion/xud/languages","stargazers_url":"https://api.github.com/repos/ExchangeUnion/xud/stargazers","contributors_url":"https://api.github.com/repos/ExchangeUnion/xud/contributors","subscribers_url":"https://api.github.com/repos/ExchangeUnion/xud/subscribers","subscription_url":"https://api.github.com/repos/ExchangeUnion/xud/subscription","commits_url":"https://api.github.com/repos/ExchangeUnion/xud/commits{/sha}","git_commits_url":"https://api.github.com/repos/ExchangeUnion/xud/git/commits{/sha}","comments_url":"https://api.github.com/repos/ExchangeUnion/xud/comments{/number}","issue_comment_url":"https://api.github.com/repos/ExchangeUnion/xud/issues/comments{/number}","contents_url":"https://api.github.com/repos/ExchangeUnion/xud/contents/{+path}","compare_url":"https://api.github.com/repos/ExchangeUnion/xud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ExchangeUnion/xud/merges","archive_url":"https://api.github.com/repos/ExchangeUnion/xud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ExchangeUnion/xud/downloads","issues_url":"https://api.github.com/repos/ExchangeUnion/xud/issues{/number}","pulls_url":"https://api.github.com/repos/ExchangeUnion/xud/pulls{/number}","milestones_url":"https://api.github.com/repos/ExchangeUnion/xud/milestones{/number}","notifications_url":"https://api.github.com/repos/ExchangeUnion/xud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ExchangeUnion/xud/labels{/name}","releases_url":"https://api.github.com/repos/ExchangeUnion/xud/releases{/id}","deployments_url":"https://api.github.com/repos/ExchangeUnion/xud/deployments","created_at":"2018-02-09T19:18:54Z","updated_at":"2018-10-01T22:12:31Z","pushed_at":"2018-10-01T22:12:29Z","git_url":"git://github.com/ExchangeUnion/xud.git","ssh_url":"git@github.com:ExchangeUnion/xud.git","clone_url":"https://github.com/ExchangeUnion/xud.git","svn_url":"https://github.com/ExchangeUnion/xud","homepage":"https://exchangeunion.com","size":2104,"stargazers_count":39,"watchers_count":39,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":88,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":19,"open_issues":88,"watchers":39,"default_branch":"master"}},"base":{"label":"ExchangeUnion:master","ref":"master","sha":"ed03df2379ace9fc68d1799a0507c2df781a995b","user":{"login":"ExchangeUnion","id":32665502,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjY1NTAy","avatar_url":"https://avatars3.githubusercontent.com/u/32665502?v=4","gravatar_id":"","url":"https://api.github.com/users/ExchangeUnion","html_url":"https://github.com/ExchangeUnion","followers_url":"https://api.github.com/users/ExchangeUnion/followers","following_url":"https://api.github.com/users/ExchangeUnion/following{/other_user}","gists_url":"https://api.github.com/users/ExchangeUnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ExchangeUnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExchangeUnion/subscriptions","organizations_url":"https://api.github.com/users/ExchangeUnion/orgs","repos_url":"https://api.github.com/users/ExchangeUnion/repos","events_url":"https://api.github.com/users/ExchangeUnion/events{/privacy}","received_events_url":"https://api.github.com/users/ExchangeUnion/received_events","type":"Organization","site_admin":false},"repo":{"id":120945739,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA5NDU3Mzk=","name":"xud","full_name":"ExchangeUnion/xud","private":false,"owner":{"login":"ExchangeUnion","id":32665502,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjY1NTAy","avatar_url":"https://avatars3.githubusercontent.com/u/32665502?v=4","gravatar_id":"","url":"https://api.github.com/users/ExchangeUnion","html_url":"https://github.com/ExchangeUnion","followers_url":"https://api.github.com/users/ExchangeUnion/followers","following_url":"https://api.github.com/users/ExchangeUnion/following{/other_user}","gists_url":"https://api.github.com/users/ExchangeUnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ExchangeUnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExchangeUnion/subscriptions","organizations_url":"https://api.github.com/users/ExchangeUnion/orgs","repos_url":"https://api.github.com/users/ExchangeUnion/repos","events_url":"https://api.github.com/users/ExchangeUnion/events{/privacy}","received_events_url":"https://api.github.com/users/ExchangeUnion/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ExchangeUnion/xud","description":"Exchange Union Daemon - Connecting Digital Asset Exchanges","fork":false,"url":"https://api.github.com/repos/ExchangeUnion/xud","forks_url":"https://api.github.com/repos/ExchangeUnion/xud/forks","keys_url":"https://api.github.com/repos/ExchangeUnion/xud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ExchangeUnion/xud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ExchangeUnion/xud/teams","hooks_url":"https://api.github.com/repos/ExchangeUnion/xud/hooks","issue_events_url":"https://api.github.com/repos/ExchangeUnion/xud/issues/events{/number}","events_url":"https://api.github.com/repos/ExchangeUnion/xud/events","assignees_url":"https://api.github.com/repos/ExchangeUnion/xud/assignees{/user}","branches_url":"https://api.github.com/repos/ExchangeUnion/xud/branches{/branch}","tags_url":"https://api.github.com/repos/ExchangeUnion/xud/tags","blobs_url":"https://api.github.com/repos/ExchangeUnion/xud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ExchangeUnion/xud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ExchangeUnion/xud/git/refs{/sha}","trees_url":"https://api.github.com/repos/ExchangeUnion/xud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ExchangeUnion/xud/statuses/{sha}","languages_url":"https://api.github.com/repos/ExchangeUnion/xud/languages","stargazers_url":"https://api.github.com/repos/ExchangeUnion/xud/stargazers","contributors_url":"https://api.github.com/repos/ExchangeUnion/xud/contributors","subscribers_url":"https://api.github.com/repos/ExchangeUnion/xud/subscribers","subscription_url":"https://api.github.com/repos/ExchangeUnion/xud/subscription","commits_url":"https://api.github.com/repos/ExchangeUnion/xud/commits{/sha}","git_commits_url":"https://api.github.com/repos/ExchangeUnion/xud/git/commits{/sha}","comments_url":"https://api.github.com/repos/ExchangeUnion/xud/comments{/number}","issue_comment_url":"https://api.github.com/repos/ExchangeUnion/xud/issues/comments{/number}","contents_url":"https://api.github.com/repos/ExchangeUnion/xud/contents/{+path}","compare_url":"https://api.github.com/repos/ExchangeUnion/xud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ExchangeUnion/xud/merges","archive_url":"https://api.github.com/repos/ExchangeUnion/xud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ExchangeUnion/xud/downloads","issues_url":"https://api.github.com/repos/ExchangeUnion/xud/issues{/number}","pulls_url":"https://api.github.com/repos/ExchangeUnion/xud/pulls{/number}","milestones_url":"https://api.github.com/repos/ExchangeUnion/xud/milestones{/number}","notifications_url":"https://api.github.com/repos/ExchangeUnion/xud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ExchangeUnion/xud/labels{/name}","releases_url":"https://api.github.com/repos/ExchangeUnion/xud/releases{/id}","deployments_url":"https://api.github.com/repos/ExchangeUnion/xud/deployments","created_at":"2018-02-09T19:18:54Z","updated_at":"2018-10-01T22:12:31Z","pushed_at":"2018-10-01T22:12:29Z","git_url":"git://github.com/ExchangeUnion/xud.git","ssh_url":"git@github.com:ExchangeUnion/xud.git","clone_url":"https://github.com/ExchangeUnion/xud.git","svn_url":"https://github.com/ExchangeUnion/xud","homepage":"https://exchangeunion.com","size":2104,"stargazers_count":39,"watchers_count":39,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":88,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":19,"open_issues":88,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541"},"html":{"href":"https://github.com/ExchangeUnion/xud/pull/541"},"issue":{"href":"https://api.github.com/repos/ExchangeUnion/xud/issues/541"},"comments":{"href":"https://api.github.com/repos/ExchangeUnion/xud/issues/541/comments"},"review_comments":{"href":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541/comments"},"review_comment":{"href":"https://api.github.com/repos/ExchangeUnion/xud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ExchangeUnion/xud/pulls/541/commits"},"statuses":{"href":"https://api.github.com/repos/ExchangeUnion/xud/statuses/c3c9926d82ead47ba86be4b3335fcec12c1b37c1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sangaman"}}