mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-05 03:06:16 +00:00
network: add ability to specify port for P2P version exchange
This commit is contained in:
parent
5924123927
commit
09bb162de0
3 changed files with 13 additions and 2 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
// ApplicationConfiguration config specific to the node.
|
||||
type ApplicationConfiguration struct {
|
||||
Address string `yaml:"Address"`
|
||||
AnnouncedNodePort uint16 `yaml:"AnnouncedPort"`
|
||||
AttemptConnPeers int `yaml:"AttemptConnPeers"`
|
||||
DBConfiguration storage.DBConfiguration `yaml:"DBConfiguration"`
|
||||
DialTimeout time.Duration `yaml:"DialTimeout"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue