{"action":"created","comment":{"url":"https://api.github.com/repos/monero-project/monero/pulls/comments/172544526","pull_request_review_id":101578042,"id":172544526,"diff_hunk":"@@ -0,0 +1,408 @@\n+// Copyright (c) 2014-2018, The Monero Project\n+//\n+// All rights reserved.\n+//\n+// Redistribution and use in source and binary forms, with or without modification, are\n+// permitted provided that the following conditions are met:\n+//\n+// 1. Redistributions of source code must retain the above copyright notice, this list of\n+//    conditions and the following disclaimer.\n+//\n+// 2. Redistributions in binary form must reproduce the above copyright notice, this list\n+//    of conditions and the following disclaimer in the documentation and/or other\n+//    materials provided with the distribution.\n+//\n+// 3. Neither the name of the copyright holder nor the names of its contributors may be\n+//    used to endorse or promote products derived from this software without specific\n+//    prior written permission.\n+//\n+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\n+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\n+// THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n+// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\n+// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+#include <boost/range/adaptor/transformed.hpp>\n+#include <boost/algorithm/string.hpp>\n+#include \"common/command_line.h\"\n+#include \"common/varint.h\"\n+#include \"cryptonote_core/tx_pool.h\"\n+#include \"cryptonote_core/cryptonote_core.h\"\n+#include \"cryptonote_core/blockchain.h\"\n+#include \"blockchain_db/blockchain_db.h\"\n+#include \"blockchain_db/db_types.h\"\n+#include \"wallet/ringdb.h\"\n+#include \"version.h\"\n+\n+#undef MONERO_DEFAULT_LOG_CATEGORY\n+#define MONERO_DEFAULT_LOG_CATEGORY \"bcutil\"\n+\n+namespace po = boost::program_options;\n+using namespace epee;\n+using namespace cryptonote;\n+\n+struct output_data\n+{\n+  uint64_t amount;\n+  uint64_t index;\n+  output_data(uint64_t a, uint64_t i): amount(a), index(i) {}\n+  bool operator<(const output_data &other) const\n+    { if (amount < other.amount) return true; if (amount == other.amount && index < other.index) return true; return false; }\n+};\n+\n+static std::string get_default_db_path()\n+{\n+  boost::filesystem::path dir = tools::get_default_data_dir();\n+  // remove .bitmonero, replace with .shared-ringdb\n+  dir = dir.remove_filename();\n+  dir /= \".shared-ringdb\";\n+  return dir.string();\n+}\n+\n+static bool for_all_transactions(const std::string &filename, const std::function<bool(const cryptonote::transaction_prefix&)> &f)\n+{\n+  MDB_env *env;\n+  MDB_dbi dbi;\n+  MDB_txn *txn;\n+  MDB_cursor *cur;\n+  int dbr;\n+  bool tx_active = false;\n+\n+  dbr = mdb_env_create(&env);\n+  if (dbr) throw std::runtime_error(\"Failed to create LDMB environment: \" + std::string(mdb_strerror(dbr)));\n+  dbr = mdb_env_set_maxdbs(env, 2);\n+  if (dbr) throw std::runtime_error(\"Failed to set max env dbs: \" + std::string(mdb_strerror(dbr)));\n+  const std::string actual_filename = filename;\n+  dbr = mdb_env_open(env, actual_filename.c_str(), 0, 0664);\n+  if (dbr) throw std::runtime_error(\"Failed to open rings database file '\"\n+      + actual_filename + \"': \" + std::string(mdb_strerror(dbr)));\n+\n+  dbr = mdb_txn_begin(env, NULL, 0, &txn);\n+  if (dbr) throw std::runtime_error(\"Failed to create LMDB transaction: \" + std::string(mdb_strerror(dbr)));\n+  epee::misc_utils::auto_scope_leave_caller txn_dtor = epee::misc_utils::create_scope_leave_handler([&](){if (tx_active) mdb_txn_abort(txn);});\n+  tx_active = true;\n+\n+  dbr = mdb_dbi_open(txn, \"txs_pruned\", MDB_INTEGERKEY, &dbi);\n+  if (dbr)\n+    dbr = mdb_dbi_open(txn, \"txs\", MDB_INTEGERKEY, &dbi);\n+  if (dbr) throw std::runtime_error(\"Failed to open LMDB dbi: \" + std::string(mdb_strerror(dbr)));\n+  dbr = mdb_cursor_open(txn, dbi, &cur);\n+  if (dbr) throw std::runtime_error(\"Failed to create LMDB cursor: \" + std::string(mdb_strerror(dbr)));\n+\n+  MDB_val k;\n+  MDB_val v;\n+  bool fret = true;\n+\n+  MDB_cursor_op op = MDB_FIRST;\n+  while (1)\n+  {\n+    int ret = mdb_cursor_get(cur, &k, &v, op);\n+    op = MDB_NEXT;\n+    if (ret == MDB_NOTFOUND)\n+      break;\n+    if (ret)\n+      throw std::runtime_error(\"Failed to enumerate transactions: \" + std::string(mdb_strerror(ret)));\n+\n+    cryptonote::transaction_prefix tx;\n+    blobdata bd;\n+    bd.assign(reinterpret_cast<char*>(v.mv_data), v.mv_size);\n+    std::stringstream ss;\n+    ss << bd;\n+    binary_archive<false> ba(ss);\n+    bool r = do_serialize(ba, tx);\n+    CHECK_AND_ASSERT_MES(r, false, \"Failed to parse transaction from blob\");\n+\n+    if (!f(tx)) {\n+      fret = false;\n+      break;\n+    }\n+  }\n+\n+  mdb_cursor_close(cur);\n+  mdb_txn_commit(txn);\n+  tx_active = false;\n+  mdb_dbi_close(env, dbi);\n+  mdb_env_close(env);\n+  return fret;\n+}\n+\n+int main(int argc, char* argv[])\n+{\n+  TRY_ENTRY();\n+\n+  epee::string_tools::set_module_name_and_folder(argv[0]);\n+\n+  std::string default_db_type = \"lmdb\";\n+\n+  std::string available_dbs = cryptonote::blockchain_db_types(\", \");\n+  available_dbs = \"available: \" + available_dbs;\n+\n+  uint32_t log_level = 0;\n+\n+  tools::on_startup();\n+\n+  boost::filesystem::path output_file_path;\n+\n+  po::options_description desc_cmd_only(\"Command line options\");\n+  po::options_description desc_cmd_sett(\"Command line options and settings options\");\n+  const command_line::arg_descriptor<std::string, false, true> arg_blackball_db_dir = {\n+      \"blackball-db-dir\", \"Specify blackball database directory\",\n+      get_default_db_path(),\n+      cryptonote::arg_testnet_on,\n+      [](bool testnet, bool defaulted, std::string val) {\n+        if (testnet)\n+          return (boost::filesystem::path(val) / \"testnet\").string();\n+        return val;\n+      }\n+  };\n+  const command_line::arg_descriptor<std::string> arg_log_level  = {\"log-level\",  \"0-4 or categories\", \"\"};\n+  const command_line::arg_descriptor<std::string> arg_database = {\n+    \"database\", available_dbs.c_str(), default_db_type\n+  };\n+  const command_line::arg_descriptor<bool> arg_rct_only  = {\"rct-only\", \"Only work on ringCT outputs\", false};\n+  const command_line::arg_descriptor<std::vector<std::string> > arg_inputs = {\"inputs\", \"Path to Monero DB, and path to any fork DBs\"};\n+\n+  command_line::add_arg(desc_cmd_sett, arg_blackball_db_dir);\n+  command_line::add_arg(desc_cmd_sett, cryptonote::arg_testnet_on);\n+  command_line::add_arg(desc_cmd_sett, arg_log_level);\n+  command_line::add_arg(desc_cmd_sett, arg_database);\n+  command_line::add_arg(desc_cmd_sett, arg_rct_only);\n+  command_line::add_arg(desc_cmd_sett, arg_inputs);\n+  command_line::add_arg(desc_cmd_only, command_line::arg_help);\n+\n+  po::options_description desc_options(\"Allowed options\");\n+  desc_options.add(desc_cmd_only).add(desc_cmd_sett);\n+\n+  po::positional_options_description positional_options;\n+  positional_options.add(arg_inputs.name, -1);\n+\n+  po::variables_map vm;\n+  bool r = command_line::handle_error_helper(desc_options, [&]()\n+  {\n+    auto parser = po::command_line_parser(argc, argv).options(desc_options).positional(positional_options);\n+    po::store(parser.run(), vm);\n+    po::notify(vm);\n+    return true;\n+  });\n+  if (! r)\n+    return 1;\n+\n+  if (command_line::get_arg(vm, command_line::arg_help))\n+  {\n+    std::cout << \"Monero '\" << MONERO_RELEASE_NAME << \"' (v\" << MONERO_VERSION_FULL << \")\" << ENDL << ENDL;\n+    std::cout << desc_options << std::endl;\n+    return 1;\n+  }\n+\n+  mlog_configure(mlog_get_default_log_path(\"monero-blockchain-blackball.log\"), true);\n+  if (!command_line::is_arg_defaulted(vm, arg_log_level))\n+    mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());\n+  else\n+    mlog_set_log(std::string(std::to_string(log_level) + \",bcutil:INFO\").c_str());\n+\n+  LOG_PRINT_L0(\"Starting...\");\n+\n+  bool opt_testnet = command_line::get_arg(vm, cryptonote::arg_testnet_on);\n+  output_file_path = command_line::get_arg(vm, arg_blackball_db_dir);\n+  bool opt_rct_only = command_line::get_arg(vm, arg_rct_only);\n+\n+  std::string db_type = command_line::get_arg(vm, arg_database);\n+  if (!cryptonote::blockchain_valid_db_type(db_type))\n+  {\n+    std::cerr << \"Invalid database type: \" << db_type << std::endl;\n+    return 1;\n+  }\n+\n+  // If we wanted to use the memory pool, we would set up a fake_core.\n+\n+  // Use Blockchain instead of lower-level BlockchainDB for two reasons:\n+  // 1. Blockchain has the init() method for easy setup\n+  // 2. exporter needs to use get_current_blockchain_height(), get_block_id_by_height(), get_block_by_hash()\n+  //\n+  // cannot match blockchain_storage setup above with just one line,\n+  // e.g.\n+  //   Blockchain* core_storage = new Blockchain(NULL);\n+  // because unlike blockchain_storage constructor, which takes a pointer to\n+  // tx_memory_pool, Blockchain's constructor takes tx_memory_pool object.\n+  LOG_PRINT_L0(\"Initializing source blockchain (BlockchainDB)\");\n+  const std::vector<std::string> inputs = command_line::get_arg(vm, arg_inputs);\n+  if (inputs.empty())\n+  {\n+    LOG_PRINT_L0(\"No inputs given\");\n+    return 1;\n+  }\n+  std::vector<Blockchain*> core_storage(inputs.size(), NULL);\n+  tx_memory_pool m_mempool(*(Blockchain*)NULL);\n+  for (size_t n = 0; n < inputs.size(); ++n)\n+  {\n+    core_storage[n] = new Blockchain(m_mempool);\n+\n+    BlockchainDB* db = new_db(db_type);\n+    if (db == NULL)\n+    {\n+      LOG_ERROR(\"Attempted to use non-existent database type: \" << db_type);\n+      throw std::runtime_error(\"Attempting to use non-existent database type\");\n+    }\n+    LOG_PRINT_L0(\"database: \" << db_type);\n+\n+    std::string filename = inputs[n];\n+    while (boost::ends_with(filename, \"/\") || boost::ends_with(filename, \"\\\\\"))\n+      filename.pop_back();\n+    LOG_PRINT_L0(\"Loading blockchain from folder \" << filename << \" ...\");\n+\n+    try\n+    {\n+      db->open(filename, DBF_RDONLY);\n+    }\n+    catch (const std::exception& e)\n+    {\n+      LOG_PRINT_L0(\"Error opening database: \" << e.what());\n+      return 1;\n+    }\n+    r = core_storage[n]->init(db, opt_testnet);\n+\n+    CHECK_AND_ASSERT_MES(r, 1, \"Failed to initialize source blockchain storage\");\n+    LOG_PRINT_L0(\"Source blockchain storage initialized OK\");\n+  }\n+\n+  boost::filesystem::path direc(output_file_path.string());\n+  if (boost::filesystem::exists(direc))\n+  {\n+    if (!boost::filesystem::is_directory(direc))\n+    {\n+      MERROR(\"LMDB needs a directory path, but a file was passed: \" << output_file_path.string());\n+      return 1;\n+    }\n+  }\n+  else\n+  {\n+    if (!boost::filesystem::create_directories(direc))\n+    {\n+      MERROR(\"Failed to create directory: \" << output_file_path.string());\n+      return 1;\n+    }\n+  }\n+\n+  LOG_PRINT_L0(\"Scanning for blackballable outputs...\");\n+\n+  size_t done = 0;\n+  std::unordered_map<crypto::key_image, std::vector<uint64_t>> relative_rings;\n+  std::map<output_data, std::unordered_set<crypto::key_image>> outputs;\n+  std::set<output_data> spent, newly_spent;\n+  tools::ringdb ringdb(output_file_path.string());\n+\n+  for (size_t n = 0; n < inputs.size(); ++n)\n+  {\n+    LOG_PRINT_L0(\"Reading blockchain from \" << inputs[n]);\n+    for_all_transactions(inputs[n], [&](const cryptonote::transaction_prefix &tx)->bool\n+    {\n+      for (const auto &in: tx.vin)\n+      {\n+        if (in.type() != typeid(txin_to_key))\n+          continue;\n+        const auto &txin = boost::get<txin_to_key>(in);\n+        if (opt_rct_only && txin.amount != 0)\n+          continue;\n+","path":"src/blockchain_utilities/blockchain_blackball.cpp","position":329,"original_position":310,"commit_id":"c257afbcd7e37bc0c8178b75c27c87ea31a59604","original_commit_id":"2b02c65342651afb8e2e11e79949854a4227c578","user":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars3.githubusercontent.com/u/8851073?v=4","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"body":"Mooted by the change for new_ring below. Though there might be some optimization that can still be had, but it's dwarfed by I/O anyway.","created_at":"2018-03-06T15:03:57Z","updated_at":"2018-03-06T15:03:57Z","html_url":"https://github.com/monero-project/monero/pull/3322#discussion_r172544526","pull_request_url":"https://api.github.com/repos/monero-project/monero/pulls/3322","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/monero-project/monero/pulls/comments/172544526"},"html":{"href":"https://github.com/monero-project/monero/pull/3322#discussion_r172544526"},"pull_request":{"href":"https://api.github.com/repos/monero-project/monero/pulls/3322"}},"in_reply_to_id":172385146},"pull_request":{"url":"https://api.github.com/repos/monero-project/monero/pulls/3322","id":171929457,"html_url":"https://github.com/monero-project/monero/pull/3322","diff_url":"https://github.com/monero-project/monero/pull/3322.diff","patch_url":"https://github.com/monero-project/monero/pull/3322.patch","issue_url":"https://api.github.com/repos/monero-project/monero/issues/3322","number":3322,"state":"open","locked":false,"title":"[RELEASE] Several mitigations for attacking privacy via key reusing forks","user":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars3.githubusercontent.com/u/8851073?v=4","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-28T11:41:41Z","updated_at":"2018-03-06T15:03:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9243c011d36b231ddf94942745e8fa2ad5c41f72","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/monero-project/monero/pulls/3322/commits","review_comments_url":"https://api.github.com/repos/monero-project/monero/pulls/3322/comments","review_comment_url":"https://api.github.com/repos/monero-project/monero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monero-project/monero/issues/3322/comments","statuses_url":"https://api.github.com/repos/monero-project/monero/statuses/c257afbcd7e37bc0c8178b75c27c87ea31a59604","head":{"label":"moneromooo-monero:detfake-master","ref":"detfake-master","sha":"c257afbcd7e37bc0c8178b75c27c87ea31a59604","user":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars3.githubusercontent.com/u/8851073?v=4","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"repo":{"id":24294045,"name":"bitmonero","full_name":"moneromooo-monero/bitmonero","owner":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars3.githubusercontent.com/u/8851073?v=4","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moneromooo-monero/bitmonero","description":"Monero: the secure, private, untraceable cryptocurrency","fork":true,"url":"https://api.github.com/repos/moneromooo-monero/bitmonero","forks_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/forks","keys_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/teams","hooks_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/hooks","issue_events_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/issues/events{/number}","events_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/events","assignees_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/assignees{/user}","branches_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/branches{/branch}","tags_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/tags","blobs_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/statuses/{sha}","languages_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/languages","stargazers_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/stargazers","contributors_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/contributors","subscribers_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/subscribers","subscription_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/subscription","commits_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/issues/comments{/number}","contents_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/contents/{+path}","compare_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/merges","archive_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/downloads","issues_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/issues{/number}","pulls_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/pulls{/number}","milestones_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/milestones{/number}","notifications_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/labels{/name}","releases_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/releases{/id}","deployments_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/deployments","created_at":"2014-09-21T15:04:04Z","updated_at":"2018-02-11T03:48:17Z","pushed_at":"2018-03-06T15:01:58Z","git_url":"git://github.com/moneromooo-monero/bitmonero.git","ssh_url":"git@github.com:moneromooo-monero/bitmonero.git","clone_url":"https://github.com/moneromooo-monero/bitmonero.git","svn_url":"https://github.com/moneromooo-monero/bitmonero","homepage":"https://getmonero.org","size":141874,"stargazers_count":12,"watchers_count":12,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":4,"open_issues":1,"watchers":12,"default_branch":"master"}},"base":{"label":"monero-project:master","ref":"master","sha":"c102c49da5015592d2a2fedf0ae348495ec382df","user":{"login":"monero-project","id":7450663,"avatar_url":"https://avatars2.githubusercontent.com/u/7450663?v=4","gravatar_id":"","url":"https://api.github.com/users/monero-project","html_url":"https://github.com/monero-project","followers_url":"https://api.github.com/users/monero-project/followers","following_url":"https://api.github.com/users/monero-project/following{/other_user}","gists_url":"https://api.github.com/users/monero-project/gists{/gist_id}","starred_url":"https://api.github.com/users/monero-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monero-project/subscriptions","organizations_url":"https://api.github.com/users/monero-project/orgs","repos_url":"https://api.github.com/users/monero-project/repos","events_url":"https://api.github.com/users/monero-project/events{/privacy}","received_events_url":"https://api.github.com/users/monero-project/received_events","type":"User","site_admin":false},"repo":{"id":19316619,"name":"monero","full_name":"monero-project/monero","owner":{"login":"monero-project","id":7450663,"avatar_url":"https://avatars2.githubusercontent.com/u/7450663?v=4","gravatar_id":"","url":"https://api.github.com/users/monero-project","html_url":"https://github.com/monero-project","followers_url":"https://api.github.com/users/monero-project/followers","following_url":"https://api.github.com/users/monero-project/following{/other_user}","gists_url":"https://api.github.com/users/monero-project/gists{/gist_id}","starred_url":"https://api.github.com/users/monero-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monero-project/subscriptions","organizations_url":"https://api.github.com/users/monero-project/orgs","repos_url":"https://api.github.com/users/monero-project/repos","events_url":"https://api.github.com/users/monero-project/events{/privacy}","received_events_url":"https://api.github.com/users/monero-project/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monero-project/monero","description":"Monero: the secure, private, untraceable cryptocurrency","fork":false,"url":"https://api.github.com/repos/monero-project/monero","forks_url":"https://api.github.com/repos/monero-project/monero/forks","keys_url":"https://api.github.com/repos/monero-project/monero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monero-project/monero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monero-project/monero/teams","hooks_url":"https://api.github.com/repos/monero-project/monero/hooks","issue_events_url":"https://api.github.com/repos/monero-project/monero/issues/events{/number}","events_url":"https://api.github.com/repos/monero-project/monero/events","assignees_url":"https://api.github.com/repos/monero-project/monero/assignees{/user}","branches_url":"https://api.github.com/repos/monero-project/monero/branches{/branch}","tags_url":"https://api.github.com/repos/monero-project/monero/tags","blobs_url":"https://api.github.com/repos/monero-project/monero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monero-project/monero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monero-project/monero/git/refs{/sha}","trees_url":"https://api.github.com/repos/monero-project/monero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monero-project/monero/statuses/{sha}","languages_url":"https://api.github.com/repos/monero-project/monero/languages","stargazers_url":"https://api.github.com/repos/monero-project/monero/stargazers","contributors_url":"https://api.github.com/repos/monero-project/monero/contributors","subscribers_url":"https://api.github.com/repos/monero-project/monero/subscribers","subscription_url":"https://api.github.com/repos/monero-project/monero/subscription","commits_url":"https://api.github.com/repos/monero-project/monero/commits{/sha}","git_commits_url":"https://api.github.com/repos/monero-project/monero/git/commits{/sha}","comments_url":"https://api.github.com/repos/monero-project/monero/comments{/number}","issue_comment_url":"https://api.github.com/repos/monero-project/monero/issues/comments{/number}","contents_url":"https://api.github.com/repos/monero-project/monero/contents/{+path}","compare_url":"https://api.github.com/repos/monero-project/monero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monero-project/monero/merges","archive_url":"https://api.github.com/repos/monero-project/monero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monero-project/monero/downloads","issues_url":"https://api.github.com/repos/monero-project/monero/issues{/number}","pulls_url":"https://api.github.com/repos/monero-project/monero/pulls{/number}","milestones_url":"https://api.github.com/repos/monero-project/monero/milestones{/number}","notifications_url":"https://api.github.com/repos/monero-project/monero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monero-project/monero/labels{/name}","releases_url":"https://api.github.com/repos/monero-project/monero/releases{/id}","deployments_url":"https://api.github.com/repos/monero-project/monero/deployments","created_at":"2014-04-30T14:38:28Z","updated_at":"2018-03-06T12:28:13Z","pushed_at":"2018-03-06T15:02:04Z","git_url":"git://github.com/monero-project/monero.git","ssh_url":"git@github.com:monero-project/monero.git","clone_url":"https://github.com/monero-project/monero.git","svn_url":"https://github.com/monero-project/monero","homepage":"https://getmonero.org","size":137897,"stargazers_count":2613,"watchers_count":2613,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1186,"mirror_url":null,"archived":false,"open_issues_count":193,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1186,"open_issues":193,"watchers":2613,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monero-project/monero/pulls/3322"},"html":{"href":"https://github.com/monero-project/monero/pull/3322"},"issue":{"href":"https://api.github.com/repos/monero-project/monero/issues/3322"},"comments":{"href":"https://api.github.com/repos/monero-project/monero/issues/3322/comments"},"review_comments":{"href":"https://api.github.com/repos/monero-project/monero/pulls/3322/comments"},"review_comment":{"href":"https://api.github.com/repos/monero-project/monero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monero-project/monero/pulls/3322/commits"},"statuses":{"href":"https://api.github.com/repos/monero-project/monero/statuses/c257afbcd7e37bc0c8178b75c27c87ea31a59604"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"moneromooo-monero"}}