{"action":"created","comment":{"url":"https://api.github.com/repos/meritlabs/merit/pulls/comments/213488309","pull_request_review_id":150332403,"id":213488309,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzQ4ODMwOQ==","diff_hunk":"@@ -1693,6 +1699,327 @@ UniValue getaddresstxids(const JSONRPCRequest& request)\n     return result;\n }\n \n+\n+void ProcessTxForHistory(const CTransaction &tx, const uint256 hashBlock, UniValue &entry, std::string walletAddress,\n+                         int nHeight = 0, int nConfirmations = 0, int nBlockTime = 0)\n+{\n+    auto txid = tx.GetHash();\n+    entry.pushKV(\"txid\", txid.GetHex());\n+    entry.pushKV(\"version\", tx.nVersion);\n+\n+    if (tx.IsInvite()) {\n+        entry.pushKV(\"isInvite\", true);\n+    }\n+\n+    UniValue vin(UniValue::VARR);\n+    bool isSender = false;\n+\n+    if (tx.IsCoinBase()) {\n+        entry.pushKV(\"isCoinbase\", true);\n+    } else {\n+        for (unsigned int i = 0; i < tx.vin.size(); i++) {\n+            const auto& txin = tx.vin[i];\n+            UniValue in(UniValue::VOBJ);\n+            in.pushKV(\"txid\", txin.prevout.hash.GetHex());\n+            in.pushKV(\"vout\", (int64_t)txin.prevout.n);\n+\n+            // Add address and value info if spentindex enabled\n+            CSpentIndexValue spentInfo;\n+            CSpentIndexKey spentKey(txin.prevout.hash, txin.prevout.n);\n+            if (GetSpentIndex(spentKey, spentInfo)) {\n+                if (tx.IsInvite()) {\n+                    //invites are not demoninated in sotoshi.\n+                    in.pushKV(\"amount\", spentInfo.satoshis);\n+                } else {\n+                    in.pushKV(\"amount\", ValueFromAmount(spentInfo.satoshis));\n+                    in.pushKV(\"amountMicros\", spentInfo.satoshis);\n+                }\n+\n+                auto address = CMeritAddress{(signed char)(spentInfo.addressType), spentInfo.addressHash}.ToString();\n+\n+                in.pushKV(\"address\", address);\n+                isSender = isSender || address == walletAddress;\n+\n+                const auto maybe_referral = prefviewcache->GetReferral(spentInfo.addressHash);\n+                if (maybe_referral) {\n+                    in.pushKV(\"alias\", maybe_referral->GetAlias());\n+                }\n+            } else {\n+                debug(\"could not fetch spent info\");\n+            }\n+\n+            vin.push_back(in);\n+        }\n+\n+        if (!isSender) {\n+            auto firstInput = vin[0];\n+            vin.setArray(); // Clear obj & set type to array\n+            vin.push_back(firstInput); // Add only first input\n+        }\n+\n+        entry.push_back(Pair(\"inputs\", vin));\n+    }\n+\n+    int64_t totalAmount = 0;\n+    UniValue vout(UniValue::VARR);\n+    bool couldBeGrowthReward = false;\n+    bool isMarket = false;\n+    bool isPoolReward = false;\n+\n+    for (unsigned int i = 0; i < tx.vout.size(); i++) {\n+        const auto& txout = tx.vout[i];\n+        UniValue out(UniValue::VOBJ);\n+        txnouttype type;\n+        std::vector<CTxDestination> addresses;\n+        int required;\n+\n+        if (ExtractDestinations(txout.scriptPubKey, type, addresses, required)) {\n+            assert(!addresses.empty());\n+            const auto dest = addresses[0];\n+            const auto stringDest = CMeritAddress{dest}.ToString();\n+\n+            if (!isSender && stringDest != walletAddress) {\n+                continue;\n+            } else if (isSender && stringDest == walletAddress) {\n+                out.pushKV(\"isChange\", true);\n+            } else {\n+                totalAmount += txout.nValue;\n+            }\n+\n+            out.push_back(Pair(\"address\", stringDest));\n+\n+            uint160 address;\n+            if (GetUint160(dest, address)) {\n+                const auto maybe_referral = prefviewcache->GetReferral(address);\n+                if (maybe_referral) {\n+                    out.push_back(Pair(\"alias\", maybe_referral->alias));\n+                }\n+            }\n+        } else {\n+            if (type == TX_NULL_DATA && !(isMarket || isPoolReward || tx.IsCoinBase())) {\n+                std::string data(txout.scriptPubKey.begin(), txout.scriptPubKey.end());\n+                std::transform(data.begin(), data.end(), data.begin(), ::tolower);\n+                isMarket = data.find(\"market\") != std::string::npos;\n+                isPoolReward = data.find(\"pool\") != std::string::npos;\n+            }\n+            continue;\n+        }\n+\n+        if (tx.IsInvite()) {\n+            out.push_back(Pair(\"amount\", txout.nValue));\n+        } else {\n+            out.push_back(Pair(\"amount\", ValueFromAmount(txout.nValue)));\n+            out.push_back(Pair(\"amountMicros\", txout.nValue));\n+        }\n+\n+        // Add spent information if spentindex is enabled\n+        CSpentIndexValue spentInfo;\n+        CSpentIndexKey spentKey(txid, i);\n+        if (GetSpentIndex(spentKey, spentInfo)) {\n+            out.push_back(Pair(\"spentTxId\", spentInfo.txid.GetHex()));\n+            out.push_back(Pair(\"spentIndex\", (int)spentInfo.inputIndex));\n+            out.push_back(Pair(\"spentHeight\", spentInfo.blockHeight));\n+        }\n+\n+        out.push_back(Pair(\"n\", (int64_t)i));\n+\n+        couldBeGrowthReward = i > 0;\n+\n+        vout.push_back(out);\n+    }\n+\n+    entry.push_back(Pair(\"outputs\", vout));\n+\n+    std::string action;\n+\n+    if (!isSender) {\n+        entry.pushKV(\"type\", \"credit\");\n+        if (tx.IsCoinBase()) {\n+            if (couldBeGrowthReward) {\n+                action = \"growth_reward\";\n+            } else if (tx.IsInvite()) {\n+                action = \"mined_invite\";\n+            } else {\n+                action = \"mining_reward\";\n+            };\n+        } else {\n+            if (isMarket) {\n+                action = \"market\";\n+            } else if (isPoolReward) {\n+                action = \"pool_reward\";\n+            } else {\n+                action = tx.IsInvite()? \"invite\" : \"received\";\n+            }\n+        }\n+    } else {\n+        entry.pushKV(\"type\", \"debit\");\n+        if (isMarket) {\n+            action = \"market\";\n+        } else {\n+            action = tx.IsInvite()? \"invite\" : \"sent\";\n+        }\n+    }\n+\n+    entry.pushKV(\"action\", action);\n+\n+    if (tx.IsInvite()) {\n+        entry.pushKV(\"amount\", totalAmount);\n+    } else {\n+        entry.pushKV(\"amountMicros\", totalAmount);\n+        entry.pushKV(\"amount\", ValueFromAmount(totalAmount));\n+    }\n+\n+    if (!hashBlock.IsNull()) {\n+        entry.push_back(Pair(\"blockhash\", hashBlock.GetHex()));\n+\n+        if (nConfirmations > 0) {\n+            entry.push_back(Pair(\"height\", nHeight));\n+            entry.push_back(Pair(\"confirmations\", nConfirmations));\n+            entry.push_back(Pair(\"time\", nBlockTime));\n+        } else {\n+            entry.push_back(Pair(\"height\", -1));\n+            entry.push_back(Pair(\"confirmations\", 0));\n+        }\n+    }\n+\n+}\n+\n+bool HashesToJSONTransactions(UniValue& result, std::vector<uint256> hashes, std::string walletAddress)","path":"src/rpc/misc.cpp","position":279,"original_position":279,"commit_id":"190a6c05a5aabaf391d0050aadfbf17964835d5b","original_commit_id":"190a6c05a5aabaf391d0050aadfbf17964835d5b","user":{"login":"mempko","id":3760639,"node_id":"MDQ6VXNlcjM3NjA2Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/3760639?v=4","gravatar_id":"","url":"https://api.github.com/users/mempko","html_url":"https://github.com/mempko","followers_url":"https://api.github.com/users/mempko/followers","following_url":"https://api.github.com/users/mempko/following{/other_user}","gists_url":"https://api.github.com/users/mempko/gists{/gist_id}","starred_url":"https://api.github.com/users/mempko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mempko/subscriptions","organizations_url":"https://api.github.com/users/mempko/orgs","repos_url":"https://api.github.com/users/mempko/repos","events_url":"https://api.github.com/users/mempko/events{/privacy}","received_events_url":"https://api.github.com/users/mempko/received_events","type":"User","site_admin":false},"body":"change hashes to\r\n\r\n   const std::vector<uint256>& hashes","created_at":"2018-08-28T22:07:18Z","updated_at":"2018-08-28T22:09:00Z","html_url":"https://github.com/meritlabs/merit/pull/391#discussion_r213488309","pull_request_url":"https://api.github.com/repos/meritlabs/merit/pulls/391","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/meritlabs/merit/pulls/comments/213488309"},"html":{"href":"https://github.com/meritlabs/merit/pull/391#discussion_r213488309"},"pull_request":{"href":"https://api.github.com/repos/meritlabs/merit/pulls/391"}}},"pull_request":{"url":"https://api.github.com/repos/meritlabs/merit/pulls/391","id":210916274,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTE2Mjc0","html_url":"https://github.com/meritlabs/merit/pull/391","diff_url":"https://github.com/meritlabs/merit/pull/391.diff","patch_url":"https://github.com/meritlabs/merit/pull/391.patch","issue_url":"https://api.github.com/repos/meritlabs/merit/issues/391","number":391,"state":"open","locked":false,"title":"Add getaddresshistory RPC call","user":{"login":"ihadeed","id":13794420,"node_id":"MDQ6VXNlcjEzNzk0NDIw","avatar_url":"https://avatars2.githubusercontent.com/u/13794420?v=4","gravatar_id":"","url":"https://api.github.com/users/ihadeed","html_url":"https://github.com/ihadeed","followers_url":"https://api.github.com/users/ihadeed/followers","following_url":"https://api.github.com/users/ihadeed/following{/other_user}","gists_url":"https://api.github.com/users/ihadeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ihadeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihadeed/subscriptions","organizations_url":"https://api.github.com/users/ihadeed/orgs","repos_url":"https://api.github.com/users/ihadeed/repos","events_url":"https://api.github.com/users/ihadeed/events{/privacy}","received_events_url":"https://api.github.com/users/ihadeed/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-25T18:52:24Z","updated_at":"2018-08-28T22:08:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec268d3796bd2eb2c0136ef465a1bc9a2629a66e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/meritlabs/merit/pulls/391/commits","review_comments_url":"https://api.github.com/repos/meritlabs/merit/pulls/391/comments","review_comment_url":"https://api.github.com/repos/meritlabs/merit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meritlabs/merit/issues/391/comments","statuses_url":"https://api.github.com/repos/meritlabs/merit/statuses/190a6c05a5aabaf391d0050aadfbf17964835d5b","head":{"label":"ihadeed:getaddresshistory","ref":"getaddresshistory","sha":"190a6c05a5aabaf391d0050aadfbf17964835d5b","user":{"login":"ihadeed","id":13794420,"node_id":"MDQ6VXNlcjEzNzk0NDIw","avatar_url":"https://avatars2.githubusercontent.com/u/13794420?v=4","gravatar_id":"","url":"https://api.github.com/users/ihadeed","html_url":"https://github.com/ihadeed","followers_url":"https://api.github.com/users/ihadeed/followers","following_url":"https://api.github.com/users/ihadeed/following{/other_user}","gists_url":"https://api.github.com/users/ihadeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ihadeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihadeed/subscriptions","organizations_url":"https://api.github.com/users/ihadeed/orgs","repos_url":"https://api.github.com/users/ihadeed/repos","events_url":"https://api.github.com/users/ihadeed/events{/privacy}","received_events_url":"https://api.github.com/users/ihadeed/received_events","type":"User","site_admin":false},"repo":{"id":146047373,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYwNDczNzM=","name":"merit","full_name":"ihadeed/merit","owner":{"login":"ihadeed","id":13794420,"node_id":"MDQ6VXNlcjEzNzk0NDIw","avatar_url":"https://avatars2.githubusercontent.com/u/13794420?v=4","gravatar_id":"","url":"https://api.github.com/users/ihadeed","html_url":"https://github.com/ihadeed","followers_url":"https://api.github.com/users/ihadeed/followers","following_url":"https://api.github.com/users/ihadeed/following{/other_user}","gists_url":"https://api.github.com/users/ihadeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ihadeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihadeed/subscriptions","organizations_url":"https://api.github.com/users/ihadeed/orgs","repos_url":"https://api.github.com/users/ihadeed/repos","events_url":"https://api.github.com/users/ihadeed/events{/privacy}","received_events_url":"https://api.github.com/users/ihadeed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ihadeed/merit","description":"Merit aims to be the world's most adopted digital currency.","fork":true,"url":"https://api.github.com/repos/ihadeed/merit","forks_url":"https://api.github.com/repos/ihadeed/merit/forks","keys_url":"https://api.github.com/repos/ihadeed/merit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ihadeed/merit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ihadeed/merit/teams","hooks_url":"https://api.github.com/repos/ihadeed/merit/hooks","issue_events_url":"https://api.github.com/repos/ihadeed/merit/issues/events{/number}","events_url":"https://api.github.com/repos/ihadeed/merit/events","assignees_url":"https://api.github.com/repos/ihadeed/merit/assignees{/user}","branches_url":"https://api.github.com/repos/ihadeed/merit/branches{/branch}","tags_url":"https://api.github.com/repos/ihadeed/merit/tags","blobs_url":"https://api.github.com/repos/ihadeed/merit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ihadeed/merit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ihadeed/merit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ihadeed/merit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ihadeed/merit/statuses/{sha}","languages_url":"https://api.github.com/repos/ihadeed/merit/languages","stargazers_url":"https://api.github.com/repos/ihadeed/merit/stargazers","contributors_url":"https://api.github.com/repos/ihadeed/merit/contributors","subscribers_url":"https://api.github.com/repos/ihadeed/merit/subscribers","subscription_url":"https://api.github.com/repos/ihadeed/merit/subscription","commits_url":"https://api.github.com/repos/ihadeed/merit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ihadeed/merit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ihadeed/merit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ihadeed/merit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ihadeed/merit/contents/{+path}","compare_url":"https://api.github.com/repos/ihadeed/merit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ihadeed/merit/merges","archive_url":"https://api.github.com/repos/ihadeed/merit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ihadeed/merit/downloads","issues_url":"https://api.github.com/repos/ihadeed/merit/issues{/number}","pulls_url":"https://api.github.com/repos/ihadeed/merit/pulls{/number}","milestones_url":"https://api.github.com/repos/ihadeed/merit/milestones{/number}","notifications_url":"https://api.github.com/repos/ihadeed/merit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ihadeed/merit/labels{/name}","releases_url":"https://api.github.com/repos/ihadeed/merit/releases{/id}","deployments_url":"https://api.github.com/repos/ihadeed/merit/deployments","created_at":"2018-08-24T23:05:42Z","updated_at":"2018-08-24T23:05:49Z","pushed_at":"2018-08-28T22:06:39Z","git_url":"git://github.com/ihadeed/merit.git","ssh_url":"git@github.com:ihadeed/merit.git","clone_url":"https://github.com/ihadeed/merit.git","svn_url":"https://github.com/ihadeed/merit","homepage":"https://www.merit.me","size":80073,"stargazers_count":0,"watchers_count":0,"language":"C++","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"meritlabs:master","ref":"master","sha":"456813a69d8333d6ec391c93e732e6ee374bdf73","user":{"login":"meritlabs","id":30664832,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjY0ODMy","avatar_url":"https://avatars2.githubusercontent.com/u/30664832?v=4","gravatar_id":"","url":"https://api.github.com/users/meritlabs","html_url":"https://github.com/meritlabs","followers_url":"https://api.github.com/users/meritlabs/followers","following_url":"https://api.github.com/users/meritlabs/following{/other_user}","gists_url":"https://api.github.com/users/meritlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/meritlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meritlabs/subscriptions","organizations_url":"https://api.github.com/users/meritlabs/orgs","repos_url":"https://api.github.com/users/meritlabs/repos","events_url":"https://api.github.com/users/meritlabs/events{/privacy}","received_events_url":"https://api.github.com/users/meritlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":100290270,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAyOTAyNzA=","name":"merit","full_name":"meritlabs/merit","owner":{"login":"meritlabs","id":30664832,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNjY0ODMy","avatar_url":"https://avatars2.githubusercontent.com/u/30664832?v=4","gravatar_id":"","url":"https://api.github.com/users/meritlabs","html_url":"https://github.com/meritlabs","followers_url":"https://api.github.com/users/meritlabs/followers","following_url":"https://api.github.com/users/meritlabs/following{/other_user}","gists_url":"https://api.github.com/users/meritlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/meritlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meritlabs/subscriptions","organizations_url":"https://api.github.com/users/meritlabs/orgs","repos_url":"https://api.github.com/users/meritlabs/repos","events_url":"https://api.github.com/users/meritlabs/events{/privacy}","received_events_url":"https://api.github.com/users/meritlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/meritlabs/merit","description":"Merit aims to be the world's most adopted digital currency.","fork":false,"url":"https://api.github.com/repos/meritlabs/merit","forks_url":"https://api.github.com/repos/meritlabs/merit/forks","keys_url":"https://api.github.com/repos/meritlabs/merit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meritlabs/merit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meritlabs/merit/teams","hooks_url":"https://api.github.com/repos/meritlabs/merit/hooks","issue_events_url":"https://api.github.com/repos/meritlabs/merit/issues/events{/number}","events_url":"https://api.github.com/repos/meritlabs/merit/events","assignees_url":"https://api.github.com/repos/meritlabs/merit/assignees{/user}","branches_url":"https://api.github.com/repos/meritlabs/merit/branches{/branch}","tags_url":"https://api.github.com/repos/meritlabs/merit/tags","blobs_url":"https://api.github.com/repos/meritlabs/merit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meritlabs/merit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meritlabs/merit/git/refs{/sha}","trees_url":"https://api.github.com/repos/meritlabs/merit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meritlabs/merit/statuses/{sha}","languages_url":"https://api.github.com/repos/meritlabs/merit/languages","stargazers_url":"https://api.github.com/repos/meritlabs/merit/stargazers","contributors_url":"https://api.github.com/repos/meritlabs/merit/contributors","subscribers_url":"https://api.github.com/repos/meritlabs/merit/subscribers","subscription_url":"https://api.github.com/repos/meritlabs/merit/subscription","commits_url":"https://api.github.com/repos/meritlabs/merit/commits{/sha}","git_commits_url":"https://api.github.com/repos/meritlabs/merit/git/commits{/sha}","comments_url":"https://api.github.com/repos/meritlabs/merit/comments{/number}","issue_comment_url":"https://api.github.com/repos/meritlabs/merit/issues/comments{/number}","contents_url":"https://api.github.com/repos/meritlabs/merit/contents/{+path}","compare_url":"https://api.github.com/repos/meritlabs/merit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meritlabs/merit/merges","archive_url":"https://api.github.com/repos/meritlabs/merit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meritlabs/merit/downloads","issues_url":"https://api.github.com/repos/meritlabs/merit/issues{/number}","pulls_url":"https://api.github.com/repos/meritlabs/merit/pulls{/number}","milestones_url":"https://api.github.com/repos/meritlabs/merit/milestones{/number}","notifications_url":"https://api.github.com/repos/meritlabs/merit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meritlabs/merit/labels{/name}","releases_url":"https://api.github.com/repos/meritlabs/merit/releases{/id}","deployments_url":"https://api.github.com/repos/meritlabs/merit/deployments","created_at":"2017-08-14T16:59:10Z","updated_at":"2018-08-28T20:43:04Z","pushed_at":"2018-08-28T22:06:41Z","git_url":"git://github.com/meritlabs/merit.git","ssh_url":"git@github.com:meritlabs/merit.git","clone_url":"https://github.com/meritlabs/merit.git","svn_url":"https://github.com/meritlabs/merit","homepage":"https://www.merit.me","size":80094,"stargazers_count":109,"watchers_count":109,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"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":5,"open_issues":54,"watchers":109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meritlabs/merit/pulls/391"},"html":{"href":"https://github.com/meritlabs/merit/pull/391"},"issue":{"href":"https://api.github.com/repos/meritlabs/merit/issues/391"},"comments":{"href":"https://api.github.com/repos/meritlabs/merit/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/meritlabs/merit/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/meritlabs/merit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meritlabs/merit/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/meritlabs/merit/statuses/190a6c05a5aabaf391d0050aadfbf17964835d5b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mempko"}}