![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
#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>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} |