Bitcoin Core 31.99.0
P2P Digital Currency
Namespaces | Typedefs | Functions | Variables
util.h File Reference
#include <tinyformat.h>
#include <util/strencodings.h>
#include <array>
#include <cstdint>
#include <functional>
#include <kj/debug.h>
#include <mp/proxy-io.h>
#include <mp/util.h>
#include <mp/version.h>
#include <sys/socket.h>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mp
 Functions to serialize / deserialize common bitcoin types.
 

Typedefs

using mp::ProcessId = int
 
using mp::SocketId = int
 
using mp::Stream = SocketId
 

Functions

Stream mp::MakeStream (EventLoop &, SocketId socket)
 
std::array< SocketId, 2 > mp::SocketPair ()
 
std::tuple< ProcessId, SocketId > mp::SpawnProcess (const std::function< std::vector< std::string >(std::string)> &spawn_argv)
 
SocketId mp::StartSpawned (const std::string &connect_info)
 
ThreadContext & mp::CurrentThread ()
 

Variables

constexpr SocketId mp::SocketError {-1}