forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/bootnode, p2p: use an alternate port mapped to NAT * temp * rede * remove meaningless field * temp comment * set refresh time to param * server: use channel enr.Entry * server: rename `changedport` to `changeport` * server: apply new nat-refresh `ethereum discovery` * p2p/nat: add some comment * p2p/nat: use `DefaultMapTimeout` * p2p: fixed * p2p/server: impr * p2p/server: syntax change * cmd/bootnode: add comments * add p2p.Server changeport * all: fix comments * p2p/server: syntax changes * cmd/bootnode: do not change UDPAddr Port * p2p: remove incorrect `for` context * p2p: add what needs to be addressed * p2p/nat: use AddPortMapping if supported * asynchronous port set * remove unused variables * change return format in `changePort` * cmd/bootnode: consistent log * p2p/server: rename `refreshLogger` to `newLogger` * cmd/bootnode: fix incorrect if-else * fix * change log orders * rename `natRefresh` to `natMapLoop` * p2p: remove `changeport` in Server main loop * server: remove duplicate code * typo * typo * cmd/bootnode: consistent log message * p2p: fix comments test code about port change on localnode cmd/bootnode: add log improve test logic , add some comments p2p/nat: add comments about not supported p2p: remove unnecessary conversion in test
- Loading branch information
Showing
6 changed files
with
298 additions
and
34 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
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
Oops, something went wrong.