Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeService ¶
type NodeService struct {
// contains filtered or unexported fields
}
NodeService is a service for node related functions
func NewNodeService ¶
func NewNodeService(tzclient tzc.TezosClient) *NodeService
NewNodeService returns a new NodeService
func (*NodeService) Bootstrapped ¶
func (n *NodeService) Bootstrapped() (Bootstrap, error)
Bootstrapped gets the current node bootstrap
func (*NodeService) CommitHash ¶
func (n *NodeService) CommitHash() (string, error)
CommitHash gets the current commit the node is running
Click to show internal directories.
Click to hide internal directories.