The following are the flags used with the Geth client:
- --nodiscover: This flag ensures that the node is not automatically discoverable if it happens to have the same genesis file and network ID.
- --maxpeers: This flag is used to specify the number of peers allowed to be connected to the private net. If it is set to 0, then no one will be able to connect, which might be desirable in a few scenarios, such as private testing.
- --rpc: This is used to enable the RPC interface in Geth.
- --rpcapi: This flag takes a list of APIs to be allowed as a parameter. For example, eth, web3 will enable the Eth and Web3 interface over RPC.
- --rpcport: This sets up the TCP RPC port; for example: 9999.
- --rpccorsdomain: This flag specifies ...