Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceNode ¶
type ServiceNode struct {
// contains filtered or unexported fields
}
func NewServiceNode ¶
func NewServiceNode(pubkey *btcec.PublicKey, config string) (*ServiceNode, error)
func (*ServiceNode) EXRCompatible ¶
func (s *ServiceNode) EXRCompatible() bool
func (*ServiceNode) Endpoint ¶
func (s *ServiceNode) Endpoint() string
func (*ServiceNode) EndpointPath ¶
func (s *ServiceNode) EndpointPath(path string) string
func (*ServiceNode) HasService ¶
func (s *ServiceNode) HasService(service string) bool
func (*ServiceNode) Pubkey ¶
func (s *ServiceNode) Pubkey() *btcec.PublicKey
func (*ServiceNode) Services ¶
func (s *ServiceNode) Services() map[string]bool
type ServiceNodeConfig ¶
type ServiceNodeConfig struct { XRouterVersion int32 `json:"xrouterversion,omitempty"` XBridgeVersion int32 `json:"xbridgeversion,omitempty"` XRouter ServiceNodeConfigXRouter `json:"xrouter,omitempty"` XBridge []string `json:"xbridge,omitempty"` }
Click to show internal directories.
Click to hide internal directories.