bootnodes listen on UDP

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-04-01 11:37:42 +02:00 committed by Jakub
parent bf209cff85
commit 3c6d10b597
5 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ enode: keys/nodeaddr
info:
@echo "$(GREEN)Your bootnode is listening on:$(RESET) $(BOLD)$(PUBLIC_IP):$(LISTEN_PORT)$(RESET)"
@echo "$(YELLOW)Make sure that address and port are available from the internet!$(RESET)"
@echo "$(YELLOW)Make sure that address and UDP port are available from the internet!$(RESET)"
@echo "$(GREEN)Your enode address is:$(RESET)"

View File

@ -26,7 +26,7 @@ To simply start a container run `make`, other commands include:
All settings are passed through environment variables:
* `PUBLIC_IP` - Your IP visible from the internet and advertised by the Bootnode.
* `LISTEN_PORT` - Bootnode port, by default it's `30303` but you might want to use `443`.
* `LISTEN_PORT` - Bootnode UDP port, by default it's `30303` but you might want to use `443`.
* `RPC_PORT` - Control port making it possible to use the [JSON-RPC API](https://github.com/ethereum/wiki/wiki/JSON-RPC).
* `API_MODULES` - API modules to be made available via the `RPC_PORT`.
* `CONTAINER_NAME` - Name of the container that will be created.

View File

@ -10,6 +10,6 @@ services:
-nodekey=/keys/nodekey
-addr=0.0.0.0:${LISTEN_PORT}
ports:
- '0.0.0.0:${LISTEN_PORT}:${LISTEN_PORT}'
- '0.0.0.0:${LISTEN_PORT}:${LISTEN_PORT}/udp'
volumes:
- '${PWD}/keys:/keys'

View File

@ -52,7 +52,7 @@ enode:
info:
@echo "$(GREEN)Your mailserver is listening on:$(RESET) $(BOLD)$(PUBLIC_IP):$(LISTEN_PORT)$(RESET)"
@echo "$(YELLOW)Make sure that address and port are available from the internet!$(RESET)"
@echo "$(YELLOW)Make sure that address and TCP port are available from the internet!$(RESET)"
@echo "$(GREEN)Your enode address is:$(RESET)"
show:

View File

@ -25,7 +25,7 @@ To simply start a container run `make`, other commands include:
All settings are passed through environment variables:
* `PUBLIC_IP` - Your IP visible from the internet and advertised by the Mailserver.
* `LISTEN_PORT` - Mailserver port, by default it's `30303` but you might want to use `443`.
* `LISTEN_PORT` - Mailserver TCP port, by default it's `30303` but you might want to use `443`.
* `RPC_PORT` - Control port making it possible to use the [JSON-RPC API](https://github.com/ethereum/wiki/wiki/JSON-RPC).
* `API_MODULES` - API modules to be made available via the `RPC_PORT`.
* `DATA_PATH` - Location of Mailserver storage and keys. (Default: `/var/tmp/status-go-mail`)