Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Node nodeConfig `yaml:"node"`
NPP npp.Config `yaml:"npp"`
Log logging.Config `yaml:"log"`
Blockchain *blockchain.Config `yaml:"blockchain"`
Eth accounts.EthConfig `yaml:"ethereum" required:"false"`
DWH dwh.YAMLConfig `yaml:"dwh"`
MetricsListenAddr string `yaml:"metrics_listen_addr" default:"127.0.0.1:14003"`
Benchmarks benchmarks.Config `yaml:"benchmarks"`
Matcher *matcher.YAMLConfig `yaml:"matcher"`
}
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node is LocalNode instance
func New ¶
New creates new Local Node instance also method starts internal gRPC client connections to the external services like Market and Worker
func (*Node) InterceptStreamRequest ¶
func (n *Node) InterceptStreamRequest(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
Click to show internal directories.
Click to hide internal directories.