#include <clientversion.h>
#include <streams.h>
#include <univalue.h>
#include <cstddef>
#include <mp/proxy-types.h>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
| ipc |
|
| ipc::capnp |
|
| mp |
| Functions to serialize / deserialize common bitcoin types.
|
|
|
template<typename LocalType , typename Value , typename Output > |
void | mp::CustomBuildField (TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output, std::enable_if_t< ipc::capnp::Serializable< LocalType >::value &&std::is_same_v< LocalType, std::remove_cv_t< std::remove_reference_t< LocalType >>>> *enable=nullptr) |
| Overload multiprocess library's CustomBuildField hook to allow any serializable object to be stored in a capnproto Data field or passed to a canproto interface. More...
|
|
template<typename LocalType , typename Input , typename ReadDest > |
decltype(auto) | mp::CustomReadField (TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest, std::enable_if_t< ipc::capnp::Unserializable< LocalType >::value > *enable=nullptr) |
| Overload multiprocess library's CustomReadField hook to allow any object with an Unserialize method to be read from a capnproto Data field or returned from canproto interface. More...
|
|
template<typename Value , typename Output > |
void | mp::CustomBuildField (TypeList< UniValue >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output) |
|
template<typename Input , typename ReadDest > |
decltype(auto) | mp::CustomReadField (TypeList< UniValue >, Priority< 1 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest) |
|