Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc: getaddednodeinfo missing nodes which are not yet connected #800

Open
tuxcanfly opened this issue Oct 22, 2016 · 1 comment
Open

rpc: getaddednodeinfo missing nodes which are not yet connected #800

tuxcanfly opened this issue Oct 22, 2016 · 1 comment
Labels
Milestone

Comments

@tuxcanfly
Copy link
Contributor

Right now permanent nodes added via node rpc call might be missing from getaddednodeinfo if they are not yet connected. They are retried in the background but since they don't have an id yet, they can't be disconnected.

We can use connmgr to query permanent nodes and return some id using which it should be possible to disconnect such nodes.

@davecgh
Copy link
Member

davecgh commented Oct 22, 2016

I'd like to add that this applies to --connect and --addpeer persistent peers added at the config file and/or command line params as well as those dynamically added via RPC later with node or addnode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants