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

feat: purge peer connections and information #194

Merged
merged 5 commits into from
Nov 4, 2024
Merged

feat: purge peer connections and information #194

merged 5 commits into from
Nov 4, 2024

Commits on Oct 31, 2024

  1. feat: purge peer connections and information

    Connections to a specific peer, or to all peers, can be closed and the peer information removed from the peer store. This can be useful to help determine if the presence/absence of a connection to a peer is affecting behavior. Be aware that purging a connection is inherently racey as it is possible for the peer to reestablish a connection at any time following a purge.
    
    - `http://$RAINBOW_CTL_LISTEN_ADDRESS/mgr/purge?peer=<peer_id>` purges connection and info for peer identifid by peer_id
    - `http://$RAINBOW_CTL_LISTEN_ADDRESS/mgr/purge?peer=all` purges connections and info for all peers
    - `http://$RAINBOW_CTL_LISTEN_ADDRESS/mgr/peers` returns a list of currently connected peers
    
    Closes #193
    gammazero committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    3642b8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb39fc0 View commit details
    Browse the repository at this point in the history
  3. update CHANGELOG.md

    gammazero committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    cbb7701 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Update README.md

    Co-authored-by: Marcin Rataj <lidel@lidel.org>
    gammazero and lidel authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    d8c1757 View commit details
    Browse the repository at this point in the history
  2. Output peers list in json

    gammazero committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    9975a21 View commit details
    Browse the repository at this point in the history