-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin/bitcoin#30930: netinfo: add peer services column and ou…
…tbound-only option 87532fe netinfo: allow setting an outbound-only peer list (Jon Atack) 681ebcc netinfo: rename and hoist max level constant to use in top-level help (Jon Atack) e7d307c netinfo: clarify relaytxes and addr_relay_enabled help docs (Jon Atack) eef2a9d netinfo: add peer services column (Jon Atack) Pull request description: Been using this since May 2023. - add a peer services column (considered displaying the p2p_v2 flag as "p" or "2"; proposing "2" here for continuity with the "v" column, but "p" is fine for me as well) - clarify in the help that "relaytxes" and "addr_relay_enabled" are from getpeerinfo - hoist (and rename) the max level constant to use in top-level help, to avoid overlooking to update the top-level help if the value of the constant changes (as caught by Larry Ruane in review below) - add an optional "outonly" (or "o") argument for an outbound-only peer list, as suggested by Vasil Dimov in his review below. Several people have requested this, to keep the output within screen limits when running netinfo as a live dashboard (i.e. with `watch`) on a node with many peers. While doing this, also permit passing "h" for the help in addition to "help". ACKs for top commit: achow101: ACK 87532fe rkrux: tACK 87532fe tdb3: cr re ACK 87532fe brunoerg: crACK 87532fe Tree-SHA512: 35b1b0de28dfecaad58bf5af194757a5e0f563553cf69ea4d76f2e1963f8d662717254df2549114c7bba4a041bf5282d5cb3fba8d436b2807f2a00560787d64c
- Loading branch information
Showing
1 changed file
with
61 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters