Documentation ¶ Index ¶ type Service type Services func New(flags ...Service) Services func (s *Services) Append(flag Service) func (s Services) IsFullNode() bool func (s Services) IsPrunedNode() bool func (s Services) String() string 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 Source Files ¶ View all Source files services.go Click to show internal directories. Click to hide internal directories.