rpchandlers

package
v0.10.1-rc1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: ISC Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAddPeer

func HandleAddPeer(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleAddPeer handles the respectively named RPC command

func HandleBan

func HandleBan(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleBan handles the respectively named RPC command

func HandleGetBlock

func HandleGetBlock(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetBlock handles the respectively named RPC command

func HandleGetBlockCount

func HandleGetBlockCount(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetBlockCount handles the respectively named RPC command

func HandleGetBlockDAGInfo

func HandleGetBlockDAGInfo(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetBlockDAGInfo handles the respectively named RPC command

func HandleGetBlockTemplate

func HandleGetBlockTemplate(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetBlockTemplate handles the respectively named RPC command

func HandleGetBlocks

func HandleGetBlocks(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetBlocks handles the respectively named RPC command

func HandleGetConnectedPeerInfo

func HandleGetConnectedPeerInfo(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetConnectedPeerInfo handles the respectively named RPC command

func HandleGetCurrentNetwork

func HandleGetCurrentNetwork(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetCurrentNetwork handles the respectively named RPC command

func HandleGetHeaders

func HandleGetHeaders(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetHeaders handles the respectively named RPC command

func HandleGetInfo

func HandleGetInfo(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetInfo handles the respectively named RPC command

func HandleGetMempoolEntries

func HandleGetMempoolEntries(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetMempoolEntries handles the respectively named RPC command

func HandleGetMempoolEntry

func HandleGetMempoolEntry(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetMempoolEntry handles the respectively named RPC command

func HandleGetPeerAddresses

func HandleGetPeerAddresses(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetPeerAddresses handles the respectively named RPC command

func HandleGetSelectedTipHash

func HandleGetSelectedTipHash(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetSelectedTipHash handles the respectively named RPC command

func HandleGetSubnetwork

func HandleGetSubnetwork(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetSubnetwork handles the respectively named RPC command

func HandleGetUTXOsByAddresses

func HandleGetUTXOsByAddresses(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetUTXOsByAddresses handles the respectively named RPC command

func HandleGetVirtualSelectedParentBlueScore

func HandleGetVirtualSelectedParentBlueScore(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleGetVirtualSelectedParentBlueScore handles the respectively named RPC command

func HandleGetVirtualSelectedParentChainFromBlock

func HandleGetVirtualSelectedParentChainFromBlock(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleGetVirtualSelectedParentChainFromBlock handles the respectively named RPC command

func HandleNotifyBlockAdded

func HandleNotifyBlockAdded(context *rpccontext.Context, router *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleNotifyBlockAdded handles the respectively named RPC command

func HandleNotifyFinalityConflicts

func HandleNotifyFinalityConflicts(context *rpccontext.Context, router *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleNotifyFinalityConflicts handles the respectively named RPC command

func HandleNotifyPruningPointUTXOSetOverrideRequest added in v0.8.10

func HandleNotifyPruningPointUTXOSetOverrideRequest(context *rpccontext.Context, router *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleNotifyPruningPointUTXOSetOverrideRequest handles the respectively named RPC command

func HandleNotifyUTXOsChanged

func HandleNotifyUTXOsChanged(context *rpccontext.Context, router *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleNotifyUTXOsChanged handles the respectively named RPC command

func HandleNotifyVirtualSelectedParentBlueScoreChanged

func HandleNotifyVirtualSelectedParentBlueScoreChanged(context *rpccontext.Context, router *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleNotifyVirtualSelectedParentBlueScoreChanged handles the respectively named RPC command

func HandleNotifyVirtualSelectedParentChainChanged

func HandleNotifyVirtualSelectedParentChainChanged(context *rpccontext.Context, router *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleNotifyVirtualSelectedParentChainChanged handles the respectively named RPC command

func HandleResolveFinalityConflict

func HandleResolveFinalityConflict(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleResolveFinalityConflict handles the respectively named RPC command

func HandleShutDown

func HandleShutDown(context *rpccontext.Context, _ *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleShutDown handles the respectively named RPC command

func HandleStopNotifyingPruningPointUTXOSetOverrideRequest added in v0.8.10

func HandleStopNotifyingPruningPointUTXOSetOverrideRequest(context *rpccontext.Context, router *router.Router, _ appmessage.Message) (appmessage.Message, error)

HandleStopNotifyingPruningPointUTXOSetOverrideRequest handles the respectively named RPC command

func HandleStopNotifyingUTXOsChanged added in v0.8.9

func HandleStopNotifyingUTXOsChanged(context *rpccontext.Context, router *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleStopNotifyingUTXOsChanged handles the respectively named RPC command

func HandleSubmitBlock

func HandleSubmitBlock(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleSubmitBlock handles the respectively named RPC command

func HandleSubmitTransaction

func HandleSubmitTransaction(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleSubmitTransaction handles the respectively named RPC command

func HandleUnban

func HandleUnban(context *rpccontext.Context, _ *router.Router, request appmessage.Message) (appmessage.Message, error)

HandleUnban handles the respectively named RPC command

Types

This section is empty.

Jump to

Keyboard shortcuts

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