github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/network/capability/type.go (about)

     1  package capability
     2  
     3  // Type represents node capability type.
     4  type Type byte
     5  
     6  const (
     7  	// TCPServer represents TCP node capability type.
     8  	TCPServer Type = 0x01
     9  	// WSServer represents WebSocket node capability type.
    10  	WSServer Type = 0x02
    11  	// FullNode represents full node capability type.
    12  	FullNode Type = 0x10
    13  )