Bitcoin Core 32.99.0
P2P Digital Currency
Namespaces | Classes | Functions | Variables
ipc Namespace Reference

Namespaces

namespace  capnp
 

Classes

struct  Context
 Context struct used to give IPC protocol implementations or implementation hooks access to application state, in case they need to run extra code that isn't needed within a single process, like code copying global state from an existing process to a new process when it's initialized, or code dealing with shared objects that are created or destroyed remotely. More...
 
class  Exception
 Exception class thrown when a call to remote method fails due to an IPC error, like a socket getting disconnected. More...
 
struct  ListenAddress
 
class  Process
 IPC process interface for spawning bitcoin processes and serving requests in processes that have been spawned. More...
 
class  Protocol
 IPC protocol interface for calling IPC methods over sockets. More...
 

Functions

std::unique_ptr< Process > MakeProcess ()
 Constructor for Process interface. More...
 

Variables

constexpr size_t DEFAULT_MAX_CONNECTIONS {16}
 Default accepted client connection limit for each IPC listening socket. More...
 
constexpr size_t MAX_CONNECTIONS {256}
 Maximum accepted client connection limit for an IPC listening socket. More...
 

Function Documentation

◆ MakeProcess()

std::unique_ptr< Process > ipc::MakeProcess ( )

Constructor for Process interface.

Implementation will vary depending on the platform (unix or windows).

Definition at line 157 of file process.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_MAX_CONNECTIONS

constexpr size_t ipc::DEFAULT_MAX_CONNECTIONS {16}
inlineconstexpr

Default accepted client connection limit for each IPC listening socket.

Definition at line 22 of file types.h.

◆ MAX_CONNECTIONS

constexpr size_t ipc::MAX_CONNECTIONS {256}
inlineconstexpr

Maximum accepted client connection limit for an IPC listening socket.

This conservative bound leaves ample room for other file descriptor reservations.

Definition at line 27 of file types.h.