geth

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GethClient

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

func NewGethClient

func NewGethClient(rpcUrl string) *GethClient

func (*GethClient) UnlockAccount

func (g *GethClient) UnlockAccount(address string, password string) error

type GethProvider

type GethProvider struct {
	Log     log.Logger
	Verbose bool
	Stack   *types.Stack
}

func (*GethProvider) DeploySmartContracts

func (p *GethProvider) DeploySmartContracts() error

func (*GethProvider) FirstTimeSetup

func (p *GethProvider) FirstTimeSetup() error

func (*GethProvider) GetDockerServiceDefinitions

func (p *GethProvider) GetDockerServiceDefinitions() []*docker.ServiceDefinition

func (*GethProvider) GetFireflyConfig

func (p *GethProvider) GetFireflyConfig(m *types.Member) *core.BlockchainConfig

func (*GethProvider) PostStart

func (p *GethProvider) PostStart() error

func (*GethProvider) PreStart

func (p *GethProvider) PreStart() error

func (*GethProvider) WriteConfig

func (p *GethProvider) WriteConfig() error

type RpcRequest

type RpcRequest struct {
	JsonRPC string   `json:"jsonrpc"`
	ID      int      `json:"id"`
	Method  string   `json:"method"`
	Params  []string `json:"params"`
}

Jump to

Keyboard shortcuts

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