a

package
Version: v0.0.0-...-b28c7e4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitNode

type BitNode struct {
	IP   string `json:"ip"`
	Port int64  `json:"port"`
}

BitNodeSrc is a node's address

func RPCSRC

func RPCSRC(c string) (b *BitNode)

func (*BitNode) GetAddNodeInfo

func (rpc *BitNode) GetAddNodeInfo(ip string) interface{}

func (*BitNode) GetBlock

func (rpc *BitNode) GetBlock(blockhash string) map[string]interface{}

func (*BitNode) GetBlockByHeight

func (rpc *BitNode) GetBlockByHeight(blockheight int) (block map[string]interface{})

func (*BitNode) GetBlockCount

func (rpc *BitNode) GetBlockCount() (b int)

func (*BitNode) GetBlockShort

func (rpc *BitNode) GetBlockShort(blockhash string) map[string]interface{}

func (*BitNode) GetBlockShortByHeight

func (rpc *BitNode) GetBlockShortByHeight(blockheight int) (block map[string]interface{})

func (*BitNode) GetBlockTxAddr

func (rpc *BitNode) GetBlockTxAddr(blockheight int) interface{}

func (*BitNode) GetBlocks

func (rpc *BitNode) GetBlocks(per, page int) (blocks []map[string]interface{})

func (*BitNode) GetInfo

func (rpc *BitNode) GetInfo() interface{}

func (*BitNode) GetMiningInfo

func (rpc *BitNode) GetMiningInfo() interface{}

func (*BitNode) GetNetworkInfo

func (rpc *BitNode) GetNetworkInfo() interface{}

func (*BitNode) GetPeerInfo

func (rpc *BitNode) GetPeerInfo() interface{}

func (*BitNode) GetRawMemPool

func (rpc *BitNode) GetRawMemPool() interface{}

func (*BitNode) GetTx

func (rpc *BitNode) GetTx(txid string) map[string]interface{}

type BitNodes

type BitNodes []BitNode

BitNodes is array of bitnodes addresses

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL