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

Feature: health check for peers #105

Open
bitromortac opened this issue Dec 10, 2021 · 0 comments
Open

Feature: health check for peers #105

bitromortac opened this issue Dec 10, 2021 · 0 comments

Comments

@bitromortac
Copy link
Owner

bitromortac commented Dec 10, 2021

Introduce command peer-check [nodeids]:

  • if we are not connected, we should try to connect, the peer should reply in a reasonable time
  • make active part asynchronous
  • they should quickly respond to network pings (implement also onion pinging)
  • pings from the listpeers command should be taken into account
  • they should have a good uptime
  • they should send back funds on a minimal circular rebalance
  • error messages and flap counts need to be taken into account
  • try to trigger an error message and measure response time
  • incorporate number of routing failures from previous rebalancing attempts
  • relative badness
  • response time from rebalancing
  • peers in common with own peers
  • incorporate last updated from channel / node announcements
  • how many liquid channels does the peer have
  • how often could the peer route a payment relatively speeking
  • how many updates were done to the channel(s)
  • how many channels does the peer have in common with our peers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant