Dmitry eeca435064 Add rendezvous implementation for discovery interface
Update vendor

Integrate rendezvous into status node

Add a test with failover using rendezvous

Use multiple servers in client

Use discovery V5 by default and test that node can be started with rendezvous discovet

Fix linter

Update rendezvous client to one with instrumented stream

Address feedback

Fix test with updated topic limits

Apply several suggestions

Change log to debug for request errors because we continue execution

Remove web3js after rebase

Update rendezvous package
2018-07-25 15:10:57 +03:00

31 lines
692 B
Go

// +build darwin dragonfly freebsd netbsd openbsd
package sockaddrnet
import (
"golang.org/x/sys/unix"
)
const (
AF_INET = unix.AF_INET
AF_INET6 = unix.AF_INET6
AF_UNIX = unix.AF_UNIX
AF_UNSPEC = unix.AF_UNSPEC
IPPROTO_IP = unix.IPPROTO_IP
IPPROTO_IPV4 = unix.IPPROTO_IPV4
IPPROTO_IPV6 = unix.IPPROTO_IPV6
IPPROTO_TCP = unix.IPPROTO_TCP
IPPROTO_UDP = unix.IPPROTO_UDP
SOCK_DGRAM = unix.SOCK_DGRAM
SOCK_STREAM = unix.SOCK_STREAM
SOCK_SEQPACKET = unix.SOCK_SEQPACKET
)
type Sockaddr = unix.Sockaddr
type SockaddrInet4 = unix.SockaddrInet4
type SockaddrInet6 = unix.SockaddrInet6
type SockaddrUnix = unix.SockaddrUnix
type RawSockaddrAny = unix.RawSockaddrAny