mirror of
https://github.com/LBRYFoundation/reflector.go.git
synced 2025-08-23 17:27:25 +00:00
bind all ports by default
This commit is contained in:
parent
faa96e6a62
commit
3419e396d1
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ type Config struct {
|
||||||
// NewStandardConfig returns a Config pointer with default values.
|
// NewStandardConfig returns a Config pointer with default values.
|
||||||
func NewStandardConfig() *Config {
|
func NewStandardConfig() *Config {
|
||||||
return &Config{
|
return &Config{
|
||||||
Address: "127.0.0.1:4444",
|
Address: "0.0.0.0:4444",
|
||||||
SeedNodes: []string{
|
SeedNodes: []string{
|
||||||
"lbrynet1.lbry.io:4444",
|
"lbrynet1.lbry.io:4444",
|
||||||
"lbrynet2.lbry.io:4444",
|
"lbrynet2.lbry.io:4444",
|
||||||
|
@ -71,7 +71,7 @@ func NewStandardConfig() *Config {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// UDPConn allows using a mocked connection for testing sending/receiving data
|
// UDPConn allows using a mocked connection to test sending/receiving data
|
||||||
type UDPConn interface {
|
type UDPConn interface {
|
||||||
ReadFromUDP([]byte) (int, *net.UDPAddr, error)
|
ReadFromUDP([]byte) (int, *net.UDPAddr, error)
|
||||||
WriteToUDP([]byte, *net.UDPAddr) (int, error)
|
WriteToUDP([]byte, *net.UDPAddr) (int, error)
|
||||||
|
|
Loading…
Add table
Reference in a new issue