integrated_node

package
v0.0.0-...-a44c12d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RPCServer *derodrpc.RPCServer
View Source
var Running bool

Functions

func Start

func Start() error

func Stop

func Stop()

Types

type NodeStatus

type NodeStatus struct {
	Height          int64
	BestHeight      int64
	StableHeight    int64
	MemCount        int
	RegCount        int
	PeerInCount     uint64
	PeerOutCount    uint64
	NetworkHashRate uint64

	TimeOffset    time.Duration
	TimeOffsetNTP time.Duration
	TimeOffsetP2P time.Duration
}

func GetStatus

func GetStatus() (n NodeStatus)

Jump to

Keyboard shortcuts

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