mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Added the 'enable-upnp' flag to the list of command line args (#2860)
* Added the 'enable-upnp' flag to the list of supported command line arguments. If the user specifies this feature flag (adds --enable-upnp as an argument) - the Beacon-chain and Validator services, when started, will initialize libp2p with the UPNP options. * Added the new arg to usage.go due to test failure * Update shared/p2p/service.go Changed the logging according to Preston's recommendation. Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com> * Code review changes: 1. File formatting. 2. Command line arg more detailed description.
This commit is contained in:
@@ -93,6 +93,7 @@ var appHelpFlagGroups = []flagGroup{
|
||||
cmd.P2PPrivKey,
|
||||
cmd.P2PWhitelist,
|
||||
cmd.StaticPeers,
|
||||
cmd.EnableUPnPFlag,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user