{"action":"created","comment":{"url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/comments/205848980","pull_request_review_id":141205925,"id":205848980,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTg0ODk4MA==","diff_hunk":"@@ -0,0 +1,473 @@\n+/**\n+ * Copyright (c) 2016-2018 Bitprim Inc.\n+ *\n+ * This file is part of Bitprim.\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU Affero General Public License as published by\n+ * the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU Affero General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Affero General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+#include <bitprim/keoken/interpreter.hpp>\n+\n+#include <bitcoin/bitcoin/chain/output.hpp>\n+#include <bitcoin/bitcoin/utility/container_source.hpp>\n+#include <bitcoin/bitcoin/utility/istream_reader.hpp>\n+\n+#include <bitprim/keoken/transaction_extractor.hpp>\n+\n+using libbitcoin::chain::transaction;\n+using libbitcoin::chain::output;\n+using libbitcoin::data_chunk;\n+using libbitcoin::reader;\n+using libbitcoin::wallet::payment_address;\n+\n+namespace bitprim {\n+namespace keoken {\n+\n+using error::error_code_t;\n+\n+// explicit\n+interpreter::interpreter(libbitcoin::blockchain::fast_chain& fast_chain, state& st)\n+    : fast_chain_(fast_chain)\n+    , state_(st)\n+{}\n+\n+error_code_t interpreter::process(size_t block_height, transaction const& tx) {\n+    using libbitcoin::istream_reader;\n+    using libbitcoin::data_source;\n+\n+    auto data = first_keoken_output(tx);\n+    if ( ! data.empty()) {\n+        data_source ds(data);\n+        istream_reader source(ds);\n+\n+        return version_dispatcher(block_height, tx, source);\n+    }\n+    return error::not_keoken_tx;\n+}\n+\n+error_code_t interpreter::version_dispatcher(size_t block_height, transaction const& tx, reader& source) {\n+\n+    auto version = source.read_2_bytes_big_endian();\n+    if ( ! source) return error::invalid_version_number;\n+\n+    switch (static_cast<version_t>(version)) {\n+        case version_t::zero:\n+            return version_0_type_dispatcher(block_height, tx, source);\n+    }\n+    return error::not_recognized_version_number;\n+}\n+\n+error_code_t interpreter::version_0_type_dispatcher(size_t block_height, transaction const& tx, reader& source) {\n+    auto type = source.read_2_bytes_big_endian();\n+    if ( ! source) return error::invalid_type;\n+\n+    switch (static_cast<message_type_t>(type)) {\n+        case message_type_t::create_asset:\n+            return process_create_asset_version_0(block_height, tx, source);\n+        case message_type_t::send_tokens:\n+            return process_send_tokens_version_0(block_height, tx, source);\n+    }\n+    return error::not_recognized_type;\n+}\n+\n+payment_address interpreter::get_first_input_addr(transaction const& tx) const {\n+    auto const& owner_input = tx.inputs()[0];\n+\n+    output out_output;\n+    size_t out_height;\n+    uint32_t out_median_time_past;\n+    bool out_coinbase;\n+\n+    if ( ! fast_chain_.get_output(out_output, out_height, out_median_time_past, out_coinbase, \n+                                  owner_input.previous_output(), libbitcoin::max_size_t, true)) {\n+        return payment_address{};\n+    }\n+\n+    return out_output.address();\n+}\n+\n+error_code_t interpreter::process_create_asset_version_0(size_t block_height, transaction const& tx, reader& source) {\n+    auto msg = message::create_asset::factory_from_data(source);\n+    if ( ! source) return error::invalid_create_asset_message;\n+\n+    if (msg.amount() <= 0) {\n+        return error::invalid_asset_amount;\n+    }\n+\n+    auto owner = get_first_input_addr(tx);\n+    if ( ! owner) {\n+        return error::invalid_asset_creator;\n+    }\n+\n+    state_.create_asset(msg.name(), msg.amount(), std::move(owner), block_height, tx.hash());\n+    return error::success;\n+}\n+\n+std::pair<payment_address, payment_address> interpreter::get_send_tokens_addrs(transaction const& tx) const {\n+    auto source = get_first_input_addr(tx);\n+    if ( ! source) {\n+        return {payment_address{}, payment_address{}};\n+    }\n+\n+    auto it = std::find_if(tx.outputs().begin(), tx.outputs().end(), [&source](output const& o) {\n+        return o.address() && o.address() != source;\n+    });\n+\n+    if (it == tx.outputs().end()) {\n+        return {std::move(source), payment_address{}};        \n+    }\n+\n+    return {std::move(source), it->address()};\n+}\n+\n+error_code_t interpreter::process_send_tokens_version_0(size_t block_height, transaction const& tx, reader& source) {\n+    auto msg = message::send_tokens::factory_from_data(source);\n+    if ( ! source) return error::invalid_send_tokens_message;\n+\n+    if ( ! state_.asset_id_exists(msg.asset_id())) {\n+        return error::asset_id_does_not_exist;\n+    }\n+\n+    if (msg.amount() <= 0) {\n+        return error::invalid_asset_amount;\n+    }\n+  \n+    auto wallets = get_send_tokens_addrs(tx);\n+    payment_address const& source_addr = wallets.first;\n+    payment_address const& target_addr = wallets.second;\n+\n+    if ( ! source_addr) return error::invalid_source_address;\n+    if ( ! target_addr) return error::invalid_target_address;\n+\n+    if (state_.get_balance(msg.asset_id(), source_addr) < msg.amount()) {\n+        return error::insufficient_money;\n+    }\n+\n+    state_.create_balance_entry(msg.asset_id(), msg.amount(), source_addr, target_addr, block_height, tx.hash());\n+    return error::success;\n+}\n+\n+} // namespace keoken\n+} // namespace bitprim\n+\n+\n+","path":"src/bitprim/keoken/interpreter.cpp","position":165,"original_position":165,"commit_id":"08976e55267c19fd812b82abc9d4bd986faee7c3","original_commit_id":"08976e55267c19fd812b82abc9d4bd986faee7c3","user":{"login":"fpelliccioni","id":273683,"node_id":"MDQ6VXNlcjI3MzY4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/273683?v=4","gravatar_id":"","url":"https://api.github.com/users/fpelliccioni","html_url":"https://github.com/fpelliccioni","followers_url":"https://api.github.com/users/fpelliccioni/followers","following_url":"https://api.github.com/users/fpelliccioni/following{/other_user}","gists_url":"https://api.github.com/users/fpelliccioni/gists{/gist_id}","starred_url":"https://api.github.com/users/fpelliccioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpelliccioni/subscriptions","organizations_url":"https://api.github.com/users/fpelliccioni/orgs","repos_url":"https://api.github.com/users/fpelliccioni/repos","events_url":"https://api.github.com/users/fpelliccioni/events{/privacy}","received_events_url":"https://api.github.com/users/fpelliccioni/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-07-27T17:41:35Z","updated_at":"2018-07-27T17:41:35Z","html_url":"https://github.com/bitprim/bitprim-blockchain/pull/30#discussion_r205848980","pull_request_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/comments/205848980"},"html":{"href":"https://github.com/bitprim/bitprim-blockchain/pull/30#discussion_r205848980"},"pull_request":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30"}},"in_reply_to_id":205830447},"pull_request":{"url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30","id":204453295,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NDUzMjk1","html_url":"https://github.com/bitprim/bitprim-blockchain/pull/30","diff_url":"https://github.com/bitprim/bitprim-blockchain/pull/30.diff","patch_url":"https://github.com/bitprim/bitprim-blockchain/pull/30.patch","issue_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/30","number":30,"state":"open","locked":false,"title":"Feature ci keoken","user":{"login":"fpelliccioni","id":273683,"node_id":"MDQ6VXNlcjI3MzY4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/273683?v=4","gravatar_id":"","url":"https://api.github.com/users/fpelliccioni","html_url":"https://github.com/fpelliccioni","followers_url":"https://api.github.com/users/fpelliccioni/followers","following_url":"https://api.github.com/users/fpelliccioni/following{/other_user}","gists_url":"https://api.github.com/users/fpelliccioni/gists{/gist_id}","starred_url":"https://api.github.com/users/fpelliccioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpelliccioni/subscriptions","organizations_url":"https://api.github.com/users/fpelliccioni/orgs","repos_url":"https://api.github.com/users/fpelliccioni/repos","events_url":"https://api.github.com/users/fpelliccioni/events{/privacy}","received_events_url":"https://api.github.com/users/fpelliccioni/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-27T14:45:51Z","updated_at":"2018-07-27T17:41:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2630577ce7a0881e0e3f94a6a1f18800a1e63dd7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"dario-ramos","id":4640062,"node_id":"MDQ6VXNlcjQ2NDAwNjI=","avatar_url":"https://avatars3.githubusercontent.com/u/4640062?v=4","gravatar_id":"","url":"https://api.github.com/users/dario-ramos","html_url":"https://github.com/dario-ramos","followers_url":"https://api.github.com/users/dario-ramos/followers","following_url":"https://api.github.com/users/dario-ramos/following{/other_user}","gists_url":"https://api.github.com/users/dario-ramos/gists{/gist_id}","starred_url":"https://api.github.com/users/dario-ramos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dario-ramos/subscriptions","organizations_url":"https://api.github.com/users/dario-ramos/orgs","repos_url":"https://api.github.com/users/dario-ramos/repos","events_url":"https://api.github.com/users/dario-ramos/events{/privacy}","received_events_url":"https://api.github.com/users/dario-ramos/received_events","type":"User","site_admin":false},{"login":"hanchon","id":5675227,"node_id":"MDQ6VXNlcjU2NzUyMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5675227?v=4","gravatar_id":"","url":"https://api.github.com/users/hanchon","html_url":"https://github.com/hanchon","followers_url":"https://api.github.com/users/hanchon/followers","following_url":"https://api.github.com/users/hanchon/following{/other_user}","gists_url":"https://api.github.com/users/hanchon/gists{/gist_id}","starred_url":"https://api.github.com/users/hanchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanchon/subscriptions","organizations_url":"https://api.github.com/users/hanchon/orgs","repos_url":"https://api.github.com/users/hanchon/repos","events_url":"https://api.github.com/users/hanchon/events{/privacy}","received_events_url":"https://api.github.com/users/hanchon/received_events","type":"User","site_admin":false},{"login":"ramacarlucho","id":20674702,"node_id":"MDQ6VXNlcjIwNjc0NzAy","avatar_url":"https://avatars1.githubusercontent.com/u/20674702?v=4","gravatar_id":"","url":"https://api.github.com/users/ramacarlucho","html_url":"https://github.com/ramacarlucho","followers_url":"https://api.github.com/users/ramacarlucho/followers","following_url":"https://api.github.com/users/ramacarlucho/following{/other_user}","gists_url":"https://api.github.com/users/ramacarlucho/gists{/gist_id}","starred_url":"https://api.github.com/users/ramacarlucho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramacarlucho/subscriptions","organizations_url":"https://api.github.com/users/ramacarlucho/orgs","repos_url":"https://api.github.com/users/ramacarlucho/repos","events_url":"https://api.github.com/users/ramacarlucho/events{/privacy}","received_events_url":"https://api.github.com/users/ramacarlucho/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30/commits","review_comments_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30/comments","review_comment_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/30/comments","statuses_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/statuses/08976e55267c19fd812b82abc9d4bd986faee7c3","head":{"label":"bitprim:feature_ci_keoken","ref":"feature_ci_keoken","sha":"08976e55267c19fd812b82abc9d4bd986faee7c3","user":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"repo":{"id":66294684,"node_id":"MDEwOlJlcG9zaXRvcnk2NjI5NDY4NA==","name":"bitprim-blockchain","full_name":"bitprim/bitprim-blockchain","owner":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitprim/bitprim-blockchain","description":"Bitprim Blockchain Library","fork":true,"url":"https://api.github.com/repos/bitprim/bitprim-blockchain","forks_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/forks","keys_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/teams","hooks_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/hooks","issue_events_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/events{/number}","events_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/events","assignees_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/assignees{/user}","branches_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/branches{/branch}","tags_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/tags","blobs_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/statuses/{sha}","languages_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/languages","stargazers_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/stargazers","contributors_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/contributors","subscribers_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/subscribers","subscription_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/subscription","commits_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/contents/{+path}","compare_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/merges","archive_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/downloads","issues_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues{/number}","pulls_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls{/number}","milestones_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/milestones{/number}","notifications_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/labels{/name}","releases_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/releases{/id}","deployments_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/deployments","created_at":"2016-08-22T17:43:38Z","updated_at":"2018-07-19T22:31:21Z","pushed_at":"2018-07-27T14:45:51Z","git_url":"git://github.com/bitprim/bitprim-blockchain.git","ssh_url":"git@github.com:bitprim/bitprim-blockchain.git","clone_url":"https://github.com/bitprim/bitprim-blockchain.git","svn_url":"https://github.com/bitprim/bitprim-blockchain","homepage":"","size":3191,"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":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"bitprim:dev","ref":"dev","sha":"03ac5cb38a50ececd89098e0ec13e9ec6b766ce6","user":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"repo":{"id":66294684,"node_id":"MDEwOlJlcG9zaXRvcnk2NjI5NDY4NA==","name":"bitprim-blockchain","full_name":"bitprim/bitprim-blockchain","owner":{"login":"bitprim","id":20631151,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjMxMTUx","avatar_url":"https://avatars0.githubusercontent.com/u/20631151?v=4","gravatar_id":"","url":"https://api.github.com/users/bitprim","html_url":"https://github.com/bitprim","followers_url":"https://api.github.com/users/bitprim/followers","following_url":"https://api.github.com/users/bitprim/following{/other_user}","gists_url":"https://api.github.com/users/bitprim/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprim/subscriptions","organizations_url":"https://api.github.com/users/bitprim/orgs","repos_url":"https://api.github.com/users/bitprim/repos","events_url":"https://api.github.com/users/bitprim/events{/privacy}","received_events_url":"https://api.github.com/users/bitprim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitprim/bitprim-blockchain","description":"Bitprim Blockchain Library","fork":true,"url":"https://api.github.com/repos/bitprim/bitprim-blockchain","forks_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/forks","keys_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/teams","hooks_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/hooks","issue_events_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/events{/number}","events_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/events","assignees_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/assignees{/user}","branches_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/branches{/branch}","tags_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/tags","blobs_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/statuses/{sha}","languages_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/languages","stargazers_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/stargazers","contributors_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/contributors","subscribers_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/subscribers","subscription_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/subscription","commits_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/contents/{+path}","compare_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/merges","archive_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/downloads","issues_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues{/number}","pulls_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls{/number}","milestones_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/milestones{/number}","notifications_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/labels{/name}","releases_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/releases{/id}","deployments_url":"https://api.github.com/repos/bitprim/bitprim-blockchain/deployments","created_at":"2016-08-22T17:43:38Z","updated_at":"2018-07-19T22:31:21Z","pushed_at":"2018-07-27T14:45:51Z","git_url":"git://github.com/bitprim/bitprim-blockchain.git","ssh_url":"git@github.com:bitprim/bitprim-blockchain.git","clone_url":"https://github.com/bitprim/bitprim-blockchain.git","svn_url":"https://github.com/bitprim/bitprim-blockchain","homepage":"","size":3191,"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":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30"},"html":{"href":"https://github.com/bitprim/bitprim-blockchain/pull/30"},"issue":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/30"},"comments":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/bitprim/bitprim-blockchain/statuses/08976e55267c19fd812b82abc9d4bd986faee7c3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"fpelliccioni"}}