node

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: AGPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeNode

func MakeNode(rpcClient core.RpcClient) core.Node

Types

type GanacheClient

type GanacheClient struct {
	PropertiesReader
}

func (GanacheClient) NodeClientName added in v0.1.0

func (client GanacheClient) NodeClientName() string

type GethClient

type GethClient struct {
	PropertiesReader
}

type IPropertiesReader

type IPropertiesReader interface {
	NodeClientName() string
	NetworkId() float64
	GenesisBlock() string
}

type InfuraClient

type InfuraClient struct {
	PropertiesReader
}

func (InfuraClient) NodeClientName added in v0.1.0

func (client InfuraClient) NodeClientName() string

type ParityClient

type ParityClient struct {
	PropertiesReader
}

func (ParityClient) NodeClientName added in v0.1.0

func (client ParityClient) NodeClientName() string

type PropertiesReader

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

func (PropertiesReader) GenesisBlock

func (reader PropertiesReader) GenesisBlock() string

func (PropertiesReader) NetworkId

func (reader PropertiesReader) NetworkId() float64

func (PropertiesReader) NodeClientName added in v0.1.0

func (reader PropertiesReader) NodeClientName() string

Jump to

Keyboard shortcuts

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