mblockchain_interface

package
v0.0.0-...-4adfca9 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockchainRPC

type BlockchainRPC struct {
	// contains filtered or unexported fields
}

func (*BlockchainRPC) GetEdgePeerUpdates

func (bcRPC *BlockchainRPC) GetEdgePeerUpdates() chan mblockchain_vars.EdgePeerUpdate

func (*BlockchainRPC) GetPeerUpdates

func (bcRPC *BlockchainRPC) GetPeerUpdates() chan mblockchain_vars.PeerUpdate

func (*BlockchainRPC) Init

func (bcRPC *BlockchainRPC) Init()

func (*BlockchainRPC) UpdateEdgePeers

func (bcRPC *BlockchainRPC) UpdateEdgePeers(r *http.Request, args *UpdateEdgePeersArgs, reply *UpdateEdgePeersReply) error

TODO: STUB Handler for incoming rpc requests of type rpc.UPDATE_EDGE_PEERS ( "rpcUpdateEdgePeers" ) Pushes specific EdgePeerUpdates to the edgePeerUpdates channel after parsing the rpc request

func (*BlockchainRPC) UpdatePeers

func (bcRPC *BlockchainRPC) UpdatePeers(r *http.Request, args *UpdatePeersArgs, reply *UpdatePeersReply) error

type UpdateEdgePeersArgs

type UpdateEdgePeersArgs struct{}

type UpdateEdgePeersReply

type UpdateEdgePeersReply struct{}

type UpdatePeersArgs

type UpdatePeersArgs struct {
	PeersList string
	DHCP      string
	Active    bool
	ErrorCode bool
}

type UpdatePeersReply

type UpdatePeersReply struct {
}

Jump to

Keyboard shortcuts

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