{"action":"created","comment":{"url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments/239286953","pull_request_review_id":182034336,"id":239286953,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTI4Njk1Mw==","diff_hunk":"@@ -0,0 +1,360 @@\n+// +build walletrpc\n+\n+package walletrpc\n+\n+import (\n+\t\"bytes\"\n+\tfmt \"fmt\"\n+\t\"io/ioutil\"\n+\t\"os\"\n+\t\"path/filepath\"\n+\t\"sync/atomic\"\n+\n+\t\"github.com/btcsuite/btcd/wire\"\n+\t\"github.com/lightningnetwork/lnd/keychain\"\n+\t\"github.com/lightningnetwork/lnd/lnrpc\"\n+\tsignrpc \"github.com/lightningnetwork/lnd/lnrpc/signrpc\"\n+\t\"github.com/lightningnetwork/lnd/lnwallet\"\n+\tcontext \"golang.org/x/net/context\"\n+\tgrpc \"google.golang.org/grpc\"\n+\t\"gopkg.in/macaroon-bakery.v2/bakery\"\n+)\n+\n+const (\n+\t// subServerName is the name of the sub rpc server. We'll use this name\n+\t// to register ourselves, and we also require that the main\n+\t// SubServerConfigDispatcher instance recognize as the name of our\n+\tsubServerName = \"WalletKitRPC\"\n+)\n+\n+var (\n+\t// macaroonOps are the set of capabilities that our minted macaroon (if\n+\t// it doesn't already exist) will have.\n+\tmacaroonOps = []bakery.Op{\n+\t\t{\n+\t\t\tEntity: \"address\",\n+\t\t\tAction: \"write\",\n+\t\t},\n+\t\t{\n+\t\t\tEntity: \"address\",\n+\t\t\tAction: \"read\",\n+\t\t},\n+\t\t{\n+\t\t\tEntity: \"onchain\",\n+\t\t\tAction: \"write\",\n+\t\t},\n+\t\t{\n+\t\t\tEntity: \"onchain\",\n+\t\t\tAction: \"read\",\n+\t\t},\n+\t}\n+\n+\t// macPermissions maps RPC calls to the permissions they require.\n+\tmacPermissions = map[string][]bakery.Op{\n+\t\t\"/walletrpc.WalletKit/DeriveNextKey\": {{\n+\t\t\tEntity: \"address\",\n+\t\t\tAction: \"read\",\n+\t\t}},\n+\t\t\"/walletrpc.WalletKit/DeriveKey\": {{\n+\t\t\tEntity: \"address\",\n+\t\t\tAction: \"read\",\n+\t\t}},\n+\t\t\"/walletrpc.WalletKit/NextAddr\": {{\n+\t\t\tEntity: \"address\",\n+\t\t\tAction: \"read\",\n+\t\t}},\n+\t\t\"/walletrpc.WalletKit/PublishTransaction\": {{\n+\t\t\tEntity: \"onchain\",\n+\t\t\tAction: \"write\",\n+\t\t}},\n+\t\t\"/walletrpc.WalletKit/SendOutputs\": {{\n+\t\t\tEntity: \"onchain\",\n+\t\t\tAction: \"write\",\n+\t\t}},\n+\t\t\"/walletrpc.WalletKit/EstimateFee\": {{\n+\t\t\tEntity: \"onchain\",\n+\t\t\tAction: \"read\",\n+\t\t}},\n+\t}\n+\n+\t// DefaultWalletKitMacFilename is the default name of the wallet kit\n+\t// macaroon that we expect to find via a file handle within the main\n+\t// configuration file in this package.\n+\tDefaultWalletKitMacFilename = \"walletkit.macaroon\"\n+)\n+\n+// WalletKit is a sub-RPC server that exposes a tool kit which allows clients\n+// to execute common wallet operations. This includes requesting new addresses,\n+// keys (for contracts!), and publishing transactions.\n+type WalletKit struct {\n+\tstarted  int32 // To be used atomically.\n+\tshutdown int32 // To be used atomically.\n+\n+\tcfg *Config\n+\n+\tquit chan struct{}\n+}\n+\n+// A compile time check to ensure that WalletKit fully implements the\n+// WalletKitServer gRPC service.\n+var _ WalletKitServer = (*WalletKit)(nil)\n+\n+// fileExists reports whether the named file or directory exists.\n+func fileExists(name string) bool {\n+\tif _, err := os.Stat(name); err != nil {\n+\t\tif os.IsNotExist(err) {\n+\t\t\treturn false\n+\t\t}\n+\t}\n+\treturn true\n+}\n+\n+// New creates a new instance of the WalletKit sub-RPC server.\n+func New(cfg *Config) (*WalletKit, lnrpc.MacaroonPerms, error) {\n+\t// If the path of the wallet kit macaroon wasn't specified, then we'll\n+\t// assume that it's found at the default network directory.\n+\tif cfg.WalletKitMacPath == \"\" {\n+\t\tcfg.WalletKitMacPath = filepath.Join(\n+\t\t\tcfg.NetworkDir, DefaultWalletKitMacFilename,\n+\t\t)\n+\t}\n+\n+\t// Now that we know the full path of the wallet kit macaroon, we can\n+\t// check to see if we need to create it or not.\n+\tmacFilePath := cfg.WalletKitMacPath\n+\tif !fileExists(macFilePath) && cfg.MacService != nil {\n+\t\tlog.Infof(\"Making macaroons for WaleltKit RPC Server at: %v\",\n+\t\t\tmacFilePath)\n+\n+\t\t// At this point, we know that the wallet kit macaroon doesn't\n+\t\t// yet, exist, so we need to create it with the help of the\n+\t\t// main macaroon service.\n+\t\twalletKitMac, err := cfg.MacService.Oven.NewMacaroon(\n+\t\t\tcontext.Background(), bakery.LatestVersion, nil,\n+\t\t\tmacaroonOps...,\n+\t\t)\n+\t\tif err != nil {\n+\t\t\treturn nil, nil, err\n+\t\t}\n+\t\twalletKitMacBytes, err := walletKitMac.M().MarshalBinary()\n+\t\tif err != nil {\n+\t\t\treturn nil, nil, err\n+\t\t}\n+\t\terr = ioutil.WriteFile(macFilePath, walletKitMacBytes, 0644)\n+\t\tif err != nil {\n+\t\t\tos.Remove(macFilePath)\n+\t\t\treturn nil, nil, err\n+\t\t}\n+\t}\n+\n+\twalletKit := &WalletKit{\n+\t\tcfg:  cfg,\n+\t\tquit: make(chan struct{}),\n+\t}\n+\n+\treturn walletKit, macPermissions, nil\n+}\n+\n+// Start launches any helper goroutines required for the sub-server to function.\n+//\n+// NOTE: This is part of the lnrpc.SubServer interface.\n+func (w *WalletKit) Start() error {\n+\tif atomic.AddInt32(&w.started, 1) != 1 {\n+\t\treturn nil","path":"lnrpc/walletrpc/walletkit_server.go","position":163,"original_position":163,"commit_id":"60b597c8223be73369b51e7da2a95e634f3e2bc5","original_commit_id":"60b597c8223be73369b51e7da2a95e634f3e2bc5","user":{"login":"cfromknecht","id":2013993,"node_id":"MDQ6VXNlcjIwMTM5OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/2013993?v=4","gravatar_id":"","url":"https://api.github.com/users/cfromknecht","html_url":"https://github.com/cfromknecht","followers_url":"https://api.github.com/users/cfromknecht/followers","following_url":"https://api.github.com/users/cfromknecht/following{/other_user}","gists_url":"https://api.github.com/users/cfromknecht/gists{/gist_id}","starred_url":"https://api.github.com/users/cfromknecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfromknecht/subscriptions","organizations_url":"https://api.github.com/users/cfromknecht/orgs","repos_url":"https://api.github.com/users/cfromknecht/repos","events_url":"https://api.github.com/users/cfromknecht/events{/privacy}","received_events_url":"https://api.github.com/users/cfromknecht/received_events","type":"User","site_admin":false},"body":"`Start()` can just return nil","created_at":"2018-12-06T00:11:57Z","updated_at":"2018-12-06T00:13:21Z","html_url":"https://github.com/lightningnetwork/lnd/pull/2093#discussion_r239286953","pull_request_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments/239286953"},"html":{"href":"https://github.com/lightningnetwork/lnd/pull/2093#discussion_r239286953"},"pull_request":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093"}}},"pull_request":{"url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093","id":225605832,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NjA1ODMy","html_url":"https://github.com/lightningnetwork/lnd/pull/2093","diff_url":"https://github.com/lightningnetwork/lnd/pull/2093.diff","patch_url":"https://github.com/lightningnetwork/lnd/pull/2093.patch","issue_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/2093","number":2093,"state":"open","locked":false,"title":"lnrpc: add new WalletKit sub-RPC server","user":{"login":"Roasbeef","id":998190,"node_id":"MDQ6VXNlcjk5ODE5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/998190?v=4","gravatar_id":"","url":"https://api.github.com/users/Roasbeef","html_url":"https://github.com/Roasbeef","followers_url":"https://api.github.com/users/Roasbeef/followers","following_url":"https://api.github.com/users/Roasbeef/following{/other_user}","gists_url":"https://api.github.com/users/Roasbeef/gists{/gist_id}","starred_url":"https://api.github.com/users/Roasbeef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roasbeef/subscriptions","organizations_url":"https://api.github.com/users/Roasbeef/orgs","repos_url":"https://api.github.com/users/Roasbeef/repos","events_url":"https://api.github.com/users/Roasbeef/events{/privacy}","received_events_url":"https://api.github.com/users/Roasbeef/received_events","type":"User","site_admin":false},"body":"In this PR, we add a new sub-RPC server to the existing set of gRPC\r\nservers. This new sub-RPC server is the WalletKit. It's a utility\r\ntoolkit that contains method which allow clients to perform common\r\ninteractions with a wallet such as getting a new address, or sending a\r\ntransaction. It also includes some supplementary actions such as fee\r\nestimation.\r\n\r\nOne thing to note in the RPC file is that we _import_ the existing\r\nsigner.proto file in order to get at some existing proto definitions\r\nwhich are useful in our use case.\r\n\r\n\r\nDepends on #2081.","created_at":"2018-10-25T02:35:14Z","updated_at":"2018-12-06T00:13:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c62251f4b6e35d8c829e63f1f5330e93063dcfbe","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":990013318,"node_id":"MDU6TGFiZWw5OTAwMTMzMTg=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/P2","name":"P2","color":"fbca04","default":false},{"id":312148187,"node_id":"MDU6TGFiZWwzMTIxNDgxODc=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":431223159,"node_id":"MDU6TGFiZWw0MzEyMjMxNTk=","url":"https://api.github.com/repos/lightningnetwork/lnd/labels/gRPC","name":"gRPC","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093/commits","review_comments_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093/comments","review_comment_url":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/2093/comments","statuses_url":"https://api.github.com/repos/lightningnetwork/lnd/statuses/60b597c8223be73369b51e7da2a95e634f3e2bc5","head":{"label":"Roasbeef:walletkit-service","ref":"walletkit-service","sha":"60b597c8223be73369b51e7da2a95e634f3e2bc5","user":{"login":"Roasbeef","id":998190,"node_id":"MDQ6VXNlcjk5ODE5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/998190?v=4","gravatar_id":"","url":"https://api.github.com/users/Roasbeef","html_url":"https://github.com/Roasbeef","followers_url":"https://api.github.com/users/Roasbeef/followers","following_url":"https://api.github.com/users/Roasbeef/following{/other_user}","gists_url":"https://api.github.com/users/Roasbeef/gists{/gist_id}","starred_url":"https://api.github.com/users/Roasbeef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roasbeef/subscriptions","organizations_url":"https://api.github.com/users/Roasbeef/orgs","repos_url":"https://api.github.com/users/Roasbeef/repos","events_url":"https://api.github.com/users/Roasbeef/events{/privacy}","received_events_url":"https://api.github.com/users/Roasbeef/received_events","type":"User","site_admin":false},"repo":{"id":112244823,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIyNDQ4MjM=","name":"lnd","full_name":"Roasbeef/lnd","private":false,"owner":{"login":"Roasbeef","id":998190,"node_id":"MDQ6VXNlcjk5ODE5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/998190?v=4","gravatar_id":"","url":"https://api.github.com/users/Roasbeef","html_url":"https://github.com/Roasbeef","followers_url":"https://api.github.com/users/Roasbeef/followers","following_url":"https://api.github.com/users/Roasbeef/following{/other_user}","gists_url":"https://api.github.com/users/Roasbeef/gists{/gist_id}","starred_url":"https://api.github.com/users/Roasbeef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roasbeef/subscriptions","organizations_url":"https://api.github.com/users/Roasbeef/orgs","repos_url":"https://api.github.com/users/Roasbeef/repos","events_url":"https://api.github.com/users/Roasbeef/events{/privacy}","received_events_url":"https://api.github.com/users/Roasbeef/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Roasbeef/lnd","description":"Lightning Network Daemon ⚡️","fork":true,"url":"https://api.github.com/repos/Roasbeef/lnd","forks_url":"https://api.github.com/repos/Roasbeef/lnd/forks","keys_url":"https://api.github.com/repos/Roasbeef/lnd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Roasbeef/lnd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Roasbeef/lnd/teams","hooks_url":"https://api.github.com/repos/Roasbeef/lnd/hooks","issue_events_url":"https://api.github.com/repos/Roasbeef/lnd/issues/events{/number}","events_url":"https://api.github.com/repos/Roasbeef/lnd/events","assignees_url":"https://api.github.com/repos/Roasbeef/lnd/assignees{/user}","branches_url":"https://api.github.com/repos/Roasbeef/lnd/branches{/branch}","tags_url":"https://api.github.com/repos/Roasbeef/lnd/tags","blobs_url":"https://api.github.com/repos/Roasbeef/lnd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Roasbeef/lnd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Roasbeef/lnd/git/refs{/sha}","trees_url":"https://api.github.com/repos/Roasbeef/lnd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Roasbeef/lnd/statuses/{sha}","languages_url":"https://api.github.com/repos/Roasbeef/lnd/languages","stargazers_url":"https://api.github.com/repos/Roasbeef/lnd/stargazers","contributors_url":"https://api.github.com/repos/Roasbeef/lnd/contributors","subscribers_url":"https://api.github.com/repos/Roasbeef/lnd/subscribers","subscription_url":"https://api.github.com/repos/Roasbeef/lnd/subscription","commits_url":"https://api.github.com/repos/Roasbeef/lnd/commits{/sha}","git_commits_url":"https://api.github.com/repos/Roasbeef/lnd/git/commits{/sha}","comments_url":"https://api.github.com/repos/Roasbeef/lnd/comments{/number}","issue_comment_url":"https://api.github.com/repos/Roasbeef/lnd/issues/comments{/number}","contents_url":"https://api.github.com/repos/Roasbeef/lnd/contents/{+path}","compare_url":"https://api.github.com/repos/Roasbeef/lnd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Roasbeef/lnd/merges","archive_url":"https://api.github.com/repos/Roasbeef/lnd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Roasbeef/lnd/downloads","issues_url":"https://api.github.com/repos/Roasbeef/lnd/issues{/number}","pulls_url":"https://api.github.com/repos/Roasbeef/lnd/pulls{/number}","milestones_url":"https://api.github.com/repos/Roasbeef/lnd/milestones{/number}","notifications_url":"https://api.github.com/repos/Roasbeef/lnd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Roasbeef/lnd/labels{/name}","releases_url":"https://api.github.com/repos/Roasbeef/lnd/releases{/id}","deployments_url":"https://api.github.com/repos/Roasbeef/lnd/deployments","created_at":"2017-11-27T20:26:47Z","updated_at":"2017-11-27T20:26:49Z","pushed_at":"2018-12-05T23:58:53Z","git_url":"git://github.com/Roasbeef/lnd.git","ssh_url":"git@github.com:Roasbeef/lnd.git","clone_url":"https://github.com/Roasbeef/lnd.git","svn_url":"https://github.com/Roasbeef/lnd","homepage":"","size":23306,"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,"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":"349551373d7fd571c2a917908e7155c6c6f9706a","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":"2018-12-05T19:36:29Z","pushed_at":"2018-12-06T00:04:30Z","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":23782,"stargazers_count":3260,"watchers_count":3260,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":834,"mirror_url":null,"archived":false,"open_issues_count":326,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":834,"open_issues":326,"watchers":3260,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093"},"html":{"href":"https://github.com/lightningnetwork/lnd/pull/2093"},"issue":{"href":"https://api.github.com/repos/lightningnetwork/lnd/issues/2093"},"comments":{"href":"https://api.github.com/repos/lightningnetwork/lnd/issues/2093/comments"},"review_comments":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093/comments"},"review_comment":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lightningnetwork/lnd/pulls/2093/commits"},"statuses":{"href":"https://api.github.com/repos/lightningnetwork/lnd/statuses/60b597c8223be73369b51e7da2a95e634f3e2bc5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"cfromknecht"}}