{"action":"created","comment":{"url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/comments/244538734","pull_request_review_id":188443975,"id":244538734,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDUzODczNA==","diff_hunk":"@@ -214,3 +214,48 @@ int ta_send_transfer_res_serialize(char** obj,\n   cJSON_Delete(json_root);\n   return 0;\n }\n+\n+int ta_get_transaction_msg_req_deserialize(const char* const obj,\n+                                           ta_get_transaction_msg_req_t* req) {\n+  cJSON* json_obj = cJSON_Parse(obj);\n+  cJSON* json_result = NULL;\n+  flex_trit_t addr_trits[NUM_TRITS_HASH];\n+  int ret;\n+\n+  if (json_obj == NULL) {\n+    ret = -1;\n+    goto done;\n+  }\n+\n+  json_result = cJSON_GetObjectItemCaseSensitive(json_obj, \"hash\");\n+  flex_trits_from_trytes(addr_trits, NUM_TRITS_HASH,\n+                         (const tryte_t*)json_result->valuestring,\n+                         NUM_TRYTES_HASH, NUM_TRYTES_HASH);\n+  ret = hash243_queue_push(&req->hashes, addr_trits);\n+\n+done:\n+  cJSON_Delete(json_obj);\n+  return ret;\n+}\n+\n+int ta_get_transaction_msg_res_serialize(\n+    char** obj, const ta_get_transaction_msg_res_t* const res) {\n+  cJSON* json_root = cJSON_CreateObject();\n+  char trytes_out[NUM_TRYTES_SIGNATURE + 1];","path":"serializer/serializer.c","position":31,"original_position":31,"commit_id":"0b271418c8297ac802306ddb3c346d838ef72717","original_commit_id":"0b271418c8297ac802306ddb3c346d838ef72717","user":{"login":"jkrvivian","id":11289354,"node_id":"MDQ6VXNlcjExMjg5MzU0","avatar_url":"https://avatars3.githubusercontent.com/u/11289354?v=4","gravatar_id":"","url":"https://api.github.com/users/jkrvivian","html_url":"https://github.com/jkrvivian","followers_url":"https://api.github.com/users/jkrvivian/followers","following_url":"https://api.github.com/users/jkrvivian/following{/other_user}","gists_url":"https://api.github.com/users/jkrvivian/gists{/gist_id}","starred_url":"https://api.github.com/users/jkrvivian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkrvivian/subscriptions","organizations_url":"https://api.github.com/users/jkrvivian/orgs","repos_url":"https://api.github.com/users/jkrvivian/repos","events_url":"https://api.github.com/users/jkrvivian/events{/privacy}","received_events_url":"https://api.github.com/users/jkrvivian/received_events","type":"User","site_admin":false},"body":"`trytes_out` is the tryte string of `res->msg` which is trits, I'll rename it for better readability.","created_at":"2018-12-30T15:59:47Z","updated_at":"2018-12-30T15:59:47Z","html_url":"https://github.com/DLTcollab/tangle-accelerator/pull/37#discussion_r244538734","pull_request_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/comments/244538734"},"html":{"href":"https://github.com/DLTcollab/tangle-accelerator/pull/37#discussion_r244538734"},"pull_request":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37"}},"in_reply_to_id":244532513},"pull_request":{"url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37","id":241488406,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNDg4NDA2","html_url":"https://github.com/DLTcollab/tangle-accelerator/pull/37","diff_url":"https://github.com/DLTcollab/tangle-accelerator/pull/37.diff","patch_url":"https://github.com/DLTcollab/tangle-accelerator/pull/37.patch","issue_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/issues/37","number":37,"state":"open","locked":false,"title":"Implement api_get_transaction_msg","user":{"login":"jkrvivian","id":11289354,"node_id":"MDQ6VXNlcjExMjg5MzU0","avatar_url":"https://avatars3.githubusercontent.com/u/11289354?v=4","gravatar_id":"","url":"https://api.github.com/users/jkrvivian","html_url":"https://github.com/jkrvivian","followers_url":"https://api.github.com/users/jkrvivian/followers","following_url":"https://api.github.com/users/jkrvivian/following{/other_user}","gists_url":"https://api.github.com/users/jkrvivian/gists{/gist_id}","starred_url":"https://api.github.com/users/jkrvivian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkrvivian/subscriptions","organizations_url":"https://api.github.com/users/jkrvivian/orgs","repos_url":"https://api.github.com/users/jkrvivian/repos","events_url":"https://api.github.com/users/jkrvivian/events{/privacy}","received_events_url":"https://api.github.com/users/jkrvivian/received_events","type":"User","site_admin":false},"body":"Close #31 ","created_at":"2018-12-30T12:14:58Z","updated_at":"2018-12-30T15:59:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbfc8de4b8cc7d318e250dc0fee1e7b90f2546b5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"wusyong","id":8409985,"node_id":"MDQ6VXNlcjg0MDk5ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/8409985?v=4","gravatar_id":"","url":"https://api.github.com/users/wusyong","html_url":"https://github.com/wusyong","followers_url":"https://api.github.com/users/wusyong/followers","following_url":"https://api.github.com/users/wusyong/following{/other_user}","gists_url":"https://api.github.com/users/wusyong/gists{/gist_id}","starred_url":"https://api.github.com/users/wusyong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wusyong/subscriptions","organizations_url":"https://api.github.com/users/wusyong/orgs","repos_url":"https://api.github.com/users/wusyong/repos","events_url":"https://api.github.com/users/wusyong/events{/privacy}","received_events_url":"https://api.github.com/users/wusyong/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37/commits","review_comments_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37/comments","review_comment_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/issues/37/comments","statuses_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/statuses/0b271418c8297ac802306ddb3c346d838ef72717","head":{"label":"jkrvivian:api_get_txn_msg","ref":"api_get_txn_msg","sha":"0b271418c8297ac802306ddb3c346d838ef72717","user":{"login":"jkrvivian","id":11289354,"node_id":"MDQ6VXNlcjExMjg5MzU0","avatar_url":"https://avatars3.githubusercontent.com/u/11289354?v=4","gravatar_id":"","url":"https://api.github.com/users/jkrvivian","html_url":"https://github.com/jkrvivian","followers_url":"https://api.github.com/users/jkrvivian/followers","following_url":"https://api.github.com/users/jkrvivian/following{/other_user}","gists_url":"https://api.github.com/users/jkrvivian/gists{/gist_id}","starred_url":"https://api.github.com/users/jkrvivian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkrvivian/subscriptions","organizations_url":"https://api.github.com/users/jkrvivian/orgs","repos_url":"https://api.github.com/users/jkrvivian/repos","events_url":"https://api.github.com/users/jkrvivian/events{/privacy}","received_events_url":"https://api.github.com/users/jkrvivian/received_events","type":"User","site_admin":false},"repo":{"id":161878895,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE4Nzg4OTU=","name":"tangle-accelerator","full_name":"jkrvivian/tangle-accelerator","private":false,"owner":{"login":"jkrvivian","id":11289354,"node_id":"MDQ6VXNlcjExMjg5MzU0","avatar_url":"https://avatars3.githubusercontent.com/u/11289354?v=4","gravatar_id":"","url":"https://api.github.com/users/jkrvivian","html_url":"https://github.com/jkrvivian","followers_url":"https://api.github.com/users/jkrvivian/followers","following_url":"https://api.github.com/users/jkrvivian/following{/other_user}","gists_url":"https://api.github.com/users/jkrvivian/gists{/gist_id}","starred_url":"https://api.github.com/users/jkrvivian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkrvivian/subscriptions","organizations_url":"https://api.github.com/users/jkrvivian/orgs","repos_url":"https://api.github.com/users/jkrvivian/repos","events_url":"https://api.github.com/users/jkrvivian/events{/privacy}","received_events_url":"https://api.github.com/users/jkrvivian/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jkrvivian/tangle-accelerator","description":null,"fork":true,"url":"https://api.github.com/repos/jkrvivian/tangle-accelerator","forks_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/forks","keys_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/teams","hooks_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/hooks","issue_events_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/issues/events{/number}","events_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/events","assignees_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/assignees{/user}","branches_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/branches{/branch}","tags_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/tags","blobs_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/statuses/{sha}","languages_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/languages","stargazers_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/stargazers","contributors_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/contributors","subscribers_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/subscribers","subscription_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/subscription","commits_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/contents/{+path}","compare_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/merges","archive_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/downloads","issues_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/issues{/number}","pulls_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/pulls{/number}","milestones_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/milestones{/number}","notifications_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/labels{/name}","releases_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/releases{/id}","deployments_url":"https://api.github.com/repos/jkrvivian/tangle-accelerator/deployments","created_at":"2018-12-15T06:55:23Z","updated_at":"2018-12-30T07:10:18Z","pushed_at":"2018-12-30T12:11:00Z","git_url":"git://github.com/jkrvivian/tangle-accelerator.git","ssh_url":"git@github.com:jkrvivian/tangle-accelerator.git","clone_url":"https://github.com/jkrvivian/tangle-accelerator.git","svn_url":"https://github.com/jkrvivian/tangle-accelerator","homepage":null,"size":120,"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":"DLTcollab:master","ref":"master","sha":"da2b17668bb6c53dfd73c507e4b158f6b6027e27","user":{"login":"DLTcollab","id":40378901,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMzc4OTAx","avatar_url":"https://avatars3.githubusercontent.com/u/40378901?v=4","gravatar_id":"","url":"https://api.github.com/users/DLTcollab","html_url":"https://github.com/DLTcollab","followers_url":"https://api.github.com/users/DLTcollab/followers","following_url":"https://api.github.com/users/DLTcollab/following{/other_user}","gists_url":"https://api.github.com/users/DLTcollab/gists{/gist_id}","starred_url":"https://api.github.com/users/DLTcollab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DLTcollab/subscriptions","organizations_url":"https://api.github.com/users/DLTcollab/orgs","repos_url":"https://api.github.com/users/DLTcollab/repos","events_url":"https://api.github.com/users/DLTcollab/events{/privacy}","received_events_url":"https://api.github.com/users/DLTcollab/received_events","type":"Organization","site_admin":false},"repo":{"id":150196401,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAxOTY0MDE=","name":"tangle-accelerator","full_name":"DLTcollab/tangle-accelerator","private":false,"owner":{"login":"DLTcollab","id":40378901,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMzc4OTAx","avatar_url":"https://avatars3.githubusercontent.com/u/40378901?v=4","gravatar_id":"","url":"https://api.github.com/users/DLTcollab","html_url":"https://github.com/DLTcollab","followers_url":"https://api.github.com/users/DLTcollab/followers","following_url":"https://api.github.com/users/DLTcollab/following{/other_user}","gists_url":"https://api.github.com/users/DLTcollab/gists{/gist_id}","starred_url":"https://api.github.com/users/DLTcollab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DLTcollab/subscriptions","organizations_url":"https://api.github.com/users/DLTcollab/orgs","repos_url":"https://api.github.com/users/DLTcollab/repos","events_url":"https://api.github.com/users/DLTcollab/events{/privacy}","received_events_url":"https://api.github.com/users/DLTcollab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/DLTcollab/tangle-accelerator","description":"Accelerate the transactions in IOTA Tangle","fork":false,"url":"https://api.github.com/repos/DLTcollab/tangle-accelerator","forks_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/forks","keys_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/teams","hooks_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/hooks","issue_events_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/issues/events{/number}","events_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/events","assignees_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/assignees{/user}","branches_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/branches{/branch}","tags_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/tags","blobs_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/statuses/{sha}","languages_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/languages","stargazers_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/stargazers","contributors_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/contributors","subscribers_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/subscribers","subscription_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/subscription","commits_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/contents/{+path}","compare_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/merges","archive_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/downloads","issues_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/issues{/number}","pulls_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls{/number}","milestones_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/milestones{/number}","notifications_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/labels{/name}","releases_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/releases{/id}","deployments_url":"https://api.github.com/repos/DLTcollab/tangle-accelerator/deployments","created_at":"2018-09-25T02:28:48Z","updated_at":"2018-12-29T05:53:16Z","pushed_at":"2018-12-30T12:14:58Z","git_url":"git://github.com/DLTcollab/tangle-accelerator.git","ssh_url":"git@github.com:DLTcollab/tangle-accelerator.git","clone_url":"https://github.com/DLTcollab/tangle-accelerator.git","svn_url":"https://github.com/DLTcollab/tangle-accelerator","homepage":"","size":116,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":11,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37"},"html":{"href":"https://github.com/DLTcollab/tangle-accelerator/pull/37"},"issue":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/issues/37"},"comments":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/DLTcollab/tangle-accelerator/statuses/0b271418c8297ac802306ddb3c346d838ef72717"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jkrvivian"}}