{"action":"closed","number":2203,"pull_request":{"url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2203","id":232238521,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMjM4NTIx","html_url":"https://github.com/lightningnetwork/lnd/pull/2203","diff_url":"https://github.com/lightningnetwork/lnd/pull/2203.diff","patch_url":"https://github.com/lightningnetwork/lnd/pull/2203.patch","issue_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/2203","number":2203,"state":"closed","locked":false,"title":"htlcswitch+config+server: adding RejectHTLC flag","user":{"login":"ccdle12","id":18324680,"node_id":"MDQ6VXNlcjE4MzI0Njgw","avatar_url":"https://avatars2.githubusercontent.com/u/18324680?v=4","gravatar_id":"","url":"https://api.github.com/users/ccdle12","html_url":"https://github.com/ccdle12","followers_url":"https://api.github.com/users/ccdle12/followers","following_url":"https://api.github.com/users/ccdle12/following{/other_user}","gists_url":"https://api.github.com/users/ccdle12/gists{/gist_id}","starred_url":"https://api.github.com/users/ccdle12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccdle12/subscriptions","organizations_url":"https://api.github.com/users/ccdle12/orgs","repos_url":"https://api.github.com/users/ccdle12/repos","events_url":"https://api.github.com/users/ccdle12/events{/privacy}","received_events_url":"https://api.github.com/users/ccdle12/received_events","type":"User","site_admin":false},"body":"In this PR, we add a flag to the command line config `--rejecthtlc` and a \r\nfield in the HTLC Switch config `RejectHTLC bool`.\r\n\r\nThe user should be able to start lnd with the `--rejecthtlc` flag which will\r\nmean that lnd will reject any onward HTLCs. The switch will still allow receiving\r\nHTLCs meant for the node and can still send HTLCs.\r\n\r\nfixes #1298 and #2109\r\n\r\n","created_at":"2018-11-20T09:04:28Z","updated_at":"2019-08-26T12:53:33Z","closed_at":"2019-08-26T12:53:33Z","merged_at":"2019-08-26T12:53:33Z","merge_commit_sha":"9ef66f568f6aa6bd4c7ac2571b2641dd8aff62bc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":990013523,"node_id":"MDU6TGFiZWw5OTAwMTM1MjM=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/P3","name":"P3","color":"0e8a16","default":false},{"id":886759955,"node_id":"MDU6TGFiZWw4ODY3NTk5NTU=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/htlcswitch","name":"htlcswitch","color":"92dd6c","default":false},{"id":990064221,"node_id":"MDU6TGFiZWw5OTAwNjQyMjE=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/needs%20review","name":"needs review","color":"d4c5f9","default":false},{"id":893339768,"node_id":"MDU6TGFiZWw4OTMzMzk3Njg=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/server","name":"server","color":"4488bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2203/commits","review_comments_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2203/comments","review_comment_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/2203/comments","statuses_url":"https://api.github.com/repos/lightningnetwork/lnd/statuses/05d0d028bcd5cbdac226b4f5175dd94c230234c1","head":{"label":"ccdle12:reject-htlc-option","ref":"reject-htlc-option","sha":"05d0d028bcd5cbdac226b4f5175dd94c230234c1","user":{"login":"ccdle12","id":18324680,"node_id":"MDQ6VXNlcjE4MzI0Njgw","avatar_url":"https://avatars2.githubusercontent.com/u/18324680?v=4","gravatar_id":"","url":"https://api.github.com/users/ccdle12","html_url":"https://github.com/ccdle12","followers_url":"https://api.github.com/users/ccdle12/followers","following_url":"https://api.github.com/users/ccdle12/following{/other_user}","gists_url":"https://api.github.com/users/ccdle12/gists{/gist_id}","starred_url":"https://api.github.com/users/ccdle12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccdle12/subscriptions","organizations_url":"https://api.github.com/users/ccdle12/orgs","repos_url":"https://api.github.com/users/ccdle12/repos","events_url":"https://api.github.com/users/ccdle12/events{/privacy}","received_events_url":"https://api.github.com/users/ccdle12/received_events","type":"User","site_admin":false},"repo":{"id":144176245,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxNzYyNDU=","name":"lnd","full_name":"ccdle12/lnd","private":false,"owner":{"login":"ccdle12","id":18324680,"node_id":"MDQ6VXNlcjE4MzI0Njgw","avatar_url":"https://avatars2.githubusercontent.com/u/18324680?v=4","gravatar_id":"","url":"https://api.github.com/users/ccdle12","html_url":"https://github.com/ccdle12","followers_url":"https://api.github.com/users/ccdle12/followers","following_url":"https://api.github.com/users/ccdle12/following{/other_user}","gists_url":"https://api.github.com/users/ccdle12/gists{/gist_id}","starred_url":"https://api.github.com/users/ccdle12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccdle12/subscriptions","organizations_url":"https://api.github.com/users/ccdle12/orgs","repos_url":"https://api.github.com/users/ccdle12/repos","events_url":"https://api.github.com/users/ccdle12/events{/privacy}","received_events_url":"https://api.github.com/users/ccdle12/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ccdle12/lnd","description":"Lightning Network Daemon ⚡️","fork":true,"url":"https://api.github.com/repos/ccdle12/lnd","forks_url":"https://api.github.com/repos/ccdle12/lnd/forks","keys_url":"https://api.github.com/repos/ccdle12/lnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ccdle12/lnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ccdle12/lnd/teams","hooks_url":"https://api.github.com/repos/ccdle12/lnd/hooks","issue_events_url":"https://api.github.com/repos/ccdle12/lnd/issues/events{/number}","events_url":"https://api.github.com/repos/ccdle12/lnd/events","assignees_url":"https://api.github.com/repos/ccdle12/lnd/assignees{/user}","branches_url":"https://api.github.com/repos/ccdle12/lnd/branches{/branch}","tags_url":"https://api.github.com/repos/ccdle12/lnd/tags","blobs_url":"https://api.github.com/repos/ccdle12/lnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ccdle12/lnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ccdle12/lnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/ccdle12/lnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ccdle12/lnd/statuses/{sha}","languages_url":"https://api.github.com/repos/ccdle12/lnd/languages","stargazers_url":"https://api.github.com/repos/ccdle12/lnd/stargazers","contributors_url":"https://api.github.com/repos/ccdle12/lnd/contributors","subscribers_url":"https://api.github.com/repos/ccdle12/lnd/subscribers","subscription_url":"https://api.github.com/repos/ccdle12/lnd/subscription","commits_url":"https://api.github.com/repos/ccdle12/lnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/ccdle12/lnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/ccdle12/lnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/ccdle12/lnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/ccdle12/lnd/contents/{+path}","compare_url":"https://api.github.com/repos/ccdle12/lnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ccdle12/lnd/merges","archive_url":"https://api.github.com/repos/ccdle12/lnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ccdle12/lnd/downloads","issues_url":"https://api.github.com/repos/ccdle12/lnd/issues{/number}","pulls_url":"https://api.github.com/repos/ccdle12/lnd/pulls{/number}","milestones_url":"https://api.github.com/repos/ccdle12/lnd/milestones{/number}","notifications_url":"https://api.github.com/repos/ccdle12/lnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ccdle12/lnd/labels{/name}","releases_url":"https://api.github.com/repos/ccdle12/lnd/releases{/id}","deployments_url":"https://api.github.com/repos/ccdle12/lnd/deployments","created_at":"2018-08-09T16:11:55Z","updated_at":"2019-08-20T10:01:17Z","pushed_at":"2019-08-20T10:01:50Z","git_url":"git://github.com/ccdle12/lnd.git","ssh_url":"git@github.com:ccdle12/lnd.git","clone_url":"https://github.com/ccdle12/lnd.git","svn_url":"https://github.com/ccdle12/lnd","homepage":"","size":30588,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lightningnetwork:master","ref":"master","sha":"701244012a1c5a795cdfa7c1a925a775149de4c2","user":{"login":"lightningnetwork","id":13424735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDI0NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/13424735?v=4","gravatar_id":"","url":"https://api.github.com/users/lightningnetwork","html_url":"https://github.com/lightningnetwork","followers_url":"https://api.github.com/users/lightningnetwork/followers","following_url":"https://api.github.com/users/lightningnetwork/following{/other_user}","gists_url":"https://api.github.com/users/lightningnetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/lightningnetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightningnetwork/subscriptions","organizations_url":"https://api.github.com/users/lightningnetwork/orgs","repos_url":"https://api.github.com/users/lightningnetwork/repos","events_url":"https://api.github.com/users/lightningnetwork/events{/privacy}","received_events_url":"https://api.github.com/users/lightningnetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":49765480,"node_id":"MDEwOlJlcG9zaXRvcnk0OTc2NTQ4MA==","name":"lnd","full_name":"lightningnetwork/lnd","private":false,"owner":{"login":"lightningnetwork","id":13424735,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDI0NzM1","avatar_url":"https://avatars0.githubusercontent.com/u/13424735?v=4","gravatar_id":"","url":"https://api.github.com/users/lightningnetwork","html_url":"https://github.com/lightningnetwork","followers_url":"https://api.github.com/users/lightningnetwork/followers","following_url":"https://api.github.com/users/lightningnetwork/following{/other_user}","gists_url":"https://api.github.com/users/lightningnetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/lightningnetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightningnetwork/subscriptions","organizations_url":"https://api.github.com/users/lightningnetwork/orgs","repos_url":"https://api.github.com/users/lightningnetwork/repos","events_url":"https://api.github.com/users/lightningnetwork/events{/privacy}","received_events_url":"https://api.github.com/users/lightningnetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/lightningnetwork/lnd","description":"Lightning Network Daemon ⚡️","fork":false,"url":"https://api.github.com/repos/lightningnetwork/lnd","forks_url":"https://api.github.com/repos/lightningnetwork/lnd/forks","keys_url":"https://api.github.com/repos/lightningnetwork/lnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lightningnetwork/lnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lightningnetwork/lnd/teams","hooks_url":"https://api.github.com/repos/lightningnetwork/lnd/hooks","issue_events_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/events{/number}","events_url":"https://api.github.com/repos/lightningnetwork/lnd/events","assignees_url":"https://api.github.com/repos/lightningnetwork/lnd/assignees{/user}","branches_url":"https://api.github.com/repos/lightningnetwork/lnd/branches{/branch}","tags_url":"https://api.github.com/repos/lightningnetwork/lnd/tags","blobs_url":"https://api.github.com/repos/lightningnetwork/lnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lightningnetwork/lnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lightningnetwork/lnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/lightningnetwork/lnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lightningnetwork/lnd/statuses/{sha}","languages_url":"https://api.github.com/repos/lightningnetwork/lnd/languages","stargazers_url":"https://api.github.com/repos/lightningnetwork/lnd/stargazers","contributors_url":"https://api.github.com/repos/lightningnetwork/lnd/contributors","subscribers_url":"https://api.github.com/repos/lightningnetwork/lnd/subscribers","subscription_url":"https://api.github.com/repos/lightningnetwork/lnd/subscription","commits_url":"https://api.github.com/repos/lightningnetwork/lnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/lightningnetwork/lnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/lightningnetwork/lnd/contents/{+path}","compare_url":"https://api.github.com/repos/lightningnetwork/lnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lightningnetwork/lnd/merges","archive_url":"https://api.github.com/repos/lightningnetwork/lnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lightningnetwork/lnd/downloads","issues_url":"https://api.github.com/repos/lightningnetwork/lnd/issues{/number}","pulls_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls{/number}","milestones_url":"https://api.github.com/repos/lightningnetwork/lnd/milestones{/number}","notifications_url":"https://api.github.com/repos/lightningnetwork/lnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lightningnetwork/lnd/labels{/name}","releases_url":"https://api.github.com/repos/lightningnetwork/lnd/releases{/id}","deployments_url":"https://api.github.com/repos/lightningnetwork/lnd/deployments","created_at":"2016-01-16T08:19:33Z","updated_at":"2019-08-26T12:18:36Z","pushed_at":"2019-08-26T12:53:33Z","git_url":"git://github.com/lightningnetwork/lnd.git","ssh_url":"git@github.com:lightningnetwork/lnd.git","clone_url":"https://github.com/lightningnetwork/lnd.git","svn_url":"https://github.com/lightningnetwork/lnd","homepage":"","size":30625,"stargazers_count":4085,"watchers_count":4085,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1125,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":349,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1125,"open_issues":349,"watchers":4085,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2203"},"html":{"href":"https://github.com/lightningnetwork/lnd/pull/2203"},"issue":{"href":"https://api.github.com/repos/lightningnetwork/lnd/issues/2203"},"comments":{"href":"https://api.github.com/repos/lightningnetwork/lnd/issues/2203/comments"},"review_comments":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2203/comments"},"review_comment":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2203/commits"},"statuses":{"href":"https://api.github.com/repos/lightningnetwork/lnd/statuses/05d0d028bcd5cbdac226b4f5175dd94c230234c1"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"halseth","id":3765732,"node_id":"MDQ6VXNlcjM3NjU3MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/3765732?v=4","gravatar_id":"","url":"https://api.github.com/users/halseth","html_url":"https://github.com/halseth","followers_url":"https://api.github.com/users/halseth/followers","following_url":"https://api.github.com/users/halseth/following{/other_user}","gists_url":"https://api.github.com/users/halseth/gists{/gist_id}","starred_url":"https://api.github.com/users/halseth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halseth/subscriptions","organizations_url":"https://api.github.com/users/halseth/orgs","repos_url":"https://api.github.com/users/halseth/repos","events_url":"https://api.github.com/users/halseth/events{/privacy}","received_events_url":"https://api.github.com/users/halseth/received_events","type":"User","site_admin":false},"comments":2,"review_comments":10,"maintainer_can_modify":false,"commits":1,"additions":183,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"halseth"}}