{"action":"created","comment":{"url":"https://api.github.com/repos/cybercongress/cyberd/pulls/comments/240197591","pull_request_review_id":183169623,"id":240197591,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDE5NzU5MQ==","diff_hunk":"@@ -0,0 +1,15 @@\n+package bandwidth\n+\n+import (\n+\tsdk \"github.com/cosmos/cosmos-sdk/types\"\n+\t\"github.com/cybercongress/cyberd/x/link\"\n+)\n+\n+func MsgBandwidthCost(msg sdk.Msg) int64 {\n+\tswitch msg.(type) {\n+\tcase link.MsgLink:","path":"x/bandwidth/cost.go","position":10,"original_position":10,"commit_id":"710c1213ec71bc036580a7275a741b9c7356f975","original_commit_id":"710c1213ec71bc036580a7275a741b9c7356f975","user":{"login":"hleb-albau","id":2991991,"node_id":"MDQ6VXNlcjI5OTE5OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2991991?v=4","gravatar_id":"","url":"https://api.github.com/users/hleb-albau","html_url":"https://github.com/hleb-albau","followers_url":"https://api.github.com/users/hleb-albau/followers","following_url":"https://api.github.com/users/hleb-albau/following{/other_user}","gists_url":"https://api.github.com/users/hleb-albau/gists{/gist_id}","starred_url":"https://api.github.com/users/hleb-albau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hleb-albau/subscriptions","organizations_url":"https://api.github.com/users/hleb-albau/orgs","repos_url":"https://api.github.com/users/hleb-albau/repos","events_url":"https://api.github.com/users/hleb-albau/events{/privacy}","received_events_url":"https://api.github.com/users/hleb-albau/received_events","type":"User","site_admin":false},"body":"link.Msg","created_at":"2018-12-10T12:52:11Z","updated_at":"2018-12-10T12:52:12Z","html_url":"https://github.com/cybercongress/cyberd/pull/107#discussion_r240197591","pull_request_url":"https://api.github.com/repos/cybercongress/cyberd/pulls/107","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/cybercongress/cyberd/pulls/comments/240197591"},"html":{"href":"https://github.com/cybercongress/cyberd/pull/107#discussion_r240197591"},"pull_request":{"href":"https://api.github.com/repos/cybercongress/cyberd/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/cybercongress/cyberd/pulls/107","id":237305822,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MzA1ODIy","html_url":"https://github.com/cybercongress/cyberd/pull/107","diff_url":"https://github.com/cybercongress/cyberd/pull/107.diff","patch_url":"https://github.com/cybercongress/cyberd/pull/107.patch","issue_url":"https://api.github.com/repos/cybercongress/cyberd/issues/107","number":107,"state":"open","locked":false,"title":"Add bandwidth by stake","user":{"login":"arturalbov","id":7107023,"node_id":"MDQ6VXNlcjcxMDcwMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/7107023?v=4","gravatar_id":"","url":"https://api.github.com/users/arturalbov","html_url":"https://github.com/arturalbov","followers_url":"https://api.github.com/users/arturalbov/followers","following_url":"https://api.github.com/users/arturalbov/following{/other_user}","gists_url":"https://api.github.com/users/arturalbov/gists{/gist_id}","starred_url":"https://api.github.com/users/arturalbov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturalbov/subscriptions","organizations_url":"https://api.github.com/users/arturalbov/orgs","repos_url":"https://api.github.com/users/arturalbov/repos","events_url":"https://api.github.com/users/arturalbov/events{/privacy}","received_events_url":"https://api.github.com/users/arturalbov/received_events","type":"User","site_admin":false},"body":"Add bandwidth by stake:\r\n- Without price regulation\r\n- Not tested","created_at":"2018-12-10T12:40:10Z","updated_at":"2018-12-10T12:52:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ba1033b711f88e2e19b3e388c33e50895fdda95","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cybercongress/cyberd/pulls/107/commits","review_comments_url":"https://api.github.com/repos/cybercongress/cyberd/pulls/107/comments","review_comment_url":"https://api.github.com/repos/cybercongress/cyberd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cybercongress/cyberd/issues/107/comments","statuses_url":"https://api.github.com/repos/cybercongress/cyberd/statuses/710c1213ec71bc036580a7275a741b9c7356f975","head":{"label":"cybercongress:77_bandwidth","ref":"77_bandwidth","sha":"710c1213ec71bc036580a7275a741b9c7356f975","user":{"login":"cybercongress","id":37237773,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjM3Nzcz","avatar_url":"https://avatars0.githubusercontent.com/u/37237773?v=4","gravatar_id":"","url":"https://api.github.com/users/cybercongress","html_url":"https://github.com/cybercongress","followers_url":"https://api.github.com/users/cybercongress/followers","following_url":"https://api.github.com/users/cybercongress/following{/other_user}","gists_url":"https://api.github.com/users/cybercongress/gists{/gist_id}","starred_url":"https://api.github.com/users/cybercongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybercongress/subscriptions","organizations_url":"https://api.github.com/users/cybercongress/orgs","repos_url":"https://api.github.com/users/cybercongress/repos","events_url":"https://api.github.com/users/cybercongress/events{/privacy}","received_events_url":"https://api.github.com/users/cybercongress/received_events","type":"Organization","site_admin":false},"repo":{"id":123866297,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM4NjYyOTc=","name":"cyberd","full_name":"cybercongress/cyberd","private":false,"owner":{"login":"cybercongress","id":37237773,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjM3Nzcz","avatar_url":"https://avatars0.githubusercontent.com/u/37237773?v=4","gravatar_id":"","url":"https://api.github.com/users/cybercongress","html_url":"https://github.com/cybercongress","followers_url":"https://api.github.com/users/cybercongress/followers","following_url":"https://api.github.com/users/cybercongress/following{/other_user}","gists_url":"https://api.github.com/users/cybercongress/gists{/gist_id}","starred_url":"https://api.github.com/users/cybercongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybercongress/subscriptions","organizations_url":"https://api.github.com/users/cybercongress/orgs","repos_url":"https://api.github.com/users/cybercongress/repos","events_url":"https://api.github.com/users/cybercongress/events{/privacy}","received_events_url":"https://api.github.com/users/cybercongress/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cybercongress/cyberd","description":"⛓Search consensus computer","fork":false,"url":"https://api.github.com/repos/cybercongress/cyberd","forks_url":"https://api.github.com/repos/cybercongress/cyberd/forks","keys_url":"https://api.github.com/repos/cybercongress/cyberd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cybercongress/cyberd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cybercongress/cyberd/teams","hooks_url":"https://api.github.com/repos/cybercongress/cyberd/hooks","issue_events_url":"https://api.github.com/repos/cybercongress/cyberd/issues/events{/number}","events_url":"https://api.github.com/repos/cybercongress/cyberd/events","assignees_url":"https://api.github.com/repos/cybercongress/cyberd/assignees{/user}","branches_url":"https://api.github.com/repos/cybercongress/cyberd/branches{/branch}","tags_url":"https://api.github.com/repos/cybercongress/cyberd/tags","blobs_url":"https://api.github.com/repos/cybercongress/cyberd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cybercongress/cyberd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cybercongress/cyberd/git/refs{/sha}","trees_url":"https://api.github.com/repos/cybercongress/cyberd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cybercongress/cyberd/statuses/{sha}","languages_url":"https://api.github.com/repos/cybercongress/cyberd/languages","stargazers_url":"https://api.github.com/repos/cybercongress/cyberd/stargazers","contributors_url":"https://api.github.com/repos/cybercongress/cyberd/contributors","subscribers_url":"https://api.github.com/repos/cybercongress/cyberd/subscribers","subscription_url":"https://api.github.com/repos/cybercongress/cyberd/subscription","commits_url":"https://api.github.com/repos/cybercongress/cyberd/commits{/sha}","git_commits_url":"https://api.github.com/repos/cybercongress/cyberd/git/commits{/sha}","comments_url":"https://api.github.com/repos/cybercongress/cyberd/comments{/number}","issue_comment_url":"https://api.github.com/repos/cybercongress/cyberd/issues/comments{/number}","contents_url":"https://api.github.com/repos/cybercongress/cyberd/contents/{+path}","compare_url":"https://api.github.com/repos/cybercongress/cyberd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cybercongress/cyberd/merges","archive_url":"https://api.github.com/repos/cybercongress/cyberd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cybercongress/cyberd/downloads","issues_url":"https://api.github.com/repos/cybercongress/cyberd/issues{/number}","pulls_url":"https://api.github.com/repos/cybercongress/cyberd/pulls{/number}","milestones_url":"https://api.github.com/repos/cybercongress/cyberd/milestones{/number}","notifications_url":"https://api.github.com/repos/cybercongress/cyberd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cybercongress/cyberd/labels{/name}","releases_url":"https://api.github.com/repos/cybercongress/cyberd/releases{/id}","deployments_url":"https://api.github.com/repos/cybercongress/cyberd/deployments","created_at":"2018-03-05T04:51:35Z","updated_at":"2018-12-08T13:14:31Z","pushed_at":"2018-12-10T12:40:11Z","git_url":"git://github.com/cybercongress/cyberd.git","ssh_url":"git@github.com:cybercongress/cyberd.git","clone_url":"https://github.com/cybercongress/cyberd.git","svn_url":"https://github.com/cybercongress/cyberd","homepage":"","size":1721,"stargazers_count":13,"watchers_count":13,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":0,"open_issues":35,"watchers":13,"default_branch":"master"}},"base":{"label":"cybercongress:master","ref":"master","sha":"9d6605f2e989757fe3489085556faed0f20f2361","user":{"login":"cybercongress","id":37237773,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjM3Nzcz","avatar_url":"https://avatars0.githubusercontent.com/u/37237773?v=4","gravatar_id":"","url":"https://api.github.com/users/cybercongress","html_url":"https://github.com/cybercongress","followers_url":"https://api.github.com/users/cybercongress/followers","following_url":"https://api.github.com/users/cybercongress/following{/other_user}","gists_url":"https://api.github.com/users/cybercongress/gists{/gist_id}","starred_url":"https://api.github.com/users/cybercongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybercongress/subscriptions","organizations_url":"https://api.github.com/users/cybercongress/orgs","repos_url":"https://api.github.com/users/cybercongress/repos","events_url":"https://api.github.com/users/cybercongress/events{/privacy}","received_events_url":"https://api.github.com/users/cybercongress/received_events","type":"Organization","site_admin":false},"repo":{"id":123866297,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM4NjYyOTc=","name":"cyberd","full_name":"cybercongress/cyberd","private":false,"owner":{"login":"cybercongress","id":37237773,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjM3Nzcz","avatar_url":"https://avatars0.githubusercontent.com/u/37237773?v=4","gravatar_id":"","url":"https://api.github.com/users/cybercongress","html_url":"https://github.com/cybercongress","followers_url":"https://api.github.com/users/cybercongress/followers","following_url":"https://api.github.com/users/cybercongress/following{/other_user}","gists_url":"https://api.github.com/users/cybercongress/gists{/gist_id}","starred_url":"https://api.github.com/users/cybercongress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybercongress/subscriptions","organizations_url":"https://api.github.com/users/cybercongress/orgs","repos_url":"https://api.github.com/users/cybercongress/repos","events_url":"https://api.github.com/users/cybercongress/events{/privacy}","received_events_url":"https://api.github.com/users/cybercongress/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cybercongress/cyberd","description":"⛓Search consensus computer","fork":false,"url":"https://api.github.com/repos/cybercongress/cyberd","forks_url":"https://api.github.com/repos/cybercongress/cyberd/forks","keys_url":"https://api.github.com/repos/cybercongress/cyberd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cybercongress/cyberd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cybercongress/cyberd/teams","hooks_url":"https://api.github.com/repos/cybercongress/cyberd/hooks","issue_events_url":"https://api.github.com/repos/cybercongress/cyberd/issues/events{/number}","events_url":"https://api.github.com/repos/cybercongress/cyberd/events","assignees_url":"https://api.github.com/repos/cybercongress/cyberd/assignees{/user}","branches_url":"https://api.github.com/repos/cybercongress/cyberd/branches{/branch}","tags_url":"https://api.github.com/repos/cybercongress/cyberd/tags","blobs_url":"https://api.github.com/repos/cybercongress/cyberd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cybercongress/cyberd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cybercongress/cyberd/git/refs{/sha}","trees_url":"https://api.github.com/repos/cybercongress/cyberd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cybercongress/cyberd/statuses/{sha}","languages_url":"https://api.github.com/repos/cybercongress/cyberd/languages","stargazers_url":"https://api.github.com/repos/cybercongress/cyberd/stargazers","contributors_url":"https://api.github.com/repos/cybercongress/cyberd/contributors","subscribers_url":"https://api.github.com/repos/cybercongress/cyberd/subscribers","subscription_url":"https://api.github.com/repos/cybercongress/cyberd/subscription","commits_url":"https://api.github.com/repos/cybercongress/cyberd/commits{/sha}","git_commits_url":"https://api.github.com/repos/cybercongress/cyberd/git/commits{/sha}","comments_url":"https://api.github.com/repos/cybercongress/cyberd/comments{/number}","issue_comment_url":"https://api.github.com/repos/cybercongress/cyberd/issues/comments{/number}","contents_url":"https://api.github.com/repos/cybercongress/cyberd/contents/{+path}","compare_url":"https://api.github.com/repos/cybercongress/cyberd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cybercongress/cyberd/merges","archive_url":"https://api.github.com/repos/cybercongress/cyberd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cybercongress/cyberd/downloads","issues_url":"https://api.github.com/repos/cybercongress/cyberd/issues{/number}","pulls_url":"https://api.github.com/repos/cybercongress/cyberd/pulls{/number}","milestones_url":"https://api.github.com/repos/cybercongress/cyberd/milestones{/number}","notifications_url":"https://api.github.com/repos/cybercongress/cyberd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cybercongress/cyberd/labels{/name}","releases_url":"https://api.github.com/repos/cybercongress/cyberd/releases{/id}","deployments_url":"https://api.github.com/repos/cybercongress/cyberd/deployments","created_at":"2018-03-05T04:51:35Z","updated_at":"2018-12-08T13:14:31Z","pushed_at":"2018-12-10T12:40:11Z","git_url":"git://github.com/cybercongress/cyberd.git","ssh_url":"git@github.com:cybercongress/cyberd.git","clone_url":"https://github.com/cybercongress/cyberd.git","svn_url":"https://github.com/cybercongress/cyberd","homepage":"","size":1721,"stargazers_count":13,"watchers_count":13,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":0,"open_issues":35,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cybercongress/cyberd/pulls/107"},"html":{"href":"https://github.com/cybercongress/cyberd/pull/107"},"issue":{"href":"https://api.github.com/repos/cybercongress/cyberd/issues/107"},"comments":{"href":"https://api.github.com/repos/cybercongress/cyberd/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/cybercongress/cyberd/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/cybercongress/cyberd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cybercongress/cyberd/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/cybercongress/cyberd/statuses/710c1213ec71bc036580a7275a741b9c7356f975"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hleb-albau"}}