grpcserver

package
v3.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 24 Imported by: 1

Documentation

Index

Constants

View Source
const RPCMaxMessageSize = 1024 * 1024 * 1024 // 1 GB

RPCMaxMessageSize is the max message size for the RPC server to send and receive

Variables

This section is empty.

Functions

func NewP2PServer

func NewP2PServer(listeningAddresses []string, bc *blockchain.Blockchain) (server.P2PServer, error)

NewP2PServer creates a new P2PServer

func NewRPCServer

func NewRPCServer(listeningAddresses []string, rpcMaxInboundConnections int, bc *blockchain.Blockchain) (server.Server, error)

NewRPCServer creates a new RPCServer

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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