Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultHTTPort = 8080
View Source
const DefaultIP = "127.0.0.1"
View Source
const DefaultMiner = ""
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddPeerRes ¶
type BalancesRes ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) IsKnownPeer ¶
func (*Node) LatestBlockHash ¶
func (*Node) RemovePeer ¶
type PeerNode ¶
type PeerNode struct { IP string `json:"ip"` Port uint64 `json:"port"` IsBootstrap bool `json:"is_bootstrap"` Account database.Account `json:"account"` // contains filtered or unexported fields }
func NewPeerNode ¶
func (PeerNode) TcpAddress ¶
type PendingBlock ¶
type PendingBlock struct {
// contains filtered or unexported fields
}
func NewPendingBlock ¶
Click to show internal directories.
Click to hide internal directories.