{"action":"created","comment":{"url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/comments/244102974","pull_request_review_id":188022329,"id":244102974,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDEwMjk3NA==","diff_hunk":"@@ -180,3 +229,90 @@ bracketActiveWallet walletPassiveLayer passiveWallet walletDiffusion runActiveLa\n         , redeemAda          = Active.redeemAda        w\n         , getNodeInfo        = Info.getNodeInfo        w\n         }\n+\n+    tickDiffusionFunction\n+        :: (([HeaderHash], [HeaderHash]), Utxo)\n+        -> IO (([HeaderHash], [HeaderHash]), Utxo)\n+    tickDiffusionFunction ((inProgressHeader, consumedHeader),utxo) = do\n+        nodeBlockHeaderMap <- walletRequestTip walletDiffusion\n+        let [(nodeId, headerIO)] = Map.toList nodeBlockHeaderMap\n+        header <- headerIO\n+        --void $ print \"-------------- tick\"\n+\n+        case inProgressHeader of\n+            [h1, h2] -> do\n+                blocksDowloaded <- walletGetBlocks walletDiffusion nodeId h2 (take 1 consumedHeader)\n+                let accomodatedHeaders =  map (headerHash . getBlockHeader) $ getOldestFirst blocksDowloaded\n+                    --void $ print \"currentHeaders :  \"\n+                    --void $ print accomodatedHeaders\n+                    --let prevHeaders =  map (\\block -> block ^. prevBlockL) $ getOldestFirst blocksDowloaded\n+                    -- TO-DO what if GenesisBlock is in the middle\n+                    -- now handle the case if it is the oldest\n+                    --void $ print \"prevHeaders :  \"\n+                let prevHeaders = case consumedHeader of\n+                                      [] -> (take 1 accomodatedHeaders) ++ ((reverse . drop 1 . reverse) accomodatedHeaders)\n+                                      cs -> (take 1 cs) ++ ((reverse . drop 1 . reverse) accomodatedHeaders)\n+                    --void $ print prevHeaders\n+                let slotId = map (\\genericBlock -> case genericBlock of\n+                                                       Right block -> Just $ block ^. mainBlockSlot\n+                                                       Left _  -> Nothing\n+                                 )\n+                             $ getOldestFirst blocksDowloaded\n+                    --void $ print \"slotId :  \"\n+                    --void $ print slotId\n+                    -- TO DO make sure utxo is updated every pass, no in the end\n+                let txPayload = map (\\genericBlock -> case genericBlock of\n+                                                          Right block ->\n+                                                              let transactionsInBlock = block ^. mainBlockTxPayload . txpTxs\n+                                                                  outputs = utxoUnions $ map txOuts transactionsInBlock\n+                                                                  inputs = map _txInputs transactionsInBlock\n+                                                                  inputsToRemove = concat $ map toList inputs\n+                                                                  findUtxo = utxoToLookup utxo\n+                                                                  inputsE = concat $ map (catMaybes . map findUtxo) $ map toList inputs\n+                                                              in Just (inputsToRemove, (inputsE, outputs))\n+                                                          Left _  -> Nothing\n+                                    )\n+                                $ getOldestFirst blocksDowloaded\n+                    --void $ print \"txPayload :  \"\n+                    --void $ print txPayload\n+                now <- getCurrentTimestamp\n+                    --void $ print now\n+                let createBlockContext arg1 arg2 arg3 =\n+                        if (arg2 == arg3) then\n+                            BlockContext (InDb $ arg1) (InDb $ arg2) (StrictMaybe.Nothing)\n+                        else\n+                            BlockContext (InDb $ arg1) (InDb $ arg2) (StrictMaybe.Just (InDb $ arg3))\n+                let context = List.zipWith3 createBlockContext (catMaybes slotId) accomodatedHeaders prevHeaders\n+                    --void $ print context\n+                let createResolvedTx txIn payload time =\n+                        let resolvedTxIn = fst payload\n+                            resolvedTxOut = (fst . snd) payload\n+                            theUtxo = (snd . snd) payload\n+                        in ResolvedTx (InDb $ NE.fromList $ zip resolvedTxIn resolvedTxOut) (InDb theUtxo) (InDb $ (txIn,time))\n+                let  resolvedTxs =\n+                         map (\\payload -> case List.nub (fst payload) of\n+                                              [(TxInUtxo justOne _)]  -> Just $ createResolvedTx justOne payload now\n+                                              _ -> Nothing\n+                             ) $ catMaybes txPayload\n+                    --void $ print resolvedTxs\n+                let createResolvedBlock resTx bCtx =\n+                        case resTx of\n+                            Just resolvedTx ->\n+                                let (_, timestamp) = _fromDb $ _rtxMeta resolvedTx\n+                                in ResolvedBlock [resolvedTx] bCtx timestamp\n+                            Nothing  ->\n+                                ResolvedBlock [] bCtx now\n+                let resolvedBlocks = List.zipWith createResolvedBlock resolvedTxs context\n+                --void $ print resolvedBlocks\n+\n+                mapM_ (Kernel.applyBlock passiveWallet) resolvedBlocks\n+\n+                --void $ print \"-------------- end tick 1 \"\n+                let utxoToAdd = map (snd . snd) $ catMaybes txPayload\n+                let utxoAfterAddition = utxoUnions $ utxo : utxoToAdd\n+                let utxoSetToDel = Set.fromList $ concat $ map fst $ catMaybes txPayload\n+                let updatedUtxo = utxoRemoveInputs utxoAfterAddition utxoSetToDel\n+                pure $ (([h1], (reverse accomodatedHeaders) ++ consumedHeader), updatedUtxo)","path":"src/Cardano/Wallet/WalletLayer/Kernel.hs","position":212,"original_position":212,"commit_id":"e9cc6545eecd9f683613decc07fa51e34cc18570","original_commit_id":"e9cc6545eecd9f683613decc07fa51e34cc18570","user":{"login":"KtorZ","id":5680256,"node_id":"MDQ6VXNlcjU2ODAyNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/5680256?v=4","gravatar_id":"","url":"https://api.github.com/users/KtorZ","html_url":"https://github.com/KtorZ","followers_url":"https://api.github.com/users/KtorZ/followers","following_url":"https://api.github.com/users/KtorZ/following{/other_user}","gists_url":"https://api.github.com/users/KtorZ/gists{/gist_id}","starred_url":"https://api.github.com/users/KtorZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KtorZ/subscriptions","organizations_url":"https://api.github.com/users/KtorZ/orgs","repos_url":"https://api.github.com/users/KtorZ/repos","events_url":"https://api.github.com/users/KtorZ/events{/privacy}","received_events_url":"https://api.github.com/users/KtorZ/received_events","type":"User","site_admin":false},"body":"Wow. That's one big function which I honestly didn't try to read much :( ... Sounds like this would deserve to be clarified and decomposed a bit in smaller pieces. ","created_at":"2018-12-27T08:17:05Z","updated_at":"2018-12-27T08:17:13Z","html_url":"https://github.com/input-output-hk/cardano-wallet/pull/177#discussion_r244102974","pull_request_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/comments/244102974"},"html":{"href":"https://github.com/input-output-hk/cardano-wallet/pull/177#discussion_r244102974"},"pull_request":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177","id":240434020,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNDM0MDIw","html_url":"https://github.com/input-output-hk/cardano-wallet/pull/177","diff_url":"https://github.com/input-output-hk/cardano-wallet/pull/177.diff","patch_url":"https://github.com/input-output-hk/cardano-wallet/pull/177.patch","issue_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/177","number":177,"state":"open","locked":false,"title":"WIP #88 Add applying blocks via diffusion and comment out old mechanism","user":{"login":"paweljakubas","id":9298775,"node_id":"MDQ6VXNlcjkyOTg3NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/9298775?v=4","gravatar_id":"","url":"https://api.github.com/users/paweljakubas","html_url":"https://github.com/paweljakubas","followers_url":"https://api.github.com/users/paweljakubas/followers","following_url":"https://api.github.com/users/paweljakubas/following{/other_user}","gists_url":"https://api.github.com/users/paweljakubas/gists{/gist_id}","starred_url":"https://api.github.com/users/paweljakubas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paweljakubas/subscriptions","organizations_url":"https://api.github.com/users/paweljakubas/orgs","repos_url":"https://api.github.com/users/paweljakubas/repos","events_url":"https://api.github.com/users/paweljakubas/events{/privacy}","received_events_url":"https://api.github.com/users/paweljakubas/received_events","type":"User","site_admin":false},"body":"#88 \r\n\r\n# Overview\r\n\r\n- [x] I have added getBlocks and requestTip support in diffusion layer\r\n- [x] The additional thread is instantiated that is responsible for downloading blocks from the node\r\n- [x] The added mechanism is based on pull paradigm, ie., the wallet is the initiator for pulling blocks, makes sure the blocks are in line with what the node has\r\n- [x] The same resolved blocks are created using the added mechanism as it is in case of old mechanism\r\n- [x] apply blocks part of old mechanism is commented out  \r\n\r\n\r\n# Comments\r\n\r\nThe thorough description of the proposed mechanism will be added very soon \r\n[here](https://github.com/input-output-hk/cardano-wallet/wiki/ApplyingBlocks-Rollback-After-Refactoring-Byron) \r\n\r\n# Testing\r\nAll unit tests locally passed:\r\n```\r\n$ stack test cardano-wallet:test:unit\r\n```\r\nThere is integration tests failure, ie., all sections except Transactions, pass when run\r\n```\r\n$ stack test cardano-wallet:test:integration\r\n```\r\n\r\nBut when run separately:\r\n```\r\n$ stack test --ta '-m \"Transactions\"' cardano-wallet:test:integration\r\ncardano-wallet-2.0.0: test (suite: integration, args: -m Transactions)\r\n\r\nStarting cluster of nodes... ╰( ͡° ͜ʖ ͡° )つ──☆*:・ﾟ\r\nSuggestion: tail -F ./state-integration/logs/edge.log.pub\r\n\r\n\r\nTransactions\r\n  applyBlocks test\r\n  successful payment appears in the history\r\n  estimate fees of well-formed transaction returns\r\n  payment fails when wallet has no funds\r\n  payment fails when wallet has insufficient funds\r\n  payment fails when wallet cannot cover for fee\r\n  balance is increased when valid key is redemeed\r\n  Reg#141: metadata become inconsistent after a wallet is deleted\r\n  Reg#141: metadata become inconsistent after an account is deleted\r\n  Reg#141: metadata becomes inconsistent after a wallet is deleted and restored\r\n  coin selection: no extra inputs, no extra change\r\n  coin selection: empties a wallet FAILED [1]\r\n  coin selection: needs one extra input FAILED [2]\r\n  coin selection: needs many extra inputs FAILED [3]\r\n```\r\n \r\n<!-- \r\nDon't forget to:\r\n\r\n ✓ Self-review your changes to make sure nothing unexpected slipped through\r\n ✓ Assign yourself to the PR\r\n ✓ Assign one or several reviewer(s)\r\n ✓ Once created, link this PR to its corresponding ticket\r\n ✓ Acknowledge any changes required to the Wiki\r\n-->\r\n","created_at":"2018-12-21T10:34:19Z","updated_at":"2018-12-27T08:17:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c7e9769072c9c2ff5bcfff2671da4f686b47d75","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177/commits","review_comments_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177/comments","review_comment_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/177/comments","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/statuses/e9cc6545eecd9f683613decc07fa51e34cc18570","head":{"label":"input-output-hk:paweljakubas/88/add-applyblocks-via-diffusion","ref":"paweljakubas/88/add-applyblocks-via-diffusion","sha":"e9cc6545eecd9f683613decc07fa51e34cc18570","user":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"repo":{"id":154148239,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQxNDgyMzk=","name":"cardano-wallet","full_name":"input-output-hk/cardano-wallet","private":false,"owner":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/input-output-hk/cardano-wallet","description":"Official Wallet Backend & API for Cardano-SL","fork":false,"url":"https://api.github.com/repos/input-output-hk/cardano-wallet","forks_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/forks","keys_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/teams","hooks_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/hooks","issue_events_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/events{/number}","events_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/events","assignees_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/assignees{/user}","branches_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/branches{/branch}","tags_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/tags","blobs_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/statuses/{sha}","languages_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/languages","stargazers_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/stargazers","contributors_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/contributors","subscribers_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/subscribers","subscription_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/subscription","commits_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/contents/{+path}","compare_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/merges","archive_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/downloads","issues_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues{/number}","pulls_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls{/number}","milestones_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/milestones{/number}","notifications_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/labels{/name}","releases_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/releases{/id}","deployments_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/deployments","created_at":"2018-10-22T13:23:57Z","updated_at":"2018-12-24T16:48:54Z","pushed_at":"2018-12-24T23:33:19Z","git_url":"git://github.com/input-output-hk/cardano-wallet.git","ssh_url":"git@github.com:input-output-hk/cardano-wallet.git","clone_url":"https://github.com/input-output-hk/cardano-wallet.git","svn_url":"https://github.com/input-output-hk/cardano-wallet","homepage":"https://input-output-hk.github.io/cardano-wallet/","size":11560,"stargazers_count":12,"watchers_count":12,"language":"Haskell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":54,"watchers":12,"default_branch":"develop"}},"base":{"label":"input-output-hk:develop","ref":"develop","sha":"c90d3659142c8aac9b40e745de3ab738cd7efb72","user":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"repo":{"id":154148239,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQxNDgyMzk=","name":"cardano-wallet","full_name":"input-output-hk/cardano-wallet","private":false,"owner":{"login":"input-output-hk","id":12909177,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTA5MTc3","avatar_url":"https://avatars3.githubusercontent.com/u/12909177?v=4","gravatar_id":"","url":"https://api.github.com/users/input-output-hk","html_url":"https://github.com/input-output-hk","followers_url":"https://api.github.com/users/input-output-hk/followers","following_url":"https://api.github.com/users/input-output-hk/following{/other_user}","gists_url":"https://api.github.com/users/input-output-hk/gists{/gist_id}","starred_url":"https://api.github.com/users/input-output-hk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/input-output-hk/subscriptions","organizations_url":"https://api.github.com/users/input-output-hk/orgs","repos_url":"https://api.github.com/users/input-output-hk/repos","events_url":"https://api.github.com/users/input-output-hk/events{/privacy}","received_events_url":"https://api.github.com/users/input-output-hk/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/input-output-hk/cardano-wallet","description":"Official Wallet Backend & API for Cardano-SL","fork":false,"url":"https://api.github.com/repos/input-output-hk/cardano-wallet","forks_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/forks","keys_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/teams","hooks_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/hooks","issue_events_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/events{/number}","events_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/events","assignees_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/assignees{/user}","branches_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/branches{/branch}","tags_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/tags","blobs_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/statuses/{sha}","languages_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/languages","stargazers_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/stargazers","contributors_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/contributors","subscribers_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/subscribers","subscription_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/subscription","commits_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/contents/{+path}","compare_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/merges","archive_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/downloads","issues_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues{/number}","pulls_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls{/number}","milestones_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/milestones{/number}","notifications_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/labels{/name}","releases_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/releases{/id}","deployments_url":"https://api.github.com/repos/input-output-hk/cardano-wallet/deployments","created_at":"2018-10-22T13:23:57Z","updated_at":"2018-12-24T16:48:54Z","pushed_at":"2018-12-24T23:33:19Z","git_url":"git://github.com/input-output-hk/cardano-wallet.git","ssh_url":"git@github.com:input-output-hk/cardano-wallet.git","clone_url":"https://github.com/input-output-hk/cardano-wallet.git","svn_url":"https://github.com/input-output-hk/cardano-wallet","homepage":"https://input-output-hk.github.io/cardano-wallet/","size":11560,"stargazers_count":12,"watchers_count":12,"language":"Haskell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":54,"watchers":12,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177"},"html":{"href":"https://github.com/input-output-hk/cardano-wallet/pull/177"},"issue":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/177"},"comments":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/input-output-hk/cardano-wallet/statuses/e9cc6545eecd9f683613decc07fa51e34cc18570"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"KtorZ"}}