service

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service int
const (
	None Service = 0x00

	// FullNode indicates that the node has a full blockchain history.
	FullNode Service = 0x01

	// PrunedNode indicates that the node has a pruned blockchain history.
	PrunedNode Service = 0x02
)

type Services

type Services int

func New

func New(flags ...Service) Services

func (*Services) Append

func (s *Services) Append(flag Service)

func (Services) IsFullNode added in v1.4.0

func (s Services) IsFullNode() bool

func (Services) IsPrunedNode added in v1.4.0

func (s Services) IsPrunedNode() bool

func (Services) String

func (s Services) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL