-
Notifications
You must be signed in to change notification settings - Fork 793
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: recognize I2P from ParseNetwork() so that -onlynet=i2p works, do…
… not skip I2P in GetNetworkNames() Summary: > net: recognize I2P from ParseNetwork() so that -onlynet=i2p works bitcoin/bitcoin@0181e24 > net: Do not skip the I2P network from GetNetworkNames() > > So that help texts include "i2p" in: > * `./bitcoind -help` (in `-onlynet` description) > * `getpeerinfo` RPC > * `getnetworkinfo` RPC > > Co-authored-by: Jon Atack <jon@atack.com> bitcoin/bitcoin@a701fcf This concludes backport of [[bitcoin/bitcoin#20685 | core#20685]] [19,20/20] Depends on D11029 and D11036 Test Plan: `ninja all check-all` `src/bitcoind -regtest -i2psam=127.0.0.1:7656 -onlynet=i2p -debug=i2p` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D11037
- Loading branch information
Showing
3 changed files
with
10 additions
and
5 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
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
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