rpc

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address              string `yaml:"Address"`
	Enabled              bool   `yaml:"Enabled"`
	EnableCORSWorkaround bool   `yaml:"EnableCORSWorkaround"`
	// MaxGasInvoke is the maximum amount of GAS which
	// can be spent during an RPC call.
	MaxGasInvoke           fixedn.Fixed8 `yaml:"MaxGasInvoke"`
	MaxIteratorResultItems int           `yaml:"MaxIteratorResultItems"`
	MaxFindResultItems     int           `yaml:"MaxFindResultItems"`
	MaxNEP11Tokens         int           `yaml:"MaxNEP11Tokens"`
	Port                   uint16        `yaml:"Port"`
	StartWhenSynchronized  bool          `yaml:"StartWhenSynchronized"`
	TLSConfig              TLSConfig     `yaml:"TLSConfig"`
}

Config is an RPC service configuration information.

type TLSConfig

type TLSConfig struct {
	Address  string `yaml:"Address"`
	CertFile string `yaml:"CertFile"`
	Enabled  bool   `yaml:"Enabled"`
	Port     uint16 `yaml:"Port"`
	KeyFile  string `yaml:"KeyFile"`
}

TLSConfig describes SSL/TLS configuration.

Directories

Path Synopsis
Package client implements NEO-specific JSON-RPC 2.0 client.
Package client implements NEO-specific JSON-RPC 2.0 client.
nns

Jump to

Keyboard shortcuts

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