{"action":"created","comment":{"url":"https://api.github.com/repos/purpleprotocol/purple/pulls/comments/224072209","pull_request_review_id":163350342,"id":224072209,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDA3MjIwOQ==","diff_hunk":"@@ -108,6 +119,32 @@ defmodule Purple.NodeStorage do\n     >>\n   end\n \n+  defp init_trie_db do\n+    db_tuple = {proc_ref, ref} = MerklePatriciaTree.DB.RocksDB.init(@db_trie_path)\n+    cf_handles_list = Path.wildcard(Path.join(__DIR__, \"/*\"))","path":"apps/purple/lib/purple/persistence/node_storage.ex","position":38,"original_position":38,"commit_id":"78f656b1b008640efa0a13c56db208bc1359ca03","original_commit_id":"78f656b1b008640efa0a13c56db208bc1359ca03","user":{"login":"octavonce","id":20557383,"node_id":"MDQ6VXNlcjIwNTU3Mzgz","avatar_url":"https://avatars1.githubusercontent.com/u/20557383?v=4","gravatar_id":"","url":"https://api.github.com/users/octavonce","html_url":"https://github.com/octavonce","followers_url":"https://api.github.com/users/octavonce/followers","following_url":"https://api.github.com/users/octavonce/following{/other_user}","gists_url":"https://api.github.com/users/octavonce/gists{/gist_id}","starred_url":"https://api.github.com/users/octavonce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octavonce/subscriptions","organizations_url":"https://api.github.com/users/octavonce/orgs","repos_url":"https://api.github.com/users/octavonce/repos","events_url":"https://api.github.com/users/octavonce/events{/privacy}","received_events_url":"https://api.github.com/users/octavonce/received_events","type":"User","site_admin":false},"body":"Use pipe operator","created_at":"2018-10-10T13:21:46Z","updated_at":"2018-10-10T13:21:46Z","html_url":"https://github.com/purpleprotocol/purple/pull/60#discussion_r224072209","pull_request_url":"https://api.github.com/repos/purpleprotocol/purple/pulls/60","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/purpleprotocol/purple/pulls/comments/224072209"},"html":{"href":"https://github.com/purpleprotocol/purple/pull/60#discussion_r224072209"},"pull_request":{"href":"https://api.github.com/repos/purpleprotocol/purple/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/purpleprotocol/purple/pulls/60","id":221511333,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNTExMzMz","html_url":"https://github.com/purpleprotocol/purple/pull/60","diff_url":"https://github.com/purpleprotocol/purple/pull/60.diff","patch_url":"https://github.com/purpleprotocol/purple/pull/60.patch","issue_url":"https://api.github.com/repos/purpleprotocol/purple/issues/60","number":60,"state":"open","locked":false,"title":"ACID State Writes [WIP]","user":{"login":"Prodicode","id":32748771,"node_id":"MDQ6VXNlcjMyNzQ4Nzcx","avatar_url":"https://avatars3.githubusercontent.com/u/32748771?v=4","gravatar_id":"","url":"https://api.github.com/users/Prodicode","html_url":"https://github.com/Prodicode","followers_url":"https://api.github.com/users/Prodicode/followers","following_url":"https://api.github.com/users/Prodicode/following{/other_user}","gists_url":"https://api.github.com/users/Prodicode/gists{/gist_id}","starred_url":"https://api.github.com/users/Prodicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prodicode/subscriptions","organizations_url":"https://api.github.com/users/Prodicode/orgs","repos_url":"https://api.github.com/users/Prodicode/repos","events_url":"https://api.github.com/users/Prodicode/events{/privacy}","received_events_url":"https://api.github.com/users/Prodicode/received_events","type":"User","site_admin":false},"body":"TODO:\r\n\r\n- [x] Split Tries in Columns - 78f656b1b008640efa0a13c56db208bc1359ca03\r\n- [ ] Route all basic Trie operations through the Trie Controller (which includes the ACID API) - should be built in GenServer.\r\n- [ ] Add ACID Operations API\r\n- [ ] Implement ACID Operations  ","created_at":"2018-10-09T16:47:50Z","updated_at":"2018-10-10T13:21:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e496503f4621a2714df9fd2253d746194aa5b4d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/purpleprotocol/purple/pulls/60/commits","review_comments_url":"https://api.github.com/repos/purpleprotocol/purple/pulls/60/comments","review_comment_url":"https://api.github.com/repos/purpleprotocol/purple/pulls/comments{/number}","comments_url":"https://api.github.com/repos/purpleprotocol/purple/issues/60/comments","statuses_url":"https://api.github.com/repos/purpleprotocol/purple/statuses/78f656b1b008640efa0a13c56db208bc1359ca03","head":{"label":"purpleprotocol:enhancement/25/acid","ref":"enhancement/25/acid","sha":"78f656b1b008640efa0a13c56db208bc1359ca03","user":{"login":"purpleprotocol","id":38031485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDMxNDg1","avatar_url":"https://avatars0.githubusercontent.com/u/38031485?v=4","gravatar_id":"","url":"https://api.github.com/users/purpleprotocol","html_url":"https://github.com/purpleprotocol","followers_url":"https://api.github.com/users/purpleprotocol/followers","following_url":"https://api.github.com/users/purpleprotocol/following{/other_user}","gists_url":"https://api.github.com/users/purpleprotocol/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleprotocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleprotocol/subscriptions","organizations_url":"https://api.github.com/users/purpleprotocol/orgs","repos_url":"https://api.github.com/users/purpleprotocol/repos","events_url":"https://api.github.com/users/purpleprotocol/events{/privacy}","received_events_url":"https://api.github.com/users/purpleprotocol/received_events","type":"Organization","site_admin":false},"repo":{"id":127651922,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc2NTE5MjI=","name":"purple","full_name":"purpleprotocol/purple","private":false,"owner":{"login":"purpleprotocol","id":38031485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDMxNDg1","avatar_url":"https://avatars0.githubusercontent.com/u/38031485?v=4","gravatar_id":"","url":"https://api.github.com/users/purpleprotocol","html_url":"https://github.com/purpleprotocol","followers_url":"https://api.github.com/users/purpleprotocol/followers","following_url":"https://api.github.com/users/purpleprotocol/following{/other_user}","gists_url":"https://api.github.com/users/purpleprotocol/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleprotocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleprotocol/subscriptions","organizations_url":"https://api.github.com/users/purpleprotocol/orgs","repos_url":"https://api.github.com/users/purpleprotocol/repos","events_url":"https://api.github.com/users/purpleprotocol/events{/privacy}","received_events_url":"https://api.github.com/users/purpleprotocol/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/purpleprotocol/purple","description":"Fast, Programmable, Multi-Asset Blockchain","fork":false,"url":"https://api.github.com/repos/purpleprotocol/purple","forks_url":"https://api.github.com/repos/purpleprotocol/purple/forks","keys_url":"https://api.github.com/repos/purpleprotocol/purple/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purpleprotocol/purple/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purpleprotocol/purple/teams","hooks_url":"https://api.github.com/repos/purpleprotocol/purple/hooks","issue_events_url":"https://api.github.com/repos/purpleprotocol/purple/issues/events{/number}","events_url":"https://api.github.com/repos/purpleprotocol/purple/events","assignees_url":"https://api.github.com/repos/purpleprotocol/purple/assignees{/user}","branches_url":"https://api.github.com/repos/purpleprotocol/purple/branches{/branch}","tags_url":"https://api.github.com/repos/purpleprotocol/purple/tags","blobs_url":"https://api.github.com/repos/purpleprotocol/purple/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purpleprotocol/purple/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purpleprotocol/purple/git/refs{/sha}","trees_url":"https://api.github.com/repos/purpleprotocol/purple/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purpleprotocol/purple/statuses/{sha}","languages_url":"https://api.github.com/repos/purpleprotocol/purple/languages","stargazers_url":"https://api.github.com/repos/purpleprotocol/purple/stargazers","contributors_url":"https://api.github.com/repos/purpleprotocol/purple/contributors","subscribers_url":"https://api.github.com/repos/purpleprotocol/purple/subscribers","subscription_url":"https://api.github.com/repos/purpleprotocol/purple/subscription","commits_url":"https://api.github.com/repos/purpleprotocol/purple/commits{/sha}","git_commits_url":"https://api.github.com/repos/purpleprotocol/purple/git/commits{/sha}","comments_url":"https://api.github.com/repos/purpleprotocol/purple/comments{/number}","issue_comment_url":"https://api.github.com/repos/purpleprotocol/purple/issues/comments{/number}","contents_url":"https://api.github.com/repos/purpleprotocol/purple/contents/{+path}","compare_url":"https://api.github.com/repos/purpleprotocol/purple/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purpleprotocol/purple/merges","archive_url":"https://api.github.com/repos/purpleprotocol/purple/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purpleprotocol/purple/downloads","issues_url":"https://api.github.com/repos/purpleprotocol/purple/issues{/number}","pulls_url":"https://api.github.com/repos/purpleprotocol/purple/pulls{/number}","milestones_url":"https://api.github.com/repos/purpleprotocol/purple/milestones{/number}","notifications_url":"https://api.github.com/repos/purpleprotocol/purple/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purpleprotocol/purple/labels{/name}","releases_url":"https://api.github.com/repos/purpleprotocol/purple/releases{/id}","deployments_url":"https://api.github.com/repos/purpleprotocol/purple/deployments","created_at":"2018-04-01T16:58:21Z","updated_at":"2018-10-08T13:12:56Z","pushed_at":"2018-10-09T16:47:50Z","git_url":"git://github.com/purpleprotocol/purple.git","ssh_url":"git@github.com:purpleprotocol/purple.git","clone_url":"https://github.com/purpleprotocol/purple.git","svn_url":"https://github.com/purpleprotocol/purple","homepage":"https://purpleprotocol.org","size":87937,"stargazers_count":14,"watchers_count":14,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":22,"watchers":14,"default_branch":"master"}},"base":{"label":"purpleprotocol:master","ref":"master","sha":"ea1d8f0271b16b520ee49d89053b05e49d36d10b","user":{"login":"purpleprotocol","id":38031485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDMxNDg1","avatar_url":"https://avatars0.githubusercontent.com/u/38031485?v=4","gravatar_id":"","url":"https://api.github.com/users/purpleprotocol","html_url":"https://github.com/purpleprotocol","followers_url":"https://api.github.com/users/purpleprotocol/followers","following_url":"https://api.github.com/users/purpleprotocol/following{/other_user}","gists_url":"https://api.github.com/users/purpleprotocol/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleprotocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleprotocol/subscriptions","organizations_url":"https://api.github.com/users/purpleprotocol/orgs","repos_url":"https://api.github.com/users/purpleprotocol/repos","events_url":"https://api.github.com/users/purpleprotocol/events{/privacy}","received_events_url":"https://api.github.com/users/purpleprotocol/received_events","type":"Organization","site_admin":false},"repo":{"id":127651922,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc2NTE5MjI=","name":"purple","full_name":"purpleprotocol/purple","private":false,"owner":{"login":"purpleprotocol","id":38031485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MDMxNDg1","avatar_url":"https://avatars0.githubusercontent.com/u/38031485?v=4","gravatar_id":"","url":"https://api.github.com/users/purpleprotocol","html_url":"https://github.com/purpleprotocol","followers_url":"https://api.github.com/users/purpleprotocol/followers","following_url":"https://api.github.com/users/purpleprotocol/following{/other_user}","gists_url":"https://api.github.com/users/purpleprotocol/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleprotocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleprotocol/subscriptions","organizations_url":"https://api.github.com/users/purpleprotocol/orgs","repos_url":"https://api.github.com/users/purpleprotocol/repos","events_url":"https://api.github.com/users/purpleprotocol/events{/privacy}","received_events_url":"https://api.github.com/users/purpleprotocol/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/purpleprotocol/purple","description":"Fast, Programmable, Multi-Asset Blockchain","fork":false,"url":"https://api.github.com/repos/purpleprotocol/purple","forks_url":"https://api.github.com/repos/purpleprotocol/purple/forks","keys_url":"https://api.github.com/repos/purpleprotocol/purple/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purpleprotocol/purple/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purpleprotocol/purple/teams","hooks_url":"https://api.github.com/repos/purpleprotocol/purple/hooks","issue_events_url":"https://api.github.com/repos/purpleprotocol/purple/issues/events{/number}","events_url":"https://api.github.com/repos/purpleprotocol/purple/events","assignees_url":"https://api.github.com/repos/purpleprotocol/purple/assignees{/user}","branches_url":"https://api.github.com/repos/purpleprotocol/purple/branches{/branch}","tags_url":"https://api.github.com/repos/purpleprotocol/purple/tags","blobs_url":"https://api.github.com/repos/purpleprotocol/purple/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purpleprotocol/purple/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purpleprotocol/purple/git/refs{/sha}","trees_url":"https://api.github.com/repos/purpleprotocol/purple/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purpleprotocol/purple/statuses/{sha}","languages_url":"https://api.github.com/repos/purpleprotocol/purple/languages","stargazers_url":"https://api.github.com/repos/purpleprotocol/purple/stargazers","contributors_url":"https://api.github.com/repos/purpleprotocol/purple/contributors","subscribers_url":"https://api.github.com/repos/purpleprotocol/purple/subscribers","subscription_url":"https://api.github.com/repos/purpleprotocol/purple/subscription","commits_url":"https://api.github.com/repos/purpleprotocol/purple/commits{/sha}","git_commits_url":"https://api.github.com/repos/purpleprotocol/purple/git/commits{/sha}","comments_url":"https://api.github.com/repos/purpleprotocol/purple/comments{/number}","issue_comment_url":"https://api.github.com/repos/purpleprotocol/purple/issues/comments{/number}","contents_url":"https://api.github.com/repos/purpleprotocol/purple/contents/{+path}","compare_url":"https://api.github.com/repos/purpleprotocol/purple/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purpleprotocol/purple/merges","archive_url":"https://api.github.com/repos/purpleprotocol/purple/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purpleprotocol/purple/downloads","issues_url":"https://api.github.com/repos/purpleprotocol/purple/issues{/number}","pulls_url":"https://api.github.com/repos/purpleprotocol/purple/pulls{/number}","milestones_url":"https://api.github.com/repos/purpleprotocol/purple/milestones{/number}","notifications_url":"https://api.github.com/repos/purpleprotocol/purple/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purpleprotocol/purple/labels{/name}","releases_url":"https://api.github.com/repos/purpleprotocol/purple/releases{/id}","deployments_url":"https://api.github.com/repos/purpleprotocol/purple/deployments","created_at":"2018-04-01T16:58:21Z","updated_at":"2018-10-08T13:12:56Z","pushed_at":"2018-10-09T16:47:50Z","git_url":"git://github.com/purpleprotocol/purple.git","ssh_url":"git@github.com:purpleprotocol/purple.git","clone_url":"https://github.com/purpleprotocol/purple.git","svn_url":"https://github.com/purpleprotocol/purple","homepage":"https://purpleprotocol.org","size":87937,"stargazers_count":14,"watchers_count":14,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":22,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/purpleprotocol/purple/pulls/60"},"html":{"href":"https://github.com/purpleprotocol/purple/pull/60"},"issue":{"href":"https://api.github.com/repos/purpleprotocol/purple/issues/60"},"comments":{"href":"https://api.github.com/repos/purpleprotocol/purple/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/purpleprotocol/purple/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/purpleprotocol/purple/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/purpleprotocol/purple/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/purpleprotocol/purple/statuses/78f656b1b008640efa0a13c56db208bc1359ca03"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"octavonce"}}