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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.