rpchandlers

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: ISC Imports: 24 Imported by: 0

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 HandleEstimateNetworkHashesPerSecond

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

HandleEstimateNetworkHashesPerSecond handles the respectively named RPC command

func HandleGetBalanceByAddress

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

HandleGetBalanceByAddress handles the respectively named RPC command

func HandleGetBalancesByAddresses

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

HandleGetBalancesByAddresses 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 HandleGetCoinSupply

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

HandleGetCoinSupply 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, request appmessage.Message) (appmessage.Message, error)

HandleGetMempoolEntries handles the respectively named RPC command

func HandleGetMempoolEntriesByAddresses

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

HandleGetMempoolEntriesByAddresses 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 HandleNotifyNewBlockTemplate

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

HandleNotifyNewBlockTemplate handles the respectively named RPC command

func HandleNotifyPruningPointUTXOSetOverrideRequest

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 HandleNotifyVirtualDaaScoreChanged

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

HandleNotifyVirtualDaaScoreChanged 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,
	request 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

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

HandleStopNotifyingPruningPointUTXOSetOverrideRequest handles the respectively named RPC command

func HandleStopNotifyingUTXOsChanged

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