Skip to content

rpcserver: add channels to GetNodeInfo response#2308

Merged
Roasbeef merged 1 commit intolightningnetwork:masterfrom
chokoboko:channels-in-getnodeinfo
May 24, 2019
Merged

rpcserver: add channels to GetNodeInfo response#2308
Roasbeef merged 1 commit intolightningnetwork:masterfrom
chokoboko:channels-in-getnodeinfo

Conversation

@chokoboko
Copy link
Contributor

This PR adds an array of ChannelEdges to GetNodeInfo response, with json_name "channels"

fixes #2287

@Roasbeef Roasbeef requested a review from halseth December 10, 2018 23:23
@Roasbeef Roasbeef added enhancement Improvements to existing features / behaviour graph needs review PR needs review by regular contributors needs testing PR hasn't yet been actively tested on testnet/mainnet labels Dec 10, 2018
@cfromknecht cfromknecht added this to the 0.7 milestone Apr 11, 2019
Copy link
Contributor

@halseth halseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty much looks good. Needs a rebase!

@chokoboko chokoboko force-pushed the channels-in-getnodeinfo branch from ac62fe4 to 0292610 Compare May 9, 2019 14:29
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chokoboko super stoked to finally have this feature!! some minor comments left in line, also will need a rebase

@chokoboko chokoboko force-pushed the channels-in-getnodeinfo branch from 0292610 to e47e65f Compare May 22, 2019 09:52
@cfromknecht
Copy link
Contributor

Thanks for the quick turnaround @chokoboko. IMO this is good to go, but it will conflict with #2312. To save everyone from extra rebases, I’ll ping once that’s landed so you can rebase on master and we can get a clean Travis run with the latest build fixes

@halseth
Copy link
Contributor

halseth commented May 23, 2019

@chokoboko can now be rebased! :)

@chokoboko chokoboko force-pushed the channels-in-getnodeinfo branch from e47e65f to 51dc422 Compare May 23, 2019 13:04
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!! 🍸

Copy link
Contributor

@wpaulino wpaulino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🥊

@Roasbeef Roasbeef merged commit 50f0ac5 into lightningnetwork:master May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvements to existing features / behaviour graph needs review PR needs review by regular contributors needs testing PR hasn't yet been actively tested on testnet/mainnet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: get channels for node

5 participants