{"action":"opened","number":676,"pull_request":{"url":"https://api.github.com/repos/qlcchain/go-qlc/pulls/676","id":333531124,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMzNTMxMTI0","html_url":"https://github.com/qlcchain/go-qlc/pull/676","diff_url":"https://github.com/qlcchain/go-qlc/pull/676.diff","patch_url":"https://github.com/qlcchain/go-qlc/pull/676.patch","issue_url":"https://api.github.com/repos/qlcchain/go-qlc/issues/676","number":676,"state":"open","locked":false,"title":"feat: add cache memory to ledger","user":{"login":"zengchen221","id":18064741,"node_id":"MDQ6VXNlcjE4MDY0NzQx","avatar_url":"https://avatars2.githubusercontent.com/u/18064741?v=4","gravatar_id":"","url":"https://api.github.com/users/zengchen221","html_url":"https://github.com/zengchen221","followers_url":"https://api.github.com/users/zengchen221/followers","following_url":"https://api.github.com/users/zengchen221/following{/other_user}","gists_url":"https://api.github.com/users/zengchen221/gists{/gist_id}","starred_url":"https://api.github.com/users/zengchen221/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zengchen221/subscriptions","organizations_url":"https://api.github.com/users/zengchen221/orgs","repos_url":"https://api.github.com/users/zengchen221/repos","events_url":"https://api.github.com/users/zengchen221/events{/privacy}","received_events_url":"https://api.github.com/users/zengchen221/received_events","type":"User","site_admin":false},"body":"### Proposed changes in this pull request\r\n\r\n- add cache memory to ledger, fix #636 \r\n- add cli to ledger gc\r\n\r\n### Type\r\n- [ ] Bug fix: (Link to the issue #{issue No.})\r\n- [x] Feature (Non-breaking change)\r\n- [ ] Feature (Breaking change)\r\n- [ ] Documentation Improvement\r\n\r\n### Checklist\r\nWrite a small comment explaining if its `N/A` (not applicable)\r\n\r\n- [x] Read the [CONTRIBUTION](https://github.com/qlcchain/go-qlc/blob/master/CONTRIBUTING.md).\r\n- [x] All the tests are passing after the introduction of new changes.\r\n- [ ] Added tests respective to the part of code I have written.\r\n- [ ] Added proper documentation where ever applicable.\r\n- [ ] Code has been written according to [Golang-Style-Guide](https://github.com/qlcchain/go-qlc/blob/master/CONTRIBUTING.md#code-standard)\r\n\r\n### Extra information\r\nAny extra information related to this pull request.\r\n","created_at":"2019-10-29T10:12:19Z","updated_at":"2019-10-29T10:12:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/qlcchain/go-qlc/pulls/676/commits","review_comments_url":"https://api.github.com/repos/qlcchain/go-qlc/pulls/676/comments","review_comment_url":"https://api.github.com/repos/qlcchain/go-qlc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qlcchain/go-qlc/issues/676/comments","statuses_url":"https://api.github.com/repos/qlcchain/go-qlc/statuses/86b3bf88e6c405f4d6cca460e982ab2252346680","head":{"label":"qlcchain:feature/ledger-cache","ref":"feature/ledger-cache","sha":"86b3bf88e6c405f4d6cca460e982ab2252346680","user":{"login":"qlcchain","id":38906240,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA2MjQw","avatar_url":"https://avatars3.githubusercontent.com/u/38906240?v=4","gravatar_id":"","url":"https://api.github.com/users/qlcchain","html_url":"https://github.com/qlcchain","followers_url":"https://api.github.com/users/qlcchain/followers","following_url":"https://api.github.com/users/qlcchain/following{/other_user}","gists_url":"https://api.github.com/users/qlcchain/gists{/gist_id}","starred_url":"https://api.github.com/users/qlcchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlcchain/subscriptions","organizations_url":"https://api.github.com/users/qlcchain/orgs","repos_url":"https://api.github.com/users/qlcchain/repos","events_url":"https://api.github.com/users/qlcchain/events{/privacy}","received_events_url":"https://api.github.com/users/qlcchain/received_events","type":"Organization","site_admin":false},"repo":{"id":147279596,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyNzk1OTY=","name":"go-qlc","full_name":"qlcchain/go-qlc","private":false,"owner":{"login":"qlcchain","id":38906240,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA2MjQw","avatar_url":"https://avatars3.githubusercontent.com/u/38906240?v=4","gravatar_id":"","url":"https://api.github.com/users/qlcchain","html_url":"https://github.com/qlcchain","followers_url":"https://api.github.com/users/qlcchain/followers","following_url":"https://api.github.com/users/qlcchain/following{/other_user}","gists_url":"https://api.github.com/users/qlcchain/gists{/gist_id}","starred_url":"https://api.github.com/users/qlcchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlcchain/subscriptions","organizations_url":"https://api.github.com/users/qlcchain/orgs","repos_url":"https://api.github.com/users/qlcchain/repos","events_url":"https://api.github.com/users/qlcchain/events{/privacy}","received_events_url":"https://api.github.com/users/qlcchain/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/qlcchain/go-qlc","description":"Official Go implementation of the QLC Chain protocol.","fork":false,"url":"https://api.github.com/repos/qlcchain/go-qlc","forks_url":"https://api.github.com/repos/qlcchain/go-qlc/forks","keys_url":"https://api.github.com/repos/qlcchain/go-qlc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qlcchain/go-qlc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qlcchain/go-qlc/teams","hooks_url":"https://api.github.com/repos/qlcchain/go-qlc/hooks","issue_events_url":"https://api.github.com/repos/qlcchain/go-qlc/issues/events{/number}","events_url":"https://api.github.com/repos/qlcchain/go-qlc/events","assignees_url":"https://api.github.com/repos/qlcchain/go-qlc/assignees{/user}","branches_url":"https://api.github.com/repos/qlcchain/go-qlc/branches{/branch}","tags_url":"https://api.github.com/repos/qlcchain/go-qlc/tags","blobs_url":"https://api.github.com/repos/qlcchain/go-qlc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qlcchain/go-qlc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qlcchain/go-qlc/git/refs{/sha}","trees_url":"https://api.github.com/repos/qlcchain/go-qlc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qlcchain/go-qlc/statuses/{sha}","languages_url":"https://api.github.com/repos/qlcchain/go-qlc/languages","stargazers_url":"https://api.github.com/repos/qlcchain/go-qlc/stargazers","contributors_url":"https://api.github.com/repos/qlcchain/go-qlc/contributors","subscribers_url":"https://api.github.com/repos/qlcchain/go-qlc/subscribers","subscription_url":"https://api.github.com/repos/qlcchain/go-qlc/subscription","commits_url":"https://api.github.com/repos/qlcchain/go-qlc/commits{/sha}","git_commits_url":"https://api.github.com/repos/qlcchain/go-qlc/git/commits{/sha}","comments_url":"https://api.github.com/repos/qlcchain/go-qlc/comments{/number}","issue_comment_url":"https://api.github.com/repos/qlcchain/go-qlc/issues/comments{/number}","contents_url":"https://api.github.com/repos/qlcchain/go-qlc/contents/{+path}","compare_url":"https://api.github.com/repos/qlcchain/go-qlc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qlcchain/go-qlc/merges","archive_url":"https://api.github.com/repos/qlcchain/go-qlc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qlcchain/go-qlc/downloads","issues_url":"https://api.github.com/repos/qlcchain/go-qlc/issues{/number}","pulls_url":"https://api.github.com/repos/qlcchain/go-qlc/pulls{/number}","milestones_url":"https://api.github.com/repos/qlcchain/go-qlc/milestones{/number}","notifications_url":"https://api.github.com/repos/qlcchain/go-qlc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qlcchain/go-qlc/labels{/name}","releases_url":"https://api.github.com/repos/qlcchain/go-qlc/releases{/id}","deployments_url":"https://api.github.com/repos/qlcchain/go-qlc/deployments","created_at":"2018-09-04T02:51:17Z","updated_at":"2019-10-29T06:47:32Z","pushed_at":"2019-10-29T10:09:59Z","git_url":"git://github.com/qlcchain/go-qlc.git","ssh_url":"git@github.com:qlcchain/go-qlc.git","clone_url":"https://github.com/qlcchain/go-qlc.git","svn_url":"https://github.com/qlcchain/go-qlc","homepage":"https://docs.qlcchain.online","size":4673,"stargazers_count":26,"watchers_count":26,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":26,"watchers":26,"default_branch":"master"}},"base":{"label":"qlcchain:master","ref":"master","sha":"7332ece2c9cce47abcd39dd682cf669146f0740b","user":{"login":"qlcchain","id":38906240,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA2MjQw","avatar_url":"https://avatars3.githubusercontent.com/u/38906240?v=4","gravatar_id":"","url":"https://api.github.com/users/qlcchain","html_url":"https://github.com/qlcchain","followers_url":"https://api.github.com/users/qlcchain/followers","following_url":"https://api.github.com/users/qlcchain/following{/other_user}","gists_url":"https://api.github.com/users/qlcchain/gists{/gist_id}","starred_url":"https://api.github.com/users/qlcchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlcchain/subscriptions","organizations_url":"https://api.github.com/users/qlcchain/orgs","repos_url":"https://api.github.com/users/qlcchain/repos","events_url":"https://api.github.com/users/qlcchain/events{/privacy}","received_events_url":"https://api.github.com/users/qlcchain/received_events","type":"Organization","site_admin":false},"repo":{"id":147279596,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyNzk1OTY=","name":"go-qlc","full_name":"qlcchain/go-qlc","private":false,"owner":{"login":"qlcchain","id":38906240,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTA2MjQw","avatar_url":"https://avatars3.githubusercontent.com/u/38906240?v=4","gravatar_id":"","url":"https://api.github.com/users/qlcchain","html_url":"https://github.com/qlcchain","followers_url":"https://api.github.com/users/qlcchain/followers","following_url":"https://api.github.com/users/qlcchain/following{/other_user}","gists_url":"https://api.github.com/users/qlcchain/gists{/gist_id}","starred_url":"https://api.github.com/users/qlcchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlcchain/subscriptions","organizations_url":"https://api.github.com/users/qlcchain/orgs","repos_url":"https://api.github.com/users/qlcchain/repos","events_url":"https://api.github.com/users/qlcchain/events{/privacy}","received_events_url":"https://api.github.com/users/qlcchain/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/qlcchain/go-qlc","description":"Official Go implementation of the QLC Chain protocol.","fork":false,"url":"https://api.github.com/repos/qlcchain/go-qlc","forks_url":"https://api.github.com/repos/qlcchain/go-qlc/forks","keys_url":"https://api.github.com/repos/qlcchain/go-qlc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qlcchain/go-qlc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qlcchain/go-qlc/teams","hooks_url":"https://api.github.com/repos/qlcchain/go-qlc/hooks","issue_events_url":"https://api.github.com/repos/qlcchain/go-qlc/issues/events{/number}","events_url":"https://api.github.com/repos/qlcchain/go-qlc/events","assignees_url":"https://api.github.com/repos/qlcchain/go-qlc/assignees{/user}","branches_url":"https://api.github.com/repos/qlcchain/go-qlc/branches{/branch}","tags_url":"https://api.github.com/repos/qlcchain/go-qlc/tags","blobs_url":"https://api.github.com/repos/qlcchain/go-qlc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qlcchain/go-qlc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qlcchain/go-qlc/git/refs{/sha}","trees_url":"https://api.github.com/repos/qlcchain/go-qlc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qlcchain/go-qlc/statuses/{sha}","languages_url":"https://api.github.com/repos/qlcchain/go-qlc/languages","stargazers_url":"https://api.github.com/repos/qlcchain/go-qlc/stargazers","contributors_url":"https://api.github.com/repos/qlcchain/go-qlc/contributors","subscribers_url":"https://api.github.com/repos/qlcchain/go-qlc/subscribers","subscription_url":"https://api.github.com/repos/qlcchain/go-qlc/subscription","commits_url":"https://api.github.com/repos/qlcchain/go-qlc/commits{/sha}","git_commits_url":"https://api.github.com/repos/qlcchain/go-qlc/git/commits{/sha}","comments_url":"https://api.github.com/repos/qlcchain/go-qlc/comments{/number}","issue_comment_url":"https://api.github.com/repos/qlcchain/go-qlc/issues/comments{/number}","contents_url":"https://api.github.com/repos/qlcchain/go-qlc/contents/{+path}","compare_url":"https://api.github.com/repos/qlcchain/go-qlc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qlcchain/go-qlc/merges","archive_url":"https://api.github.com/repos/qlcchain/go-qlc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qlcchain/go-qlc/downloads","issues_url":"https://api.github.com/repos/qlcchain/go-qlc/issues{/number}","pulls_url":"https://api.github.com/repos/qlcchain/go-qlc/pulls{/number}","milestones_url":"https://api.github.com/repos/qlcchain/go-qlc/milestones{/number}","notifications_url":"https://api.github.com/repos/qlcchain/go-qlc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qlcchain/go-qlc/labels{/name}","releases_url":"https://api.github.com/repos/qlcchain/go-qlc/releases{/id}","deployments_url":"https://api.github.com/repos/qlcchain/go-qlc/deployments","created_at":"2018-09-04T02:51:17Z","updated_at":"2019-10-29T06:47:32Z","pushed_at":"2019-10-29T10:09:59Z","git_url":"git://github.com/qlcchain/go-qlc.git","ssh_url":"git@github.com:qlcchain/go-qlc.git","clone_url":"https://github.com/qlcchain/go-qlc.git","svn_url":"https://github.com/qlcchain/go-qlc","homepage":"https://docs.qlcchain.online","size":4673,"stargazers_count":26,"watchers_count":26,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":26,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qlcchain/go-qlc/pulls/676"},"html":{"href":"https://github.com/qlcchain/go-qlc/pull/676"},"issue":{"href":"https://api.github.com/repos/qlcchain/go-qlc/issues/676"},"comments":{"href":"https://api.github.com/repos/qlcchain/go-qlc/issues/676/comments"},"review_comments":{"href":"https://api.github.com/repos/qlcchain/go-qlc/pulls/676/comments"},"review_comment":{"href":"https://api.github.com/repos/qlcchain/go-qlc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qlcchain/go-qlc/pulls/676/commits"},"statuses":{"href":"https://api.github.com/repos/qlcchain/go-qlc/statuses/86b3bf88e6c405f4d6cca460e982ab2252346680"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":575,"deletions":148,"changed_files":19}}
{"actor":{"display_login":"zengchen221"}}