rpc

package
v0.0.0-...-f94ef0f Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 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 a maximum amount of gas which
	// can be spent during RPC call.
	MaxGasInvoke           uint64    `yaml:"MaxGasInvoke"`
	MaxIteratorResultItems int       `yaml:"MaxIteratorResultItems"`
	MaxFindResultItems     int       `yaml:"MaxFindResultItems"`
	MaxERC721Tokens        int       `yaml:"MaxERC721Tokens"`
	Port                   uint16    `yaml:"Port"`
	TLSConfig              TLSConfig `yaml:"TLSConfig"`
	Wallet                 wallet.Wallet
}

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
nns

Jump to

Keyboard shortcuts

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