payload: {"action":"created","comment":{"url":"https://api.github.com/repos/nanocurrency/nano-node/pulls/comments/274327407","pull_request_review_id":225366937,"id":274327407,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3NDMyNzQwNw==","diff_hunk":"@@ -1029,3 +1029,60 @@ TEST (wallet, deterministic_restore)\n \t}\n \tASSERT_TRUE (wallet->exists (pub));\n }\n+\n+TEST (wallet, update_work_action)\n+{\n+\tnano::system system (24000, 1);\n+\tauto & node (*system.nodes[0]);\n+\tauto & wallet (*system.wallet (0));\n+\tnano::block_hash latest1 (node.latest (nano::test_genesis_key.pub));\n+\twallet.insert_adhoc (nano::test_genesis_key.prv);\n+\tnano::keypair key;\n+\n+\tauto block (wallet.send_action (nano::test_genesis_key.pub, key.pub, nano::genesis_amount - (10 * nano::Mxrb_ratio)));\n+\n+\tuint64_t difficulty1 (0);\n+\tnano::work_validate (*block, &difficulty1);\n+\n+\tstd::unique_lock<std::mutex> lock (node.active.mutex);\n+\tfor (auto i (0); i < node.active.difficulty_cb.size (); i++)\n+\t{\n+\t\tnode.active.difficulty_cb.push_back (difficulty1 + 10000);\n+\t}\n+\tnode.active.update_active_difficulty ();\n+\tlock.unlock ();\n+\n+\tauto active_difficulty1 (node.active.active_difficulty.load ());\n+\t//active_difficulty1 after filling difficulty_cb with difficulty1 +10000 is greater than difficulty1\n+\tASSERT_GT (active_difficulty1, difficulty1);\n+\n+\tauto const block_new (wallet.wallets.update_work_action (block));\n+\t//assert hashes of block builder with greater work\n+\tASSERT_EQ (block_new->hash (), block->hash ());\n+\n+\tnode.process_active (block_new);\n+\t//update active_transaction block with block_new\n+\tnode.active.update_difficulty (*block_new.get ());\n+\tuint64_t difficulty2 (0);\n+\tnano::work_validate (*block_new, &difficulty2);\n+\t//Assert new difficulty greater than old\n+\tASSERT_GT (difficulty2, difficulty1);\n+\n+\tlock.lock ();\n+\tfor (auto i (0); i < node.active.difficulty_cb.size (); i++)\n+\t{\n+\t\tnode.active.difficulty_cb.push_back (difficulty2 + 10000);\n+\t}\n+\tnode.active.update_active_difficulty ();\n+\tlock.unlock ();\n+\tauto active_difficulty2 (node.active.active_difficulty.load ());\n+\tauto existing (node.active.roots.find (block_new->qualified_root ()));\n+\tASSERT_NE (node.active.roots.end (), existing);\n+\t//election no longer using difficulty1\n+\tASSERT_NE (existing->difficulty, difficulty1);\n+\t//election using difficulty2\n+\tASSERT_EQ (existing->difficulty, difficulty2);\n+\t//active_difficulty2 after filling difficulty_cb with difficulty2 +10000 is greater than difficulty2\n+\tASSERT_GT (active_difficulty2, difficulty2);\n+\tASSERT_GT (active_difficulty2, active_difficulty1);\n+}","path":"nano/core_test/wallet.cpp","position":60,"original_position":60,"commit_id":"a0b1e006ffbdea701f0c28f006c7052a2b705723","original_commit_id":"a0b1e006ffbdea701f0c28f006c7052a2b705723","user":{"login":"wezrule","id":650038,"node_id":"MDQ6VXNlcjY1MDAzOA==","avatar_url":"https://avatars0.githubusercontent.com/u/650038?v=4","gravatar_id":"","url":"https://api.github.com/users/wezrule","html_url":"https://github.com/wezrule","followers_url":"https://api.github.com/users/wezrule/followers","following_url":"https://api.github.com/users/wezrule/following{/other_user}","gists_url":"https://api.github.com/users/wezrule/gists{/gist_id}","starred_url":"https://api.github.com/users/wezrule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wezrule/subscriptions","organizations_url":"https://api.github.com/users/wezrule/orgs","repos_url":"https://api.github.com/users/wezrule/repos","events_url":"https://api.github.com/users/wezrule/events{/privacy}","received_events_url":"https://api.github.com/users/wezrule/received_events","type":"User","site_admin":false},"body":"Needs a newline","created_at":"2019-04-11T09:05:58Z","updated_at":"2019-04-11T09:13:13Z","html_url":"https://github.com/nanocurrency/nano-node/pull/1895#discussion_r274327407","pull_request_url":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/nanocurrency/nano-node/pulls/comments/274327407"},"html":{"href":"https://github.com/nanocurrency/nano-node/pull/1895#discussion_r274327407"},"pull_request":{"href":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895"}}},"pull_request":{"url":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895","id":269416491,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY5NDE2NDkx","html_url":"https://github.com/nanocurrency/nano-node/pull/1895","diff_url":"https://github.com/nanocurrency/nano-node/pull/1895.diff","patch_url":"https://github.com/nanocurrency/nano-node/pull/1895.patch","issue_url":"https://api.github.com/repos/nanocurrency/nano-node/issues/1895","number":1895,"state":"open","locked":false,"title":"Recalculate work from wallet","user":{"login":"argakiig","id":6511720,"node_id":"MDQ6VXNlcjY1MTE3MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6511720?v=4","gravatar_id":"","url":"https://api.github.com/users/argakiig","html_url":"https://github.com/argakiig","followers_url":"https://api.github.com/users/argakiig/followers","following_url":"https://api.github.com/users/argakiig/following{/other_user}","gists_url":"https://api.github.com/users/argakiig/gists{/gist_id}","starred_url":"https://api.github.com/users/argakiig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argakiig/subscriptions","organizations_url":"https://api.github.com/users/argakiig/orgs","repos_url":"https://api.github.com/users/argakiig/repos","events_url":"https://api.github.com/users/argakiig/events{/privacy}","received_events_url":"https://api.github.com/users/argakiig/received_events","type":"User","site_admin":false},"body":"replaces #1860\r\n\r\nblocks handled by the internal wallets will have work calculated using the active_difficulty if active_difficulty is greater\r\ncreates a thread in wallets to track these blocks and the time they were inserted, if they arent confirmed they are re inserted with an updated time.","created_at":"2019-04-11T04:22:38Z","updated_at":"2019-04-11T09:13:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3c34bb9c7c680cbe9a52923be89b5568a639be0","assignee":{"login":"argakiig","id":6511720,"node_id":"MDQ6VXNlcjY1MTE3MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6511720?v=4","gravatar_id":"","url":"https://api.github.com/users/argakiig","html_url":"https://github.com/argakiig","followers_url":"https://api.github.com/users/argakiig/followers","following_url":"https://api.github.com/users/argakiig/following{/other_user}","gists_url":"https://api.github.com/users/argakiig/gists{/gist_id}","starred_url":"https://api.github.com/users/argakiig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argakiig/subscriptions","organizations_url":"https://api.github.com/users/argakiig/orgs","repos_url":"https://api.github.com/users/argakiig/repos","events_url":"https://api.github.com/users/argakiig/events{/privacy}","received_events_url":"https://api.github.com/users/argakiig/received_events","type":"User","site_admin":false},"assignees":[{"login":"argakiig","id":6511720,"node_id":"MDQ6VXNlcjY1MTE3MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6511720?v=4","gravatar_id":"","url":"https://api.github.com/users/argakiig","html_url":"https://github.com/argakiig","followers_url":"https://api.github.com/users/argakiig/followers","following_url":"https://api.github.com/users/argakiig/following{/other_user}","gists_url":"https://api.github.com/users/argakiig/gists{/gist_id}","starred_url":"https://api.github.com/users/argakiig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argakiig/subscriptions","organizations_url":"https://api.github.com/users/argakiig/orgs","repos_url":"https://api.github.com/users/argakiig/repos","events_url":"https://api.github.com/users/argakiig/events{/privacy}","received_events_url":"https://api.github.com/users/argakiig/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"clemahieu","id":272911,"node_id":"MDQ6VXNlcjI3MjkxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/272911?v=4","gravatar_id":"","url":"https://api.github.com/users/clemahieu","html_url":"https://github.com/clemahieu","followers_url":"https://api.github.com/users/clemahieu/followers","following_url":"https://api.github.com/users/clemahieu/following{/other_user}","gists_url":"https://api.github.com/users/clemahieu/gists{/gist_id}","starred_url":"https://api.github.com/users/clemahieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemahieu/subscriptions","organizations_url":"https://api.github.com/users/clemahieu/orgs","repos_url":"https://api.github.com/users/clemahieu/repos","events_url":"https://api.github.com/users/clemahieu/events{/privacy}","received_events_url":"https://api.github.com/users/clemahieu/received_events","type":"User","site_admin":false},{"login":"SergiySW","id":18710136,"node_id":"MDQ6VXNlcjE4NzEwMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18710136?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiySW","html_url":"https://github.com/SergiySW","followers_url":"https://api.github.com/users/SergiySW/followers","following_url":"https://api.github.com/users/SergiySW/following{/other_user}","gists_url":"https://api.github.com/users/SergiySW/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiySW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiySW/subscriptions","organizations_url":"https://api.github.com/users/SergiySW/orgs","repos_url":"https://api.github.com/users/SergiySW/repos","events_url":"https://api.github.com/users/SergiySW/events{/privacy}","received_events_url":"https://api.github.com/users/SergiySW/received_events","type":"User","site_admin":false},{"login":"cryptocode","id":34946442,"node_id":"MDQ6VXNlcjM0OTQ2NDQy","avatar_url":"https://avatars2.githubusercontent.com/u/34946442?v=4","gravatar_id":"","url":"https://api.github.com/users/cryptocode","html_url":"https://github.com/cryptocode","followers_url":"https://api.github.com/users/cryptocode/followers","following_url":"https://api.github.com/users/cryptocode/following{/other_user}","gists_url":"https://api.github.com/users/cryptocode/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptocode/subscriptions","organizations_url":"https://api.github.com/users/cryptocode/orgs","repos_url":"https://api.github.com/users/cryptocode/repos","events_url":"https://api.github.com/users/cryptocode/events{/privacy}","received_events_url":"https://api.github.com/users/cryptocode/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":96478539,"node_id":"MDU6TGFiZWw5NjQ3ODUzOQ==","url":"https://api.github.com/repos/nanocurrency/nano-node/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":1048175829,"node_id":"MDU6TGFiZWwxMDQ4MTc1ODI5","url":"https://api.github.com/repos/nanocurrency/nano-node/labels/functionality%20quality%20improvements","name":"functionality quality improvements","color":"a519c4","default":false}],"milestone":{"url":"https://api.github.com/repos/nanocurrency/nano-node/milestones/9","html_url":"https://github.com/nanocurrency/nano-node/milestone/9","labels_url":"https://api.github.com/repos/nanocurrency/nano-node/milestones/9/labels","id":3594082,"node_id":"MDk6TWlsZXN0b25lMzU5NDA4Mg==","number":9,"title":"V19.0","description":"","creator":{"login":"rkeene","id":5068442,"node_id":"MDQ6VXNlcjUwNjg0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5068442?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeene","html_url":"https://github.com/rkeene","followers_url":"https://api.github.com/users/rkeene/followers","following_url":"https://api.github.com/users/rkeene/following{/other_user}","gists_url":"https://api.github.com/users/rkeene/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeene/subscriptions","organizations_url":"https://api.github.com/users/rkeene/orgs","repos_url":"https://api.github.com/users/rkeene/repos","events_url":"https://api.github.com/users/rkeene/events{/privacy}","received_events_url":"https://api.github.com/users/rkeene/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":124,"state":"open","created_at":"2018-08-23T16:27:23Z","updated_at":"2019-04-11T08:46:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895/commits","review_comments_url":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895/comments","review_comment_url":"https://api.github.com/repos/nanocurrency/nano-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nanocurrency/nano-node/issues/1895/comments","statuses_url":"https://api.github.com/repos/nanocurrency/nano-node/statuses/a0b1e006ffbdea701f0c28f006c7052a2b705723","head":{"label":"argakiig:recalculate_work_from_wallet","ref":"recalculate_work_from_wallet","sha":"a0b1e006ffbdea701f0c28f006c7052a2b705723","user":{"login":"argakiig","id":6511720,"node_id":"MDQ6VXNlcjY1MTE3MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6511720?v=4","gravatar_id":"","url":"https://api.github.com/users/argakiig","html_url":"https://github.com/argakiig","followers_url":"https://api.github.com/users/argakiig/followers","following_url":"https://api.github.com/users/argakiig/following{/other_user}","gists_url":"https://api.github.com/users/argakiig/gists{/gist_id}","starred_url":"https://api.github.com/users/argakiig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argakiig/subscriptions","organizations_url":"https://api.github.com/users/argakiig/orgs","repos_url":"https://api.github.com/users/argakiig/repos","events_url":"https://api.github.com/users/argakiig/events{/privacy}","received_events_url":"https://api.github.com/users/argakiig/received_events","type":"User","site_admin":false},"repo":{"id":125560164,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU1NjAxNjQ=","name":"raiblocks","full_name":"argakiig/raiblocks","private":false,"owner":{"login":"argakiig","id":6511720,"node_id":"MDQ6VXNlcjY1MTE3MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6511720?v=4","gravatar_id":"","url":"https://api.github.com/users/argakiig","html_url":"https://github.com/argakiig","followers_url":"https://api.github.com/users/argakiig/followers","following_url":"https://api.github.com/users/argakiig/following{/other_user}","gists_url":"https://api.github.com/users/argakiig/gists{/gist_id}","starred_url":"https://api.github.com/users/argakiig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argakiig/subscriptions","organizations_url":"https://api.github.com/users/argakiig/orgs","repos_url":"https://api.github.com/users/argakiig/repos","events_url":"https://api.github.com/users/argakiig/events{/privacy}","received_events_url":"https://api.github.com/users/argakiig/received_events","type":"User","site_admin":false},"html_url":"https://github.com/argakiig/raiblocks","description":"RaiBlocks is a cryptocurrency","fork":true,"url":"https://api.github.com/repos/argakiig/raiblocks","forks_url":"https://api.github.com/repos/argakiig/raiblocks/forks","keys_url":"https://api.github.com/repos/argakiig/raiblocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/argakiig/raiblocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/argakiig/raiblocks/teams","hooks_url":"https://api.github.com/repos/argakiig/raiblocks/hooks","issue_events_url":"https://api.github.com/repos/argakiig/raiblocks/issues/events{/number}","events_url":"https://api.github.com/repos/argakiig/raiblocks/events","assignees_url":"https://api.github.com/repos/argakiig/raiblocks/assignees{/user}","branches_url":"https://api.github.com/repos/argakiig/raiblocks/branches{/branch}","tags_url":"https://api.github.com/repos/argakiig/raiblocks/tags","blobs_url":"https://api.github.com/repos/argakiig/raiblocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/argakiig/raiblocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/argakiig/raiblocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/argakiig/raiblocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/argakiig/raiblocks/statuses/{sha}","languages_url":"https://api.github.com/repos/argakiig/raiblocks/languages","stargazers_url":"https://api.github.com/repos/argakiig/raiblocks/stargazers","contributors_url":"https://api.github.com/repos/argakiig/raiblocks/contributors","subscribers_url":"https://api.github.com/repos/argakiig/raiblocks/subscribers","subscription_url":"https://api.github.com/repos/argakiig/raiblocks/subscription","commits_url":"https://api.github.com/repos/argakiig/raiblocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/argakiig/raiblocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/argakiig/raiblocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/argakiig/raiblocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/argakiig/raiblocks/contents/{+path}","compare_url":"https://api.github.com/repos/argakiig/raiblocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/argakiig/raiblocks/merges","archive_url":"https://api.github.com/repos/argakiig/raiblocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/argakiig/raiblocks/downloads","issues_url":"https://api.github.com/repos/argakiig/raiblocks/issues{/number}","pulls_url":"https://api.github.com/repos/argakiig/raiblocks/pulls{/number}","milestones_url":"https://api.github.com/repos/argakiig/raiblocks/milestones{/number}","notifications_url":"https://api.github.com/repos/argakiig/raiblocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/argakiig/raiblocks/labels{/name}","releases_url":"https://api.github.com/repos/argakiig/raiblocks/releases{/id}","deployments_url":"https://api.github.com/repos/argakiig/raiblocks/deployments","created_at":"2018-03-16T19:19:37Z","updated_at":"2019-03-28T21:17:29Z","pushed_at":"2019-04-11T04:20:03Z","git_url":"git://github.com/argakiig/raiblocks.git","ssh_url":"git@github.com:argakiig/raiblocks.git","clone_url":"https://github.com/argakiig/raiblocks.git","svn_url":"https://github.com/argakiig/raiblocks","homepage":"http://raiblocks.net","size":18485,"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,"disabled":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nanocurrency:master","ref":"master","sha":"8e2e1272467e7e6701b5d035eb08e594530ea079","user":{"login":"nanocurrency","id":34106716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTA2NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34106716?v=4","gravatar_id":"","url":"https://api.github.com/users/nanocurrency","html_url":"https://github.com/nanocurrency","followers_url":"https://api.github.com/users/nanocurrency/followers","following_url":"https://api.github.com/users/nanocurrency/following{/other_user}","gists_url":"https://api.github.com/users/nanocurrency/gists{/gist_id}","starred_url":"https://api.github.com/users/nanocurrency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanocurrency/subscriptions","organizations_url":"https://api.github.com/users/nanocurrency/orgs","repos_url":"https://api.github.com/users/nanocurrency/repos","events_url":"https://api.github.com/users/nanocurrency/events{/privacy}","received_events_url":"https://api.github.com/users/nanocurrency/received_events","type":"Organization","site_admin":false},"repo":{"id":19347340,"node_id":"MDEwOlJlcG9zaXRvcnkxOTM0NzM0MA==","name":"nano-node","full_name":"nanocurrency/nano-node","private":false,"owner":{"login":"nanocurrency","id":34106716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTA2NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34106716?v=4","gravatar_id":"","url":"https://api.github.com/users/nanocurrency","html_url":"https://github.com/nanocurrency","followers_url":"https://api.github.com/users/nanocurrency/followers","following_url":"https://api.github.com/users/nanocurrency/following{/other_user}","gists_url":"https://api.github.com/users/nanocurrency/gists{/gist_id}","starred_url":"https://api.github.com/users/nanocurrency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanocurrency/subscriptions","organizations_url":"https://api.github.com/users/nanocurrency/orgs","repos_url":"https://api.github.com/users/nanocurrency/repos","events_url":"https://api.github.com/users/nanocurrency/events{/privacy}","received_events_url":"https://api.github.com/users/nanocurrency/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nanocurrency/nano-node","description":"Nano is a cryptocurrency","fork":false,"url":"https://api.github.com/repos/nanocurrency/nano-node","forks_url":"https://api.github.com/repos/nanocurrency/nano-node/forks","keys_url":"https://api.github.com/repos/nanocurrency/nano-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nanocurrency/nano-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nanocurrency/nano-node/teams","hooks_url":"https://api.github.com/repos/nanocurrency/nano-node/hooks","issue_events_url":"https://api.github.com/repos/nanocurrency/nano-node/issues/events{/number}","events_url":"https://api.github.com/repos/nanocurrency/nano-node/events","assignees_url":"https://api.github.com/repos/nanocurrency/nano-node/assignees{/user}","branches_url":"https://api.github.com/repos/nanocurrency/nano-node/branches{/branch}","tags_url":"https://api.github.com/repos/nanocurrency/nano-node/tags","blobs_url":"https://api.github.com/repos/nanocurrency/nano-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nanocurrency/nano-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nanocurrency/nano-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nanocurrency/nano-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nanocurrency/nano-node/statuses/{sha}","languages_url":"https://api.github.com/repos/nanocurrency/nano-node/languages","stargazers_url":"https://api.github.com/repos/nanocurrency/nano-node/stargazers","contributors_url":"https://api.github.com/repos/nanocurrency/nano-node/contributors","subscribers_url":"https://api.github.com/repos/nanocurrency/nano-node/subscribers","subscription_url":"https://api.github.com/repos/nanocurrency/nano-node/subscription","commits_url":"https://api.github.com/repos/nanocurrency/nano-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nanocurrency/nano-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nanocurrency/nano-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nanocurrency/nano-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nanocurrency/nano-node/contents/{+path}","compare_url":"https://api.github.com/repos/nanocurrency/nano-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nanocurrency/nano-node/merges","archive_url":"https://api.github.com/repos/nanocurrency/nano-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nanocurrency/nano-node/downloads","issues_url":"https://api.github.com/repos/nanocurrency/nano-node/issues{/number}","pulls_url":"https://api.github.com/repos/nanocurrency/nano-node/pulls{/number}","milestones_url":"https://api.github.com/repos/nanocurrency/nano-node/milestones{/number}","notifications_url":"https://api.github.com/repos/nanocurrency/nano-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nanocurrency/nano-node/labels{/name}","releases_url":"https://api.github.com/repos/nanocurrency/nano-node/releases{/id}","deployments_url":"https://api.github.com/repos/nanocurrency/nano-node/deployments","created_at":"2014-05-01T14:49:25Z","updated_at":"2019-04-11T02:55:11Z","pushed_at":"2019-04-11T08:46:18Z","git_url":"git://github.com/nanocurrency/nano-node.git","ssh_url":"git@github.com:nanocurrency/nano-node.git","clone_url":"https://github.com/nanocurrency/nano-node.git","svn_url":"https://github.com/nanocurrency/nano-node","homepage":"https://nano.org","size":18698,"stargazers_count":2547,"watchers_count":2547,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":539,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":118,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":539,"open_issues":118,"watchers":2547,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895"},"html":{"href":"https://github.com/nanocurrency/nano-node/pull/1895"},"issue":{"href":"https://api.github.com/repos/nanocurrency/nano-node/issues/1895"},"comments":{"href":"https://api.github.com/repos/nanocurrency/nano-node/issues/1895/comments"},"review_comments":{"href":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895/comments"},"review_comment":{"href":"https://api.github.com/repos/nanocurrency/nano-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nanocurrency/nano-node/pulls/1895/commits"},"statuses":{"href":"https://api.github.com/repos/nanocurrency/nano-node/statuses/a0b1e006ffbdea701f0c28f006c7052a2b705723"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"wezrule"}}