jsonrpc

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Web3Namespace = "web3"
	EthNamespace  = "eth"
	NetNamespace  = "net"
)

RPC namespaces and API version

Variables

This section is empty.

Functions

func GetAPIs

func GetAPIs(config *repo.Config, api api.CoreAPI, logger logrus.FieldLogger) ([]rpc.API, error)

GetAPIs returns the list of all APIs from the Ethereum namespaces

Types

type ChainBrokerService

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

func NewChainBrokerService

func NewChainBrokerService(coreAPI api.CoreAPI, config *repo.Config) (*ChainBrokerService, error)

func (*ChainBrokerService) ReConfig added in v1.10.1

func (cbs *ChainBrokerService) ReConfig(config *repo.Config) error

func (*ChainBrokerService) Start

func (cbs *ChainBrokerService) Start() error

func (*ChainBrokerService) Stop

func (cbs *ChainBrokerService) Stop() error

Directories

Path Synopsis
namespaces
eth
eth/filters
Package filters implements an ethereum filtering system for block, transactions and log events.
Package filters implements an ethereum filtering system for block, transactions and log events.
net

Jump to

Keyboard shortcuts

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